QT project compilation

When a computer installed with multiple QT version in my computer, there is QT 5.3.2 with VS2013, there QT5.11.2 with VS2019.

When you import a QT project written by someone else, pay attention to choose a good compiler version in the corresponding QT VS TOOL years.

 

 Ensure that Qt Project Settings in

 

 vs contained in the header file note. QT version 5.3.2 installed on my computer in the root directory of E

E:\Qt\Qt5.3.2\5.3\msvc2013_64\include\QtCore;E:\Qt\Qt5.3.2\5.3\msvc2013_64\include\QtGui;E:\Qt\Qt5.3.2\5.3\msvc2013_64\include\QtWidgets;E:\Qt\Qt5.3.2\5.3\msvc2013_64\include\QtXml;E:\Qt\Qt5.3.2\5.3\msvc2013_64\include\QtNetwork;E:\Qt\Qt5.3.2\5.3\msvc2013_64\include\QtMultimedia;E:\Qt\Qt5.3.2\5.3\msvc2013_64\include;E:\Qt\Qt5.3.2\5.3\msvc2013_64\include\QtSql;

 

 A very important step here is the E: \ Qt \ Qt5.3.2 \ 5.3 \ msvc2013_64 \ include include it

Link stage

Additional Libary sub-options under the General tab Dicrectories add

E:\QT\QT5.3.2\5.3\MSVC2013_64\lib;E:\Qt\Qt5.3.2\5.3\msvc2013_64\lib;

Additional Dependencies sub-options under option to add Input

E:\QT\QT5.3.2\5.3\MSVC2013_64\lib\qtmain.lib;E:\Qt\Qt5.3.2\5.3\msvc2013_64\lib\Qt5Core.lib;E:\QT\QT5.3.2\5.3\MSVC2013_64\lib\Qt5Multimedia.lib;E:\QT\QT5.3.2\5.3\MSVC2013_64\lib\Qt5Widgets.lib;E:\QT\QT5.3.2\5.3\MSVC2013_64\lib\Qt5Xml.lib;E:\QT\QT5.3.2\5.3\MSVC2013_64\lib\Qt5Sql.lib;E:\QT\QT5.3.2\5.3\MSVC2013_64\lib\Qt5Network.lib;E:\QT\QT5.3.2\5.3\MSVC2013_64\lib\Qt5Gui.lib;E:\QT\QT5.3.2\5.3\MSVC2013_64\lib\Qt5Core.lib;

 

If the compiler appears in

Error 19 error MSB3073: The command "" C: \ QT \ QT5.3.2 \ 5.3 \ MSVC2013_64 \ bin \ rcc.exe "generally QT did not find the resource file location

Check the following configuration

 

 

 

 If std :: numeric_limits <qint64> :: min () associated error occurs, it needs to comprise min

 

 

 

 

Guess you like

Origin www.cnblogs.com/japelly/p/11881177.html