![]() |
compiling qtmobility-1.2.0-opensource
Hi
I would like to be able to link against the c++ classes behind QML Elements wrapping Qt Mobility. I was thinking that i could try to compile the whole qtmobility 1.2.0, and then include those headers, and link against the compiled library. But i dont know how to set up qmake in order to use the madde that ships with QtSDK. Does anybody know a link to a step-by-step tutorial to do that? Alternately, is there any other approach to use (or rather create) qtmobility QML elements in C++? I just need few stuff.. basically Coordinate, Polyline and a few other elements from QtMobility Location thanks |
Re: compiling qtmobility-1.2.0-opensource
Quote:
I don't remember where it's located, but search under QtSDK/Madde and you should find the correct one. |
Re: compiling qtmobility-1.2.0-opensource
1 Attachment(s)
check QGeoPositionInfoSource for finding location from C++ code.
for sample C++ code see attachment class for polyline QGeoMapPolylineObject entire list of C++ classes from QtMobility Location can be found here |
Re: compiling qtmobility-1.2.0-opensource
Yes, my problem is that i want to use these as QML Map Polyline element, and the like.
I know that these elements are in practice backed by these QtMobility c++ objects, but there's one thin layer missing. Anyway, i tried this: ./configure -release -examples -demos -maemo6 -qmake-exec /local/paolo/QtSDK12/Madde/madbin/qmake and i get: Running /local/paolo/QtSDK12/Madde/madbin/qmake... /local/paolo/QtSDK12/Madde/madbin/qmake: 42: mad: not found Command 'qmake' is not available for this target (). Enter '/local/paolo/QtSDK12/Madde/madbin/qmake -v' for more information. configure failed. do i have to set up madde somehow? i never used it outside qtcreator |
Re: compiling qtmobility-1.2.0-opensource
try adding /local/paolo/QtSDK12/Madde/madbin to your PATH env variable
if you are using bash, the command is export PATH= /local/paolo/QtSDK12/Madde/madbin:$PATH |
Re: compiling qtmobility-1.2.0-opensource
Quote:
Probably some other MADDE environment var? |
Re: compiling qtmobility-1.2.0-opensource
the build environment in the QtCreator indicated following PATH env variable
/local/paolo/QtSDK12/Madde/targets/harmattan_10.2011.34-1_rt1.2/bin:/local/paolo/QtSDK12/Madde/bin:/local/paolo/QtSDK12/Madde/madlib:/local/paolo/QtSDK12/Madde/madbin:/local/paolo/QtSDK12/Desktop/Qt/474/gcc/bin:$PATH other environment var in QtCreator for harmattan project can be checked in Projects->Targets->Harmattan->Build Settings->Build Environment->Details |
All times are GMT. The time now is 21:43. |
vBulletin® Version 3.8.8