Hi All,
I install the latest Maemo 5 SDK Karmic desktop image from http://tablets-dev.nokia.com/maemo-d...-downloads.php. After struggling with probleoms for open vmware tools installation and other scratchbox confiuration, I can run Qt hello world sample in ESBOX.
But the issues arise when I dig into programming through Qt and Maemo API.
1. Where is Qt header files in scratchbox? I see following in ESBOX include path setting:
I check these folders and can't find them in the Freemantle_X86 folder ever! But I check withCode:/scratchbox/users/maemo/targets/FREMANTLE_X86/usr/include/qt4 /scratchbox/users/maemo/targets/FREMANTLE_X86/usr/include/qt4/QtCore /scratchbox/users/maemo/targets/FREMANTLE_X86/usr/include/qt4/QtGui
It tells that the latest libqt4-gui has been installed in scratchbox. So where is the header file that libqt4-gui?Code:apt-get install libqt4-gui
2. I follow the examples in "Qt for Maemo Developer's Guide v0.5 Beta"http://www.forum.nokia.com/piazza/wi..._v0_5_Beta.pdf. I choose the simple LIBCITYINFO example in Chapter 5 "Using Maemo APIs in Qt applications". I check the .pro files:
In scratchbox I can find glib-2.0/glib folder. But can't glib-2.0/usr/lib/glib-2.0/include. Nor the header file "cityinfo.h". Obviously the compiling fails.Code:TEMPLATE = app TARGET = DEPENDPATH += . INCLUDEPATH += . /usr/include/glib-2.0/glib /usr/include/glib-2.0/ /usr/lib/glib-2.0/include LIBS += -lcityinfo0 -lglib-2.0 # Input HEADERS += QCityInfoWidget.h SOURCES += main.cpp QCityInfoWidget.cpp
I search for the issues and can't find very clear resolution. Can anyone help? Thanks.
regards,
pigling

Reply With Quote


