http://www.forum.nokia.com/Tools_Doc.../Nokia_Qt_SDK/
When trying to compile a simple QT Mobility example
i get errors like these:Code:#include <QMessage> #include <QMessageAccount> #include <QMessageService> #include <QMessageManager>
So basically all headers required are missing, what im wondering is that if i wanted to manually add them, what would be the correct way to not break my SDK?Code:In file included from mainwindow.h:6, from moc_mainwindow.cpp:10: ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1014-slim/usr/include/QMessage:1:22: error: qmessage.h: No such file or directory In file included from mainwindow.h:7, from moc_mainwindow.cpp:10: ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1014-slim/usr/include/QMessageAccount:1:29: error: qmessageaccount.h: No such file or directory In file included from mainwindow.h:8, from moc_mainwindow.cpp:10: ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1014-slim/usr/include/QMessageService:1:29: error: qmessageservice.h: No such file or directory In file included from mainwindow.h:9, from moc_mainwindow.cpp:10: ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1014-slim/usr/include/QMessageManager:1:29: error: qmessagemanager.h: No such file or directory In file included from eventmenu.h:13, from mainwindow.h:17, from moc_mainwindow.cpp:10: pushout.h:31: error: 'QMessageService' does not name a type pushout.h:32: error: 'QMessage' was not declared in this scope pushout.h:32: error: wrong number of template arguments (1, should be 2) ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1014-slim/usr/include/QtCore/qpair.h:54: error: provided for 'template<class T1, class T2> struct QPair' pushout.h:32: error: template argument 2 is invalid pushout.h:34: error: 'QMessageManager' does not name a type pushout.h:41: error: 'QMessageService' has not been declared pushout.h:41: error: expected ',' or '...' before 'newState' In file included from moc_mainwindow.cpp:10: mainwindow.h:41: error: 'QMessage' was not declared in this scope mainwindow.h:41: error: wrong number of template arguments (1, should be 2) ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1014-slim/usr/include/QtCore/qpair.h:54: error: provided for 'template<class T1, class T2> struct QPair' mainwindow.h:41: error: template argument 2 is invalid mainwindow.h:42: error: 'QMessageService' does not name a type mainwindow.h:44: error: 'QMessageManager' does not name a type mainwindow.h:54: error: 'QMessageService' has not been declared mainwindow.h:54: error: expected ',' or '...' before 'newState' mainwindow.h:55: error: expected ',' or '...' before '&' token mainwindow.h:55: error: ISO C++ forbids declaration of 'QMessageId' with no type mainwindow.h:56: error: expected ',' or '...' before '&' token mainwindow.h:56: error: ISO C++ forbids declaration of 'QMessageId' with no type moc_mainwindow.cpp: In member function 'virtual int MainWindow::qt_metacall(QMetaObject::Call, int, void**)': moc_mainwindow.cpp:91: error: expected type-specifier before 'QMessageService' moc_mainwindow.cpp:91: error: expected `>' before 'QMessageService' moc_mainwindow.cpp:91: error: expected `(' before 'QMessageService' moc_mainwindow.cpp:91: error: 'QMessageService' has not been declared moc_mainwindow.cpp:91: error: expected primary-expression before ')' token moc_mainwindow.cpp:92: error: ISO C++ forbids declaration of 'type name' with no type moc_mainwindow.cpp:92: error: expected `>' before 'QMessageId' moc_mainwindow.cpp:92: error: expected `(' before 'QMessageId' moc_mainwindow.cpp:92: error: expected primary-expression before ')' token moc_mainwindow.cpp:92: error: 'QMessageId' was not declared in this scope moc_mainwindow.cpp:92: error: ISO C++ forbids declaration of 'type name' with no type moc_mainwindow.cpp:92: error: expected `>' before 'QMessageManager' moc_mainwindow.cpp:92: error: expected `(' before 'QMessageManager' moc_mainwindow.cpp:92: error: 'QMessageManager' has not been declared moc_mainwindow.cpp:92: error: expected primary-expression before ')' token moc_mainwindow.cpp:92: error: expected `)' before ';' token moc_mainwindow.cpp:93: error: ISO C++ forbids declaration of 'type name' with no type moc_mainwindow.cpp:93: error: expected `>' before 'QMessageId' moc_mainwindow.cpp:93: error: expected `(' before 'QMessageId' moc_mainwindow.cpp:93: error: expected primary-expression before ')' token moc_mainwindow.cpp:93: error: ISO C++ forbids declaration of 'type name' with no type moc_mainwindow.cpp:93: error: expected `>' before 'QMessageManager' moc_mainwindow.cpp:93: error: expected `(' before 'QMessageManager' moc_mainwindow.cpp:93: error: 'QMessageManager' has not been declared moc_mainwindow.cpp:93: error: expected primary-expression before ')' token moc_mainwindow.cpp:93: error: expected `)' before ';' token make: Leaving directory `/c/qtmaemo/shaba/shaba' make: *** [moc_mainwindow.o] Error 1 Exited with code 2. Error while building project shaba (target: Maemo) When executing build step 'Make'




