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:
- #include <QtGui/QApplication>
- #include <QtDeclarative>
- int main(int argc, char *argv[])
- {
- QDeclarativeView view;
- view.showFullScreen();
- return app.exec();
- }
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?
Cheers :)
4 replies
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
I have these two for Harmattan:
- c:\qtsdk\madde\targets\harmattan-platform-api\bin\qmake.exe
- c:\qtsdk\madde\targets\harmattan-nokia-meego-api\bin\qmake.exe
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 [developer.qt.nokia.com] .
have a look at this how to [developer.qt.nokia.com] .
Well I’m doing pretty much that, except that I’m using the N950 hardware.
You must log in to post a reply. Not a member yet? Register here!



