Integrating Qt Creator and Meego Touch(former DirectUI)
-
wrote on 23 Jun 2010, 11:31 last edited by
I installed Lib Meego Touch and have all the includes in /usr/include/meegotouch, but Qt Creator won't recognize entries like #include <MApplication>, needing #include <meegotouch/MApplication>. If Qt Creator recognize all /usr/include/Qt* directories, I would assume it is reading all headers in /usr/include. Maybe someone would help me understand this here?
-
wrote on 23 Jun 2010, 14:12 last edited by
Creator does not read everything in /usr/include!
It does scan the build system (in the case of qmake that is the .pro files) to figure out which directories the compiler is actually looking for headers in.
My guess would be that your project does not properly reference the meegotouch headers. Does it find the necessary headers when building?
-
wrote on 28 Jun 2010, 12:55 last edited by
No, it doesn't. I try to add INCLUDEPATH = /usr/include/meegotouch to .pro file, but it won't fix it, just add other errors like:
main.cpp:: error: undefined reference to `MApplication::~MApplication()'
I don't have much clue how should I be adding this...
-
wrote on 2 Jul 2010, 08:18 last edited by
Do you have an entry in your pro file to tell it to link against the meegotouch lib?
"(http://doc.qt.nokia.com/4.6/qmake-project-files.html#declaring-other-libraries)":http://doc.qt.nokia.com/4.6/qmake-project-files.html#declaring-other-libraries
1/4