2020. 2. 21. 10:30ㆍ카테고리 없음
Windows 10
This page describes the process of configuring and building. Before building, there are some requirements that are given in more detail in the document.You can download the Qt 5 sources from the page. For more information, visit the page.
Step 1: Install the License File (Commercially Licensed Qt Only)If you use Qt with a commercial license, the Qt tools look for a local license file. If you are using a binary installer or the commercial Qt Creator, your licenses are automatically fetched and stored in your local user profile (%USERPROFILE%AppDataRoamingQtqtlicenses.ini file).If you do not use any binary installer or Qt Creator, you can download the respective license file from your Web portal and save it to your user profile as%USERPROFILE%.qt-license. If you prefer a different location or file name, you need to set the QTLICENSEFILE environment variable to the respective file path. Step 2: Unpack the ArchiveUncompress the files into the directory you want Qt installed; e.g. C:Qt%VERSION%.Note: The install path must not contain any spaces or Windows specific file system characters.
Step 3: Set the Environment VariablesWe recommend creating a desktop link that opens a command prompt with the environment set up similar to the Command Prompt menu entries provided by Visual Studio. This is done by creating an application link passing a.cmd file setting up the environment and the command line option /k (remain open) to cmd.exe.Assuming the file is called qt5vars.cmd and the Qt folder is called qt-5 and located under C:qt. Mingw32 -makeIf an installation prefix was given, type jom install, nmake install or mingw32-make install.Note: If you later need to reconfigure and rebuild Qt from the same location, ensure that all traces of the previous configuration are removed by entering the build directory and typing nmake distclean before running configure again. Parallel Buildsis a replacement for nmake which makes use of all CPU cores and thus speeds up building.© 2019 The Qt Company Ltd.Documentation contributions included herein are the copyrights oftheir respective owners.
The documentation provided herein is licensed under the terms of the as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. In Finland and/or other countries worldwide. All other trademarks are propertyof their respective owners.