异常:This application failed to start because it could not find or load the Qt platform plugin "windows"

解决步骤:
第一步:检查我们是否已经将windows.lib和Qt5PlatformSupport.lib这两个库链接,如果没有链接,我们需要先链接;
第二步:如果发现第一步还是没能解决问题,我们就需要将#include <QtPlugin> Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin) 加到main函数开头,到了这一步,一般都能解决问题
浙公网安备 33010602011771号