error LNK2019: 无法解析的外部符号 QT使用API

QT调用一些Window API函数,会出现 无法解析的外部符号。

怎么办?

在pro工程文件中加入一行
LIBS += -luser32

猜你喜欢

转载自blog.csdn.net/gaoenyang760525/article/details/103191648
今日推荐