Run QT app by disabling the display and UI
-
Hello,
I am trying to execute my QT app by disabling the display and user interface. Can you please guide me in this!?
I have tried using following things but nothing has worked for me.- my-app --platform offscreen
- my-app -qws -display QVFB:0
- export DISPLAY=:0
- Commenting code related to UI invoke, changing current window in stacked widget, hiding, showing and deleting windows
I get following error in the USB logs:
Executing My App...
Warning: EGLFS: Failed to open /dev/fb1
Fatal: EGLFS: Can't continue without a display
Aborted -
Hello,
I am trying to execute my QT app by disabling the display and user interface. Can you please guide me in this!?
I have tried using following things but nothing has worked for me.- my-app --platform offscreen
- my-app -qws -display QVFB:0
- export DISPLAY=:0
- Commenting code related to UI invoke, changing current window in stacked widget, hiding, showing and deleting windows
I get following error in the USB logs:
Executing My App...
Warning: EGLFS: Failed to open /dev/fb1
Fatal: EGLFS: Can't continue without a display
Aborted@pruthashinde You need to use https://doc.qt.io/qt-6/qcoreapplication.html for Qt applications without UI.