[Qgis-developer] Re: QGIS.pro, Qt Creator and Android - Qt Creator Integration

Tim Sutton lists at linfiniti.com
Thu Dec 30 01:45:57 EST 2010


Hi Noli

I'm not an expert in Qt-Creator (I'm a vim guy!) but the last time I
tested it, I didnt see any option to create a .pro file from the
CMakeLists.txt based project. In fact that was one of my irritations
of trying to use creator - having to re-read in the project from the
CMakeLists.txt file every time. But it could be just that I missed
something essential in the process.

I'm also interested in making an android port at some point...

Regards

Tim

On Thu, Dec 30, 2010 at 6:18 AM, Noli Sicad <nsicad at gmail.com> wrote:
> Hi,
>
> OK. I managed to install cmake package.
>
> But still I don't what should be in the Qgis.pro after I created this project?
>
> Anybody can post what should be in entries in Qgis.pro?
>
> Noli
>
> On 12/30/10, Noli Sicad <nsicad at gmail.com> wrote:
>> 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.
>>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list