Hi,<div><br></div><div>I have successfully built a qgis app.</div><div>You can find a summary in this post</div><div><a href="http://3nids.wordpress.com/2014/02/27/build-and-deploy-c-qgis-app-on-windows/">http://3nids.wordpress.com/2014/02/27/build-and-deploy-c-qgis-app-on-windows/</a></div>
<div><br></div><div>I hope you can get a few leads from it.</div><div><br></div><div>Cheers,</div><div><br></div><div>Denis<br><br>Le samedi 12 juillet 2014, Joshua Quesenberry <<a href="mailto:engnfrc@gmail.com">engnfrc@gmail.com</a>> a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you all tried the QGIS Code Examples in the past few years? They don't<br>
work with all the code changes that have been made. Could someone update<br>
them so that they're actually doable?<br>
<br>
I'm atleast at the point now where I can start trying to build code in<br>
Visual Studio, which is a big improvement over where I was a few days ago.<br>
Getting the cmake-gui setup was painful, I had to use a combination of<br>
OSGeo4W64 directory, the QGIS repository, and the QGIS standalone install<br>
directory to get to this point. Better instructions on how to setup all of<br>
that on Windows would be great. I think the fact that I'm on a 64 bit system<br>
and the of stuff needed is in both Program Files and Program Files (x86) is<br>
breaking things. I'm also having to add a bunch of include directories to<br>
the actual Visual Studio project settings; I thought CMake was responsible<br>
for setting everything up?<br>
<br>
Please help make this setup process more intuitive and update the code<br>
examples so that they're actually usable.<br>
<br>
Thanks,<br>
<br>
Josh Q<br>
<br>
-----Original Message-----<br>
From: Joshua Quesenberry [mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'engnfrc@gmail.com')">engnfrc@gmail.com</a>]<br>
Sent: Friday, July 11, 2014 10:48 AM<br>
To: 'Jürgen E. Fischer'; <a href="javascript:;" onclick="_e(event, 'cvml', 'qgis-developer@lists.osgeo.org')">qgis-developer@lists.osgeo.org</a><br>
Cc: <a href="javascript:;" onclick="_e(event, 'cvml', 'engnfrc@gmail.com')">engnfrc@gmail.com</a><br>
Subject: RE: [Qgis-developer] Compiling QGIS and C++ Application with QGIS<br>
Headers on Windows 8.1<br>
<br>
Jürgen,<br>
<br>
So if I'm understanding you correctly, I'll take the following actions:<br>
        Uninstall VS2013 and replace it with VS2010 (since I'm running<br>
Windows 8.1 and it's 64bit)<br>
        Uninstall Qt 5.3 and replace it with Qt 4.x (assuming that the<br>
specific subversion is negligible?)<br>
<br>
Also, an unanswered part of this is do I need Windows SDK 7 with .NET 4? As<br>
mentioned, the installation was completely hung up on my Windows 8.1<br>
machine. I was thinking that the SDK and .NET were part of the Visual Studio<br>
Express installation, but the INSTALL page seems to imply otherwise. Do I<br>
instead need Windows 8.1 SDK with .NET 4.5 since I'm running Windows 8.1? Or<br>
will the Visual Studio Express 2010 installation be sufficient? If I need<br>
Windows SDK 7 with .NET 4 I may be in troble...<br>
<br>
Thanks,<br>
<br>
Josh Q<br>
<br>
-----Original Message-----<br>
From: <a href="javascript:;" onclick="_e(event, 'cvml', 'qgis-developer-bounces@lists.osgeo.org')">qgis-developer-bounces@lists.osgeo.org</a><br>
[mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'qgis-developer-bounces@lists.osgeo.org')">qgis-developer-bounces@lists.osgeo.org</a>] On Behalf Of Jürgen E.<br>
Fischer<br>
Sent: Friday, July 11, 2014 9:52 AM<br>
To: <a href="javascript:;" onclick="_e(event, 'cvml', 'qgis-developer@lists.osgeo.org')">qgis-developer@lists.osgeo.org</a><br>
Subject: Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS<br>
Headers on Windows 8.1<br>
<br>
Hi Joshua,<br>
<br>
On Fri, 11. Jul 2014 at 09:29:11 -0400, Joshua Quesenberry wrote:<br>
> I'm trying to follow the instructions on the INSTALL page<br>
> (<a href="http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master" target="_blank">http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master</a><br>
> /doc/I<br>
> NSTALL.html )<br>
><br>
> My current setup is this:<br>
> Windows 8.1<br>
> Visual Studio Express 2013<br>
> QGIS was standalone installed a month or so ago and is version 2.2.0<br>
> QT 5.3<br>
<br>
QGIS doesn't support Qt 5.x yet.<br>
<br>
If you want to use the dependencies from OSGeo4W, you'll have to use the<br>
tools they were build with (especially the C++ dependencies like Qt; ie.<br>
VC2008 on 32bit and VC2010 on 64bit).<br>
<br>
If you build your own Qt using VC 2013 might also be an option.  But I'd<br>
recommend to stick to INSTALL and use the dependencies from OSGeo4W.<br>
<br>
<br>
Jürgen<br>
<br>
--<br>
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31<br>
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50<br>
Software Engineer           D-26506 Norden             <a href="http://www.norbit.de" target="_blank">http://www.norbit.de</a><br>
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode<br>
<br>
<br>
--<br>
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH<br>
Rheinstrasse 13, 26506 Norden<br>
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502<br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Qgis-developer@lists.osgeo.org')">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Qgis-developer@lists.osgeo.org')">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>