AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Build qt creator from source linux1/10/2024 ![]() Again, you’re free to modify this.ĥ- Don’t forget to change the following line with the correct version of your visual studio. ![]() A clean up is necessary, as it saves many GB of diskspace.Ĥ- I don’t compile demos and example because they take huge diskspace with no benefit. I commented it to ensure that compilation went fine before I do a clean up. You’re free to modify it!ģ- I commented the command “nmake clean”, which you can enable. This is because c++11 became a requirement at that release.ġ- Notice that :: before any line means it’s commented.Ģ- Notice also that this compiles a static version of Qt. Important: Starting from Qt 5.7.0, the options -c++11 doesn’t work anymore, so remove it from configure. The version you chose does not exist exiting If "%qtver%" = "" echo Please enter a version as the first parameter, and the build directory suffix as the second parameterĮcho Checkout error. \%folder%\configure -developer-build -confirm-license -debug-and-release -opensource -platform %QMAKESPEC% -opengl desktop -static -nomake examples -nomake tests -mp -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg If NOT %ERRORLEVEL% = 0 goto :errorcheckoutĮcho Download done. If NOT "%buildSuffix%" = "" set compilefolder=%prefix%%qtver%_%buildSuffix% If "%buildSuffix%" = "" set compilefolder=%prefix%%qtver% The following is the batch script, and after it you’ll find instructions on how to use it: off Here I’ll introduce a batch script that compiles Qt 5 from its git repository for me and for all those interested. To compile Qt 5 using Visual Studio easilyĬompiling Qt 5 can become annoying, as it’s nothing but a routine task that could be time wasting. Did this article help you? Let me know in the comments.
0 Comments
Read More
Leave a Reply. |