[Solved] Both x32 & x64 for My Project
-
Hello.
First pardon me because of my English writing.I downloaded "qt-opensource-windows-x86-msvc201264opengl-5.2.1" and install it on windows 7 x64.
I create a project & run it properly but when I want to execute it on win7 x32, it shows an error (not compatible with x32).
When i compile my project I want to Qt creates both x32 & x64?
How can i do it?Thanks a lot.
Ya Ali. -
Hi and welcome to devnet,
You need to either install a 32bit build of Qt or build it yourself for 32 bit. You can't build both architecture with only one version of Qt
-
Hello dear SGaist
Thanks for your response.I have tow question:
- in Qt5.2.1, there isn`t any 32b for msvc2012-opengl. How can i install 32bit?
- You said "build it yourself 32 bit". can i ask you to help me to do it?
-
- Indeed there's no 2012 OpenGL 32bit available so the answer is no 2
- Download Qt's sources "here":http://download.qt-project.org/official_releases/qt/5.2/5.2.1/single/qt-everywhere-opensource-src-5.2.1.zip
Extract, using the visual studio 32bit command line call configure -opengl desktop, then nmake and you should be good to go
-
If you don't want to compile it yourself (can be a drag) here are some nice precompiled packages: http://www.tver-soft.org/qt64
-
Nice ! Thanks for sharing :)
-
Thanks a lot! That`s worked!
I wrote a tutorial for solving this problem.
The tutorial is step by step (with pictures & in persian):