[Qgis-developer] QGIS.pro,
Qt Creator and Android - Qt Creator Integration
Noli Sicad
nsicad at gmail.com
Wed Dec 29 22:49:20 EST 2010
Hi,
I am trying to create a Qgis.pro (i.e. QGIS Qt Creator Project) based
on this instruction [1].
I am stuck on this step 3.
3. Run cmake in CMake Wizard. You can run it after adding project for
this you should navigate to cmake build directory it is qtcreator-build in
project root and run ccmake .. like usually);
There are a lot of cmake files in the cmake directory, which one should I use?
Anyway, anybody has exciting Qgis.pro (Qt Creator project) already and
like to share it.
I like to try to compile Qgis in Qt - Android lighthouse and see what happen.
You watch the video on Android - Qt Creator Integration here - Video.
http://code.google.com/p/android-lighthouse/wiki/QtCreatorIntegration
Anybody interested in QGIS mobile for Android?
Thanks. Noli
~~~~~~~~~~~~
[1] http://www.osgeo.org/pipermail/qgis-developer/2009-October/007832.html
Using QtCreator with QGis is easy. To open QGis in it you should do:
1. In menu File->Open File or Project (Ctrl+O);
2. In open file dialog find CMakeLists.txt in the root of QGIs
(/usr/local/src/qgis_trunk/CMakeLists.txt) and open it;
3. Run cmake in CMake Wizard. You can run it after adding project for
this you should navigate to cmake build directory it is qtcreator-build in
project root and run ccmake .. like usually);
4. After that QtCreator adds the new project with name qgis-1.x.x.
5. If you need to correct cmake options you can do it now (see 3);
6. Compile QGis (Ctrl+B);
7. Switch to tab Projects. In section Build Settings->Build Steps push
Details button and add in Additional arguments: install.
8. In section Run Settings push +Add and select in combo box Custom
Executable then push Details and add in Executable:
/patch/to/qgis/executable (/usr/local/bin/qgis);
9. Start Debugging QGis: F5.
More information about the Qgis-developer
mailing list