Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:tools:qt_linux [2020/06/12 03:05]
alanzheng created
tutorials:tools:qt_linux [2020/06/12 11:19] (current)
alanzheng
Line 1: Line 1:
 ==== How to solve error QXcbConnection:​ Could not connect to display ==== ==== How to solve error QXcbConnection:​ Could not connect to display ====
 +
 +<​code>​
 +ls /​usr/​lib/​arm-linux-gnueabihf/​qt5/​plugins/​platforms/​
 +libqeglfs.so ​   libqminimalegl.so ​ libqoffscreen.so ​ libqxcb.so
 +libqlinuxfb.so ​ libqminimal.so ​    ​libqvnc.so
 +</​code>​
  
   - export QT_QPA_PLATFORM=offscreen   - export QT_QPA_PLATFORM=offscreen
   - export DISPLAY=:​0.0   - export DISPLAY=:​0.0