QXcbConnection: Could not connect to display, when trying to debug Linux app with Qt Creator

后端 未结 2 1700
被撕碎了的回忆
被撕碎了的回忆 2021-01-25 18:49

I am trying to port a set of Windows applications that were built with Qt Creator to Linux. I have installed Qt Creator 4.0.2 based on Qt 5.7.0 in a 64-bit Ubuntu 16.04 virtual

2条回答
  •  不思量自难忘°
    2021-01-25 19:03

    Turns out that all I had to do was check the "Run in terminal:" check box in the "Start Debugger" dialog window.

提交回复
热议问题