Qt configure and build
-
Hi,
I want to know which paths I need to create for Qt , before configure.SET _ROOT=C:\ExtLib\Qt\5.5.1
SET PATH=%_ROOT%\5.5\Src\qtbase\bin;%_ROOT%\5.5\Src\gnuwin32\bin;C:\Python27;C:\Perl64\site\bin;C:\Perl64\bin;C:\Ruby193\bin;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin;
SET QMAKESPEC=win32-msvc2013 -
Hi,
If you are building with Visual Studio 2013, just open a command line from the visual studio sub-folder. Then you should be ready to build Qt 5.
-
oke. I prepare to work with qt and Visual studio 2013, but I want when I create qt application, I want to have 32 and 64 bit qt app and also release and debug version. Need I configure and build qt for 32 and 64 bit ? I download add-in for Visual studio, and online qt installater. I install qt for 32 and 64 bit ( I have msvc2013 and msvc2013_64).
-
Yes, you need both build of Qt if you want to compile your application for both architectures. But you don't have to build Qt yourself. You have pre-built package for Visual Studio 2013 for both 32 and 64 bit
-
Hi,
Yes, I see pre-built packages for VS2013 for both 32 and 64 bit. But if I want static version of Qt need I configure and build Qt ? If I need to build Qt, what I need to do for building static version of Qt for both arhitekture? Last time when I build Qt I configure, like this
configure -debug-and-release -static -qt-libpng -qt-libjpeg . I choose for platform win32-msvc2013 and run VS2013 x64 Native Tools Command Prompt, and build Qt. I built Qt, but only for x64 arhitekture.May you tell what I need to do for building Qt for x86 arhitekture ?
Thanks,
-
Use the 32bit Command prompt for the 32 bit build.
Also, don't forget the licensing implication when using a static build of Qt.
-
Because you are trying to build Qt twice in the same folder. Use out of source builds
-
You're welcome !
Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)
Also, while browsing the forum, consider up-voting the answers that helped you. It will make them easier to find for other users :)