cannot open file ‘kernel32.lib’
Project properties -> VC++ Directories -> Library Directories
\$(WindowsSDK_LibraryPath_x86) (for win32 project) or $(WindowsSDK_LibraryPath_x64) (x64 project)
开始调试时,我会得到:程序无法启动,因为您的计算机缺少Qt5Cored.dll。 尝试重新安装程序来修复此程序。
使用1
PATH=%QTDIR%\bin;%PATH%;
以下不会工作1
PATH=$(QTDIR)\bin;$(PATH);
初始化列表
DEFINES += Q_COMPILER_INITIALIZER_LISTS