Re: [Qgis-developer] Qt platform plugin "cocoa".
Hi William, On Sat 12 Jul 2014 05:18:50 PM CEST, William Kyngesburye wrote: That's probably because that Qt plugin is not bundled into the app. The QGIS Mac installation does not know about changes in Qt 5 file organization yet. I don't have Qt 5, so I can't figure out those changes to update the source. You could try configuring with QGIS_MACAPP_BUNDLE=0 so that it doesn't bundle Qt. This makes the app less portable. Is QGIS in general even ready for Qt 5? Not yet in master. I was experimenting with Qt5 support recently and it is not too hard to port (i.e. to a codebase that compiles against Qt4 and Qt5) If you want to give it a try: https://github.com/m-kuhn/QGIS/tree/final-2_4_0-qt5 Best, Matthias ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1
Hi Joshua, On Sat, 12. Jul 2014 at 17:51:21 +0200, Jürgen E. Fischer wrote: > PS: The current binaries are produced with the Windows SDK for Windows 7 (7.1) > from > http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe > (see ms-windows/osgeo4w/package.cmd) Sorry. That no news there. I already updated doc/msvc.t2t with that recently, but I wasn't sure about it. I can just tell you that that SDK works, I didn't try more recent SDKs. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: 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] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1
Hi Joshua, On Sat, 12. Jul 2014 at 11:11:46 -0400, Joshua Quesenberry wrote: > They don't work with all the code changes that have been made. Could someone > update them so that they're actually doable? Sure. What particular part doesn't work anymore? You could file tickets gainst the documentation, even update doc/INSTALL.t2t (or doc/msvc.t2t) yourself with you findings and do a pull request. Jürgen PS: The current binaries are produced with the Windows SDK for Windows 7 (7.1) from http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe (see ms-windows/osgeo4w/package.cmd) -- 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 -- 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] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1
Hi, I have successfully built a qgis app. You can find a summary in this post http://3nids.wordpress.com/2014/02/27/build-and-deploy-c-qgis-app-on-windows/ I hope you can get a few leads from it. Cheers, Denis Le samedi 12 juillet 2014, Joshua Quesenberry a écrit : > Have you all tried the QGIS Code Examples in the past few years? They don't > work with all the code changes that have been made. Could someone update > them so that they're actually doable? > > I'm atleast at the point now where I can start trying to build code in > Visual Studio, which is a big improvement over where I was a few days ago. > Getting the cmake-gui setup was painful, I had to use a combination of > OSGeo4W64 directory, the QGIS repository, and the QGIS standalone install > directory to get to this point. Better instructions on how to setup all of > that on Windows would be great. I think the fact that I'm on a 64 bit > system > and the of stuff needed is in both Program Files and Program Files (x86) is > breaking things. I'm also having to add a bunch of include directories to > the actual Visual Studio project settings; I thought CMake was responsible > for setting everything up? > > Please help make this setup process more intuitive and update the code > examples so that they're actually usable. > > Thanks, > > Josh Q > > -Original Message- > From: Joshua Quesenberry [mailto:engn...@gmail.com ] > Sent: Friday, July 11, 2014 10:48 AM > To: 'Jürgen E. Fischer'; qgis-developer@lists.osgeo.org > Cc: engn...@gmail.com > Subject: RE: [Qgis-developer] Compiling QGIS and C++ Application with QGIS > Headers on Windows 8.1 > > Jürgen, > > So if I'm understanding you correctly, I'll take the following actions: > Uninstall VS2013 and replace it with VS2010 (since I'm running > Windows 8.1 and it's 64bit) > Uninstall Qt 5.3 and replace it with Qt 4.x (assuming that the > specific subversion is negligible?) > > Also, an unanswered part of this is do I need Windows SDK 7 with .NET 4? As > mentioned, the installation was completely hung up on my Windows 8.1 > machine. I was thinking that the SDK and .NET were part of the Visual > Studio > Express installation, but the INSTALL page seems to imply otherwise. Do I > instead need Windows 8.1 SDK with .NET 4.5 since I'm running Windows 8.1? > Or > will the Visual Studio Express 2010 installation be sufficient? If I need > Windows SDK 7 with .NET 4 I may be in troble... > > Thanks, > > Josh Q > > -Original Message- > From: qgis-developer-boun...@lists.osgeo.org > [mailto:qgis-developer-boun...@lists.osgeo.org ] On Behalf > Of Jürgen E. > Fischer > Sent: Friday, July 11, 2014 9:52 AM > To: qgis-developer@lists.osgeo.org > Subject: Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS > Headers on Windows 8.1 > > Hi Joshua, > > On Fri, 11. Jul 2014 at 09:29:11 -0400, Joshua Quesenberry wrote: > > I'm trying to follow the instructions on the INSTALL page > > (http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master > > /doc/I > > NSTALL.html ) > > > > My current setup is this: > > Windows 8.1 > > Visual Studio Express 2013 > > QGIS was standalone installed a month or so ago and is version 2.2.0 > > QT 5.3 > > QGIS doesn't support Qt 5.x yet. > > If you want to use the dependencies from OSGeo4W, you'll have to use the > tools they were build with (especially the C++ dependencies like Qt; ie. > VC2008 on 32bit and VC2010 on 64bit). > > If you build your own Qt using VC 2013 might also be an option. But I'd > recommend to stick to INSTALL and use the dependencies from OSGeo4W. > > > Jürgen > > -- > Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 > Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 > Software Engineer D-26506 Norden > http://www.norbit.de > QGIS release manager (PSC) GermanyIRC: 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 > ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qt platform plugin "cocoa".
That's probably because that Qt plugin is not bundled into the app. The QGIS Mac installation does not know about changes in Qt 5 file organization yet. I don't have Qt 5, so I can't figure out those changes to update the source. You could try configuring with QGIS_MACAPP_BUNDLE=0 so that it doesn't bundle Qt. This makes the app less portable. Is QGIS in general even ready for Qt 5? On Jul 12, 2014, at 9:56 AM, otmane yazidi alaoui wrote: > hy everybodey > i would like compiling Qgis source code in my mac OS X 10.9.4 > but i have this problem after installation of QtCreator 5 > " > This application failed to start because it could not find or load the Qt > platform plugin "cocoa". > > Reinstalling the application may fix this problem. > Abort trap: 6 > " > > -- > >YAZIDI ALAOUI OTMANE >Ingénieur d'état en Géomatique >Tel:+212652538743 >@ :yazidiotm...@gmail.com > http://www.doyoubuzz.com/otmane-yazidi-alaoui > // > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer - William Kyngesburye http://www.kyngchaos.com/ Theory of the Universe There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened. -Hitchhiker's Guide to the Galaxy 2nd season intro ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1
Have you all tried the QGIS Code Examples in the past few years? They don't work with all the code changes that have been made. Could someone update them so that they're actually doable? I'm atleast at the point now where I can start trying to build code in Visual Studio, which is a big improvement over where I was a few days ago. Getting the cmake-gui setup was painful, I had to use a combination of OSGeo4W64 directory, the QGIS repository, and the QGIS standalone install directory to get to this point. Better instructions on how to setup all of that on Windows would be great. I think the fact that I'm on a 64 bit system and the of stuff needed is in both Program Files and Program Files (x86) is breaking things. I'm also having to add a bunch of include directories to the actual Visual Studio project settings; I thought CMake was responsible for setting everything up? Please help make this setup process more intuitive and update the code examples so that they're actually usable. Thanks, Josh Q -Original Message- From: Joshua Quesenberry [mailto:engn...@gmail.com] Sent: Friday, July 11, 2014 10:48 AM To: 'Jürgen E. Fischer'; qgis-developer@lists.osgeo.org Cc: engn...@gmail.com Subject: RE: [Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1 Jürgen, So if I'm understanding you correctly, I'll take the following actions: Uninstall VS2013 and replace it with VS2010 (since I'm running Windows 8.1 and it's 64bit) Uninstall Qt 5.3 and replace it with Qt 4.x (assuming that the specific subversion is negligible?) Also, an unanswered part of this is do I need Windows SDK 7 with .NET 4? As mentioned, the installation was completely hung up on my Windows 8.1 machine. I was thinking that the SDK and .NET were part of the Visual Studio Express installation, but the INSTALL page seems to imply otherwise. Do I instead need Windows 8.1 SDK with .NET 4.5 since I'm running Windows 8.1? Or will the Visual Studio Express 2010 installation be sufficient? If I need Windows SDK 7 with .NET 4 I may be in troble... Thanks, Josh Q -Original Message- From: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Jürgen E. Fischer Sent: Friday, July 11, 2014 9:52 AM To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1 Hi Joshua, On Fri, 11. Jul 2014 at 09:29:11 -0400, Joshua Quesenberry wrote: > I'm trying to follow the instructions on the INSTALL page > (http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master > /doc/I > NSTALL.html ) > > My current setup is this: > Windows 8.1 > Visual Studio Express 2013 > QGIS was standalone installed a month or so ago and is version 2.2.0 > QT 5.3 QGIS doesn't support Qt 5.x yet. If you want to use the dependencies from OSGeo4W, you'll have to use the tools they were build with (especially the C++ dependencies like Qt; ie. VC2008 on 32bit and VC2010 on 64bit). If you build your own Qt using VC 2013 might also be an option. But I'd recommend to stick to INSTALL and use the dependencies from OSGeo4W. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: 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
[Qgis-developer] Qt platform plugin "cocoa".
hy everybodey i would like compiling Qgis source code in my mac OS X 10.9.4 but i have this problem after installation of QtCreator 5 " This application failed to start because it could not find or load the Qt platform plugin "cocoa". Reinstalling the application may fix this problem. Abort trap: 6 " -- YAZIDI ALAOUI OTMANE Ingénieur d'état en Géomatique Tel:+212652538743 @ :yazidiotm...@gmail.com http://www.doyoubuzz.com/otmane-yazidi-alaoui // ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer