我的电脑是window7,安装QT Creator之后,打不开,报错信息大致如下:
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: direct2d, minimal, offscreen, windows
网上找了半天,有类似我的错误,但是貌似和我的错误不一样,所以解决不了,谷歌了一下找到这个回答,这里也给一下连接:
Check whether you have an environment variable (system-wide or user-level) QT_PLUGIN_PATH defined.
来自:https://forum.qt.io/topic/99145/this-application-failed-to-start-because-no-qt-platform-plugin-could-be-initialized/4
于是删除环境变量中的QT_PLUGIN_PATH和另外一个QT_啥啥啥,QT Creator可以正常打开了,这个环境变量大概是我使用pyQT的时候添加上去的,之后我估计pyQT是不是使用不了o(╥﹏╥)o,这个到时候再说吧,目前暂时不使用pyQT。