qt.qpa.xcb: could not connect to display error
-
i am getting this error when i ssh to another machine and try to run my qt app the only thing that removes this error is by remove the qcoreapplication variable and it return in the main function any help ?
-
Hi,
@Dijkstra said in qt.qpa.xcb: could not connect to display error:
i am getting this error when i ssh to another machine and try to run my qt app the only thing that removes this error is by remove the qcoreapplication variable and it return in the main function any help ?
That is highly unlikely as QCoreApplication does not need any connection to the graphics server. Do you maybe have a QGuiApplication or just a QApplication ?
In any case, is it a command line application or does it have a GUI ?
-
i am getting this error when i ssh to another machine and try to run my qt app the only thing that removes this error is by remove the qcoreapplication variable and it return in the main function any help ?