1/28/2024 0 Comments Qt creator qt4![]() ![]() I’d like to delete the intermediate files that bloat the folder while leaving the compiled 64bit libraries intact. I have noticed that the Qt folder is enormous after compiling. Both IDEs can build 64bit applications! It’s definitely worthwhile to update Visual Studio to Service Pack 1 prior to compiling Qt, as my builds continued to fail until I updated.Ĭonfigure.exe -debug-and-release -opensource -platform win32-msvc2010 -no-qt3support -qt-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg My version’s usable both within Qt Creator 2.3.0 (32bit) and Visual Studio 2010 (SP1). Great instructions! I followed them to successfully build 64bit Qt 4.7.4 on my Win7 Pro 圆4 machine. Microsoft (R) 32b/64b MIDL Compiler Version Ĭopyright (c) Microsoft Corporation. I’ve included the output from jom, below. I’ve set the environment variables for QTDIR, QTMAKESPEC and PATH per my I’ve tried using nam and jom, and both have failed. I’ve been trying to build Qt using MS VS 2010, and running into failures. ** Rob provided his compilation script based on nmake with multi-core support. Note that PDB files will be deleted too (the files are rarely needed, only for debugging of Qt itself). Once compiled Qt doesn’t depend on these intermediate files – and they can be erased without affecting Qt functionality. One can safely shrink its size by deleting temporary files created during the process. * As Evon pointed in comments, Qt folder has huge size (approx. Usual cd d: does not work anymore – a little “surprise” from Microsoft. ** Do not forget to use /d switch if you want to change drive in command prompt, e.g: cd /d d. Number of physical CPU cores is a good choice for N. Its parameter -j N allows to setup number of parallel processes for compilation. * Jom is nmake replacement for Qt compilation on multi-core CPU. Usually compilation takes about 10 hours, but thanks to jom and Intel SSD drive it took only 2 hours 40 minutes on my machine (Windows 7, 64bits) Remarks Integrate just compiled Qt to IDE using menu Qt > Qt Options > Qt Versions > Add ![]() Download and install Qt Visual Studio Add-in.Where N is number of CPU cores you want to utilize for Qt compilation. Run following commands in it (every line is a different command: type it then press Enter):Ĭonfigure -debug-and-release -opensource -platform win32-msvc2010.Start > Programs > Microsoft Visual Studio 2010 > Visual Studio Tools > Visual Studio Command Prompt. ![]() Start Visual Studio 2010 Command Prompt:.Update PATH variable to include %QTDIR%\bin.Copy contents of the folder qt-everywhere-opensource-src-4.7.1 to the directory where you intend to install Qt.Download and extract Qt 4.7.1 Source Code.Install Perl if you are going to compile Qt >= 4.8.0.However if you plan to use Qt with Phonon you need to install DirectX SDK first. Visual C++ 2010 contains all necessary SDKs for Qt compilation.Just replace version number where applicable. July 18 2011: Qt 4.7.3 and Qt 4.8 (beta) has been successfully compiled by this guide. Also install Service Pack 1 for Visual Studio 2010 beforehand – it fixes few bugs related to 圆4 compilation. September 16, 2011: Qt 4.7.4 has been successfully compiled by this guide.Īugust 14, 2011: In order to build Qt for 64 bits just use Visual Studio 圆4 Win64 Command Prompt (2010) in step 8. Also please use jom 1.06 and don’t forget to install Service Pack 1 for Visual Studio. To do 64bit compilation, please use Visual Studio 圆4 Win64 Command Prompt (2010) in step 8. June 4, 2012: As reported by Wenqing, Qt 4.8.2 has been successfully compiled by this guide.Īpril 5, 2012: As reported by Snouty, 32bit version of Qt 4.8.1 has been successfully compiled by this guide.ĭecember 20, 2011: As reported by Evon, 64bit version of Qt 4.8.0 has been successfully compiled by this guide. Be aware that Qt might not be adjusted yet for Windows 8 (as reported here). November 4, 2012: As reported by Mike Pelton, whatnick and Borislav Stanimirov, 32 & 64bit versions of Qt 4.8.3 have been successfully compiled by this guide, by both Visual Studio 2010 & 2012. Also he shared his instructions for building Qt with Intel C++ Compiler into static library. Vincenzo Mercuri informed that he have compiled Qt 4.8.4-圆4 by the guide. Vincenzo Mercuri shared instructions for building Qt 5.0.0 in 圆4 configuration.ĭecember 19, 2012.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |