1.设置环境变量 export QT_DEBUG_PLUGINS=1查看到详细的报错信息
设置完这个环境变量后,在重新运行qt程序
2.仔细阅读输出,找到原因(途中选中部分给出原因)
然后根据报错,将对应的动态库逐个移动到当前运行目录的platforms文件夹中或者讲对应动态库的软连接处理好。
1.设置环境变量 export QT_DEBUG_PLUGINS=1查看到详细的报错信息
设置完这个环境变量后,在重新运行qt程序
2.仔细阅读输出,找到原因(途中选中部分给出原因)
然后根据报错,将对应的动态库逐个移动到当前运行目录的platforms文件夹中或者讲对应动态库的软连接处理好。