QtAV编译问题,This application failed to start beause no Qt platform plugin could be initialized Reinstal

QtAV编译问题,This application failed to start beause no Qt platform plugin could be initialized Reinstal_第1张图片

Qt5.15.1打开QtAV项目,却运行不了example ,报以上错误,

解决方案:项目构建环境中添加 变量QT_PLUGIN_PATH ,值为Qt对应的bin下plugins文件夹,如:

QtAV编译问题,This application failed to start beause no Qt platform plugin could be initialized Reinstal_第2张图片

之后重新编译其example,运行即可;

你可能感兴趣的:(qt,开发语言)