Qt creator启动失败This application failed to start because it could not find or load the Qt platfo rm plugin "windows".

环境:

  qt5.11.1

  windows 10

步骤:

  按照网上给的教程安装完qt之后,运行qt creator的时候提示This application failed to start because it could not find or load the Qt platfo rm plugin "windows".google了一个,发现需要在系统环境变量中设置QT_QPA_PLATFORM_PLUGIN_PATH=<QT_BASE>\plugins\platforms,这样就可以运行了。运行qtdiag.exe的时候在控制台中会显示出来platform它是在哪里查找的。

posted @ 2018-12-07 17:10  知识的小海绵  阅读(763)  评论(0编辑  收藏  举报