07-25-2013 11:51 AM
Use, discuss, share!
10-01-2013 04:12 PM - edited 10-01-2013 04:13 PM
I notice your cpp source includes a QtCore lib, ie
How did you get this to compile? I have added QtCore as a library dependency but I still get this error:
Description Resource Path Location Type
fatal error: QtCore/qstring.h: No such file or directory DiscreteCamera line 45, external location: C:\devel\bbndk10.1\target_10_1_0_1020\qnx6\usr\inc
10-02-2013 02:38 PM
Did you use the Import capability to import the native project? There are a number of include directories that are set by the project. I'm guessing that is a good candidate for this problem.
I've attached a screenshot of the includes that I see in the ide after I've imported the existing project from GitHub.
10-02-2013 03:19 PM
I did import QtCore using the Add library in the IDE and that wasn't enough, however that screenshot really helped!
Somehow you were able to include both .../qt4 and .../qt4/QtCore. I couldn't get that first one to take using the IDE but editing the .cproject file manually worked so thanks!
10-02-2013 03:31 PM
Yeah, I think you have to include them separately from the library import wizard, in another part of the C++ Build settings. I believe that one of the native devs said they were going to improve that in a future IDE update.