Integrating Qt Creator and Meego Touch(former DirectUI)
-
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?
-
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?
-
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...
-
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