Re: [Qgis-developer] Which compiler for a c++ QGIS custom app
Hi Jürgen, On 21 Feb 2014, at 16:24, Jürgen E. Fischer j...@norbit.de wrote: But QGIS and Qt in OSGeo4W is built with Visual C++ not MinGW. You can't use OSGeo4W's Qt with MinGW. I installed Visual Studio Express 2013, and it seems the compiler given with (version 12.0) is not compliant with Qt libs from the osgeo package. Do you know if I should I restrict to a given version of the compiler? Which one has been used for building osgeo’s qt lib? I saw that Nathan is using version 9.0. Thanks a lot, Denis___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Which compiler for a c++ QGIS custom app
The supported version is VS 2008. I have never tried building with anything else. - Nathan On Mon, Feb 24, 2014 at 9:10 PM, Rouzaud Denis denis.rouz...@gmail.comwrote: Hi Jürgen, On 21 Feb 2014, at 16:24, Jürgen E. Fischer j...@norbit.de wrote: But QGIS and Qt in OSGeo4W is built with Visual C++ not MinGW. You can't use OSGeo4W's Qt with MinGW. I installed Visual Studio Express 2013, and it seems the compiler given with (version 12.0) is not compliant with Qt libs from the osgeo package. Do you know if I should I restrict to a given version of the compiler? Which one has been used for building osgeo's qt lib? I saw that Nathan is using version 9.0. Thanks a lot, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Which compiler for a c++ QGIS custom app
Hi Denis, On Mon, 24. Feb 2014 at 12:10:53 +0100, Rouzaud Denis wrote: I installed Visual Studio Express 2013, and it seems the compiler given with (version 12.0) is not compliant with Qt libs from the osgeo package. Right, if you want to use Qt from OSGeo4W you need to you the same compiler as the one used to build Qt.That is 2008 for 32bit and 2010 for 64bit. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Which compiler for a c++ QGIS custom app
Thanks a lot Nathan, this brought me further! On 24 Feb 2014, at 12:14, Nathan Woodrow madman...@gmail.com wrote: The supported version is VS 2008. I have never tried building with anything else. - Nathan On Mon, Feb 24, 2014 at 9:10 PM, Rouzaud Denis denis.rouz...@gmail.com wrote: Hi Jürgen, On 21 Feb 2014, at 16:24, Jürgen E. Fischer j...@norbit.de wrote: But QGIS and Qt in OSGeo4W is built with Visual C++ not MinGW. You can't use OSGeo4W's Qt with MinGW. I installed Visual Studio Express 2013, and it seems the compiler given with (version 12.0) is not compliant with Qt libs from the osgeo package. Do you know if I should I restrict to a given version of the compiler? Which one has been used for building osgeo’s qt lib? I saw that Nathan is using version 9.0. Thanks a lot, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Which compiler for a c++ QGIS custom app
Hi all, I am a bit lost at trying to build a custom QGIS app on a windows 7. I have installed QGIS libs, Qt libs and minGW using osgeo4w installer (thanks to Nathan's advices). I have also installed Qt Creator 3.0. Now in creator, I have configured Qt version as Qt 4.7. using c:\osgeo4w\bin\qmake.exe. But I can't manage to find the right compiler to use for this version. With all the compilers I tried, it says none of the compiler can produce code for this version of Qt. Does someone know which compiler to use? Can't I use one embedded in osgeo package? PS: I don't have visual studio installed, and I would like to avoid installing it. Thanks a lot, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Which compiler for a c++ QGIS custom app
Hi Denis, On Fri, 21. Feb 2014 at 15:20:19 +0100, Denis Rouzaud wrote: I have installed QGIS libs, Qt libs and minGW using osgeo4w installer (thanks to Nathan's advices). mingw using the osgeo4w installer? That might be there for GRASS. But QGIS and Qt in OSGeo4W is built with Visual C++ not MinGW. You can't use OSGeo4W's Qt with MinGW. Does someone know which compiler to use? Can't I use one embedded in osgeo package? PS: I don't have visual studio installed, and I would like to avoid installing it. Sorry, I didn't do that for years - should also be possible, but I suppose it takes some work. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Which compiler for a c++ QGIS custom app
Hi Jürgen, Thanks a lot for your reply. It seems I should finally use Visual C++. I will give it a try this weekend! Thanks again and happy release ;) Denis On 21 Feb 2014, at 16:24, Jürgen E. Fischer j...@norbit.de wrote: Hi Denis, On Fri, 21. Feb 2014 at 15:20:19 +0100, Denis Rouzaud wrote: I have installed QGIS libs, Qt libs and minGW using osgeo4w installer (thanks to Nathan's advices). mingw using the osgeo4w installer? That might be there for GRASS. But QGIS and Qt in OSGeo4W is built with Visual C++ not MinGW. You can't use OSGeo4W's Qt with MinGW. Does someone know which compiler to use? Can't I use one embedded in osgeo package? PS: I don't have visual studio installed, and I would like to avoid installing it. Sorry, I didn't do that for years - should also be possible, but I suppose it takes some work. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer