QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/TMP/runtime - root'
Qt. Qpa. Screen: QXcbConnection: Could not connect to the display
Could not connect to any X display.
Baidu's solutions are not, uninstall ime didn't effect
Qt version: 5.9.8
Unubtu version: 19.10
Running in the VM virtual machine,
Seek solutions...
I temporarily first not bothering Linux, Linux above when the desktop system to use all not accustomed to, waste a lot of time to deal with all kinds of pit...
CodePudding user response:
Also ask a question: Linux users than Windows and MAC users should rarely, qt software release Linux and MAC version whether it makes sense, I feel few... No marketCodePudding user response:
I feel is the ubuntu bottoms with virtual software, even if installed fcitx, switch input method will surely and Windows conflict,Because the input of Chinese, is not installed,
Is usually the window under the input the stick into the ubuntu Qt again, with the trouble
CodePudding user response:
Actually I most Qt application are basically on Linux, you export the DISPLAY=: 0.0 to run your applicationCodePudding user response: