Qt Creator and Harmattan Application template
Whenever I create a new project using the Harmattan Application template in Qt Creator I get "no such file or directory" warnings on #include. For example:
int main(int argc, char *argv)
QApplication app(argc, argv);
As you can see, this is the default main.ccp when using the template. But in my case both of the [B]#include[/B] have a green underline with the "no such file or directory" warning. When I run the app on my N950, it works fine, but the actual coding is annoying since auto-complete and stuff doesn't work properly.
I'm running the latest Qt Creator with latest updates. I've just uninstalled and reinstalled everything, but nothing changed. I've also tested this on two different computers (albeit both running Windows 7 64 bit) with the same results. But both of the computers have the "Auto-detect - Qt in PATH" as "not found".
Does anyone else have the same problem? And, more importantly, does anyone know have a solution to fix this issue?
Have you tried adding a Qt version other than Auto-detect? You should have a Harmattan Qt version in the manual section.
Use LINUX :) <- joke
[quote author="kkrzewniak" date="1312879592"]Have you tried adding a Qt version other than Auto-detect? You should have a Harmattan Qt version in the manual section.
Use LINUX :) <- joke [/quote]
I have these two for Harmattan:
@Harmattan Platform API (Qt SDK)
MeeGo 1.2 Harmattan API (Qt SDK)
These came in the default install. That is, I didn't add them myself.
As for the LINUX, I would use it, but I heard that it's full of viruses and stuff... :P
have a look at this "how to":http://developer.qt.nokia.com/wiki/How_to_use_the_Meego_1.2_Harmattan_emulator .
[quote author="Eddy" date="1312884867"]have a look at this "how to":http://developer.qt.nokia.com/wiki/How_to_use_the_Meego_1.2_Harmattan_emulator .
Well I'm doing pretty much that, except that I'm using the N950 hardware.