[Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1
engnfrc at gmail.com
Fri Jul 11 07:41:52 PDT 2014
I will take a look into the PyQGIS side of things. I’m much more comfortable in C++ than I am in Python, but I imagine I could probably make it work for me, as long as I’m not going the plugin route, I’ll be doing a lot of database type stuff and prefer my code to run in parallel with QGIS, rather than launching a plugin every time something needs done.
What’s required to get PyQGIS up and running on Windows 8.1? Is it just simply installing the standalone version of QGIS and Python (https://www.python.org/ )? Do I have access to all the QGIS files I need in this setup? Or do I need to pull the QGIS source code from Git?
From: Nathan Woodrow [mailto:madmanwoo at gmail.com]
Sent: Friday, July 11, 2014 9:41 AM
To: Joshua Quesenberry
Cc: qgis-developer at lists.osgeo.org
Subject: Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1
If your plan is to build a small application using QGIS I would recommend using Python with PyQGIS. It's very easy to get up and running with that and your dev time will be much faster. Plus you don't have to compile it for every platform under the sun ;)
If you are keen to try that I have a working Python PyQGIS app here: https://github.com/DMS-Aus/Roam which include code to create a standalone exe with everything included. That is pretty full on example but I can strip it down to the most important parts if needed.
On Fri, Jul 11, 2014 at 11:29 PM, Joshua Quesenberry <engnfrc at gmail.com <mailto:engnfrc at gmail.com> > wrote:
I tried painfully to get QGIS compiled last night, but I’ve had no such luck. I’d like to try adding some features to the program in the future, but I’d also like to be able to build my own C++ applications that have access to the interface and can display basic map data.
I’m trying to follow the instructions on the INSTALL page (http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master/doc/INSTALL.html )
My current setup is this:
Visual Studio Express 2013
QGIS was standalone installed a month or so ago and is version 2.2.0
Git (I’m using the main download at http://msysgit.github.io/ along with TortoiseGit)
OSGeo4W Advanced Installation with all the required packages
I tried Installing the Windows SDK for Windows 7 and .NET Framework 4, but after an hour of installing it was no more than like 1% complete, so I assume it was broken. Maybe I need the Windows SDK for Windows 8.1 and .NET Framework 4.5.1?
Can you all help me get squared away? I was installing recent version of software, but maybe I need the very specific versions that are mentioned (Visual Studio Express 2010, QT 4.x, Windows 7)?
Just as some background with where I want to go with all of this; for one I’m working on a small project in Visual Studio Express that allows me to analyze the game Scotland Yard, for two I’ve been involved with Search and Rescue for a little over a decade and we have some tools that are being developed alongside ArcGIS that over an unknown period of time I’d like to try to make available through freely available software.
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer