Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

how to set up Qt 5.2 to compile for 64 Bit windows application

$
0
0
I`m not an experienced c++ programmer, but I need to built a program for a 64bit system. (please don’t tell me, that 64bit is not necessary – I have a simulation with around 500.000.000 particles needing easily 32 GB). At first I wanted to use MinGW64, but this proved to be quit difficult. So I installed vs2012 and the fitting official installation package for qt 5.2. While this worked out in principal, I was quit dissapointed of how poorly c++11 features were supported. I started to learn c++ quit recently, and therefore my program uses a lot of new language features. Even after I changed a lot of code, just to make it compatible with vs2012 compiler, I still had a nasty bug in my program. When I realized after several hours of debugging, that the problem is a wrong implementation of an STL feature (generate_canonical) I decided, that vs2012 is not an option for me. So I tried again to get a setup with minGW64 but even after several days of searching and testing, I’m still unable to compile a 64Bit program. It seems, there is no good explanation out there, on how to setup up an additional compiler for Qt Creator. This is really frustrating. My best chance might be a prebuilt as I downloaded for example from mingwbuilds [sourceforge.net] But even for these packages I’m not able to configure a Kit in QtCreator, and I have not found any helpful tutorial on this topic. Could anybody please give some hints on how to setup such a mingwbuild or give a link to an easy tutorial? I can’t believe that it is so hard to compile with Qt 5.2 for a platform not suppported by an offical installing package, especially since this ability is one of the main reasons to use Qt. Thanks for any help.

Viewing all articles
Browse latest Browse all 2113

Trending Articles