qt app发布,运行在没有安装qt环境的linux(ubuntu)系统中,
使用linuxdeployqt输出可执行程序。
遇到的错误:
Static Qt: This application failed to start because it could not find or load the Qt platform plugin "xcb".
如何解决:
在项目的pro文件中:
CONFIG += qt static
instead of
CONFIG = qt static