Qt6.8环境下编译窗口程序成功,运行时报“qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.”
优快云中查阅多个帖子,发现应该是本机装了多个Qt相关程序的冲突问题
检查环境变量,发现QT_PLUGIN_PATH指向了PyQt下的相关插件路径
在QtCreator中点击项目->Build Environment下展开详情列表,找到QT_PLUGIN_PATH点击右侧EDIT按钮,写入的值(即当前编译器下的plugin路径)