![]() |
Qt location problems in extra-dev build
Hi
I have for quite some time been trying to upload my Qt project to extra-dev, and now I have gotten so far that extra-dev at least are trying to build the project, but now I get the following errors : Code:
In file included from ../../src/main.cpp:2: My control file : Code:
Source: osmapper Thanks Kim |
Re: Qt location problems in extra-dev build
Add qtmobility to control file
This should fix your problem EDIT: also you should add this to .pro file: CONFIG += mobility MOBILITY = location Check this example: http://doc.qt.nokia.com/qtmobility-1.0/lightmaps.html |
Re: Qt location problems in extra-dev build
Hi CepiPerez
Thanks, but isn't that in the .pro file ? There I already have those. I have no problem building the project locally, but the build fails on extra-dev ! Kim |
Re: Qt location problems in extra-dev build
Add libqtm-dev to Build-Depends.
|
Re: Qt location problems in extra-dev build
Hi Diph
Yes of course, thanks a lot. Kim |
Re: Qt location problems in extra-dev build
Now I'm getting somewhere, the project builds on extras-devel, and is placed in the repository.
Great .... but when I install the package, everything is installed with /home/builder2/maemo-fremantle-armel-extras-devel/work/osmapper-1.3/debian/osmapper/ as root, ie. the program is installed in /home/builder2/maemo-fremantle-armel-extras-devel/work/osmapper-1.3/debian/osmapper/usr/bin and so on :eek: Any ideas ? And now I have your attention, does anyone know what the dirs file in a package does ? Thanks |
Re: Qt location problems in extra-dev build
OK I have found the problem, for some reason I had a prefix of ../Debian/osmapper in the .pro file.
Thanks anyway. |
Re: Qt location problems in extra-dev build
Code:
./locationwatcher.h:5:45: error: QtLocation/QGeoPositionInfoSource: No such file or directory The project builds fine on my computer (ubuntu, QtCreator, madde) I fave tried all the above as well as adding QTM_USE_NAMESPACE everywere but it still fails. I also tried including <QtLocation/QGeoPositionInfoSource> instead of <QGeoPositionInfoSource>. Source is Code:
#ifndef LOCATIONWATCHER_H I was just editing depends instead of build-depends! <goes and bangs head on the wall> |
All times are GMT. The time now is 01:13. |
vBulletin® Version 3.8.8