On 15/11/10 14:42, Chris Walker wrote:
As a noob, I've been trying 'stackable windows' from here -
http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-stackedwindows.html
In the docs, QWidget's member x11Info is present. However, QT Creator
doesn't think so.
What keeps me thinking that it's not my fault is that i checked out
qt4-maemo5-homescreen from git and it won't build...
I've tried QtCreator under Windows 7 (64bit), linux (64bit) and Windows
XP (32bit) but all fail to compile the above example.
Under Windows 7, if I hover the mouse over the Options window, it shows
QT_INSTALL_HEADERS as
C:\NokiaSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.201.0.36-2-slim\usr\include
and if I look in there, I find a QTMaemo5 folder.
If look at the install here (Mandriva 2010), it shows a similar path
So do I need to add something to the .pro file ?
This is what it currently says (modified from the example quoted above)
TEMPLATE = app
SOURCES = main.cpp
QT += maemo5
# install
target.path = $$[QT_INSTALL_EXAMPLES]/maemo5/stackedwindows
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS stackedwindows.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/maemo5/stackedwindows
INSTALLS += target sources
I've also add this - #include to the main.cpp file
I wondered if I need to modify, or add to, the sources.files line.
Any help appreciated as this is driving me nuts.
--
__ __| |_ __ __ .---.
/ _/ _` \ V V / | mailto:cdw_li...@the-walker-household.co.uk |
\__\__,_|\_/\_/ |___|
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers