QT compile programs on vs2015 environment to build

  1. Download the corresponding version of QT (to QT5.7.0 for example), enter the website http://download.qt.io/archive/qt/5.7/5.7.0/, download MSVC version QT, my system is 64-bit, VS version is 2015, so download qt-opensource-windows-x86-msvc2015_64-5.7.0.exe this QT version (VS according to their system and download the corresponding version of QT).
  2. After installing the download will not say, click 'Next' like (Note: The installation directory can not have Chinese, the default component selection or select all do, according to individual needs).
  3. QT version After installing, enter the VS2015 download VS end QT development tools in the menu bar, choose (Tools -> Extensions and Updates -> Online), and then enter the QT in the search box, download Qt Viusal Studio Tools, wait for the installation to complete.
  4. After installation, we can find Qt VS Tools option on the VS menu bar, click to select Qt Options, click add, select the path (path installed QT's) in the Path there, here is my C drive (C: \ Qt \ Qt5 .7.0 \ 5.7 \ msvc2015_64), be sure to choose to msvc2015_64, should not be displayed Can not find qmake.exe.
  5. This way the environment has been set up is complete, you can then run the new QT compile the project.

Guess you like

Origin www.cnblogs.com/hwenxu/p/10936859.html