(Qt 5.4.1) This application failed to start because it could not find or load the Qt platform plugin “xcb”

前端 未结 9 1487
陌清茗
陌清茗 2020-11-30 11:57

I reinstalled my ubuntu 14.04 and Qt 5.4.1 and Qtcreator.

Qt 5.4.1 was built from source with \"-opensource -nomake-test -nomake-example\" configure options.

9条回答
  •  旧时难觅i
    2020-11-30 12:44

    for anyone that hasn't found the solution yet and desperately looking for an answer, this is a copy of what @wardw commented on the currently top rated answer, which helped me resolve my underlying issue.

    export QT_DEBUG_PLUGINS=1
    

    put this either in your run configuration or on the console before running your project and it will print more information about what is wrong.

提交回复
热议问题