当前位置:网站首页>QT 5.9.8 installation tutorial

QT 5.9.8 installation tutorial

2022-06-26 16:33:00 Endless character

One 、Windows Lower installation Qt5.9.8

1 - QT5.9.8 download

2 - QT5.9.8 install

 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here

  • Component selection
    • MSVCxxxxxx: in the light of Windows On the platform MSVC Compiler QT Components , Installing this component requires that the corresponding version of... Has been installed on the computer Visual Studio
    • MinGW 5.3.0 32 bit: Compiler module ;MinGW yes Minimalist GNU for Windows Abbreviation ;MinGW yes windows Used on the platform GNU Toolset import collection
       Insert picture description here
  • tools Component selection
    • Qt Creator 4.8.2 CDB Debugger support: Used for and CDB Debugging tool docking , Default installation , Commonly used in VC Compilation of Qt Program
    • MinGW 5.3.0 32-bit: Open source compiler suite
       Insert picture description here
       Insert picture description here
       Insert picture description here
       Insert picture description here
       Insert picture description here

3 - QT Environment variable Settings

  • Add environment variables according to your own compilation , So here I'm going to choose MSCV: The path according to oneself Qt To modify the installation path
    • MinGW:
      • Add the system environment variable named QTPATH The variable of :D:\Qt\Qt5.9.8\5.9.8\mingw53_32
      • System variables Path Add compiler to bin Catalog (uic.exe Location ):D:\Qt\Qt5.9.8\5.9.8\mingw53_32\bin
    • MSVC:
      • Add the system environment variable named QTPATH The variable of :D:\Qt\Qt5.9.8\5.9.8\msvc2017_64
      • System variables Path Add compiler to bin Catalog (uic.exe Location ):D:\Qt\Qt5.9.8\5.9.8\msvc2017_64\bin
  • cmd verification uic -version, It shows that the publication number is set successfully
     Insert picture description here

4 - Qt Starting method

  • The start menu : Click on -> Qt Creator 4.8.2 (Enterprise) -> start-up
    • Assistant(Qt assistant ): Used to view help documents , Has been integrated in Qt Creator in .
    • Designer(Qt The designer ): Graphical interface visual editing tool , Has been integrated in Qt Creator in , stay Qt Creator When editing or creating interface files in , You can turn it on automatically
    • Linguist(Qt Linguist ): Multilingual translation support tools , It can be used to edit language resource files , When developing applications with multilingual interfaces
    • Qt 5.9.8(MinGW 5.3.0 32bit):Qt Command line tools , Used to configure Qt development environment ( It's mainly about setting up PATH Variable )
    • Qt Creator 4.8.2 (Enterprise):Qt Integrated development environment , Use it to create and manage Qt project
       Insert picture description here

5 - Qt Of VS plug-in unit vsaddin( Optional )

  • Download address http://mirrors.ustc.edu.cn/qtproject/archive/vsaddin/
  • Version selection : Any version can , As long as you can match your own vs Version can , So here I'm going to choose 2.2.2 edition
     Insert picture description here
  • close vs2017, Double click Install : Open again after installation vs2017 You can see “Qt VS Tools”
     Insert picture description here
     Insert picture description here
  • To configure Qt Options:Qt Vesions -> Add
     Insert picture description here
原网站

版权声明
本文为[Endless character]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261626276609.html

随机推荐