Programming/qt

qt5 fb reset

구차니 2021. 2. 23. 13:56

, 인줄 알았는데 : 로 해주어야 하네

QT_QPA_PLATFORM=linuxfb:fb=/dev/fb1:nographicsmodeswitch ./qt_app

 

nographicsmodeswitch Specifies not to switch the virtual terminal to graphics mode (KD_GRAPHICS). Typically, enabling graphics mode disables the blinking cursor and screen blanking. However, when this parameter is set, those two features are also skipped.

[링크 : https://doc.qt.io/qt-5/embedded-linux.html]

 

export QWS_DISPLAY="<driver>[:<driver specific options>]...
          [:<display num>]"

[링크 : https://qt.developpez.com/doc/4.7/qt-embedded-displaymanagement/]