10

There is no option to start a C++ and QML based project in Ubuntu SDK. It only offers to create a QML project with no C++ codes.

If I try to add C++ classes to the QML project, I get this error:

enter image description here

Please provide guidance to initiate a C++ based Ubuntu Touch project in Ubuntu SDK.
Thank you!

6
  • Where is the file located? In the same folder or somewhere else?
    – Tachyons
    Dec 5, 2013 at 1:23
  • in the same folder, I forgot to say it Dec 6, 2013 at 14:46
  • You can use C++ for the logic and QML for the UI. It's really easy to export QObjects from C++ side to the QML side.
    – juzzlin
    Feb 17, 2014 at 17:34
  • 1
    Still looking for an answer to this problem?
    – Seth
    Nov 7, 2014 at 6:31
  • 1
    Personally I lost interest due to too many troubles (Ubuntu Touch delay releases, so no phones, SDK bugs, no emulator - back in time -, and other things), maybe I'll recheck when the Development Tools will be more stable. Nov 18, 2014 at 21:40

1 Answer 1

1

I too had the same problem. Its actually related to the permissions. Try to lauch utouch using the 'sudo'. Hope It would help if its the same as mine

1
  • Or do a sudo chown youruser:youruser /location/of/project. This is better because then you dont have to run the program as su which may corrupt your entire system should an error occur Apr 11, 2015 at 3:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .