Re: qmaemo5homescreenadaptor build fails

2010-11-15 Thread Chris Walker

On 14/11/10 12:41, Filip-M. Brinkmann wrote:

Hi all,

another episode of coding for maemo drives me crazy:


You and me both!


I followed the tutorial which demonstrates how to build a Home widget
for maemo.
However, building qmaemo5homescreenadaptor fails in Qt Creator:
./ToDoWidget/qmaemo5homescreenadaptor.cpp:213: error: ‘class QWidget’
has no member named ‘x11Info’


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.


I've now removed all the Madde and Qt stuff under XP and thought I'd try 
the online version from here - http://www.forum.nokia.com/Develop/Qt/


I thought, foolishly as it turns out - that the online version would 
have access to all the relevant libraries and that it wouldn't need any 
configuration on my part. They all fail to find QtMaemo5.



Any ideas?


Android?

--
 __ __| |_ __ __  .---.
/ _/ _` \ 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


Why can't QTCreator find Maemo? Was qmaemo5homescreenadaptor build fails

2010-11-15 Thread Chris Walker

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 QtMaemo5 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


qmaemo5homescreenadaptor build fails

2010-11-14 Thread Filip-M. Brinkmann
Hi all,

another episode of coding for maemo drives me crazy:
I followed the tutorial which demonstrates how to build a Home widget
for maemo.
However, building qmaemo5homescreenadaptor fails in Qt Creator:
./ToDoWidget/qmaemo5homescreenadaptor.cpp:213: error: ‘class QWidget’
has no member named ‘x11Info’

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...

Any ideas?

Thanks in advance, guys.

best,

filip

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers