Build Qt 5.4 from source failed
-
wrote on 21 Sept 2022, 02:46 last edited by
Hello,
Can I ask some questions about build Qt from source?What I want to do now is build Qt from source (ver 5.4.1) with 'shared' option.
Under windows 10, visual studio 2013 condition, and want to build Qt as 32 bit.
I know it is quite an old version, but while upgrading Qt, I still need 5.4.1First I wrote qt5vars.cmd as below
CALL "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
SET _ROOT=C:\Qt\Qt5.4.1\5.4\Src
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
SET _ROOT=and I changed options below in the Src\qtbase\mkspecs\win32-msvc2013\qmake.conf as MD and MDd
QMAKE_CFLAGS_RELEASE = -O2 -MD -Zc:strictStrings
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MD -Zi -Zc:strictStrings
QMAKE_CFLAGS_DEBUG = -Zi -MDdafter that,
I ran VS2013 x86 Native Tools Command Prompt as an administrator.
I ran qt5vars.cmd,
and then did configuration as below.
configure.bat -top-level -shared -debug-and-release -platform win32-msvc2013 -nomake examples -nomake tests -mp -opengl desktop -prefix D:\JESuh\Work\SW\Qt\build\test
And then it shows me the following sentences and stop the configuration.
Qt: Untested Windows version 10.0 detected!
This is the Qtthen it just finished without any information.
I installed
ActivePerl 5.26.3
python 3.7.6 32bit, add environmental variables.
Also added path of gnuwin32 to environmental variables.Do I need something else? or did I used wrong option?
Thank you in advance!
Best wishes,
JESuh
1/1