vs2017 + QT developers to add a new module appears LNK2019 problem

I would like to add a serial port module, now found after the addition of header files as long as a statement on the report lnk2019, find an effective solution is as follows:

Transfer from https://blog.csdn.net/liulihuo_gyh/article/details/8181955

VS + QT PRO file no problem

Today the need to use xml,

#include <QDomDocument>  

Tips can not be opened

Then Baidu, said the need to pro file inside + xml, but there is no pro vs + QT file,

Accidentally found a solution

or

appear

 

ps: the beginning of the establishment of the project is required to select the desired library

 

Guess you like

Origin www.cnblogs.com/xuhongfei0021/p/12544141.html