Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Xcb set Display number xorg
How can i set the display number the application uses. Are there any arguments or parameter. I don't want to use environment variable (export DISPLAY=:1)
IIRC you can pass the
-displayparameter to your application.
Thank you! it works. How do you no the parameters. Is there a list?
You can find them in the QGuiApplication documentation. You can also take a look at QApplication and QCoreApplication.