Home > Mobile >  Unubtu command line running qt error
Unubtu command line running qt error

Time:09-16

Linux qt over various don't adapt to the above, after installing the qt running well at the beginning, to install the sogou input method, after restart the machine to run again, tips are as follows:
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 market

CodePudding 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 application

CodePudding user response:

reference donwmufromdying reply: 3/f
actually I most Qt application are basically on Linux, you export the DISPLAY=: 0.0 to run your application to see
this method baidu tried, when I was useless, not for this now

CodePudding user response:

You are your compile from source QT? X11 installation

CodePudding user response:

Many qt development are under Linux, because to do embedded Linux application,

CodePudding user response:

Didn't finish writing it, also may not be able to change
Many qt development are under Linux, because to do embedded Linux application,
When we development under ubuntu ubuntu didn't install Chinese input method, if you want to type in Chinese, directly under Windows to lose well, and then paste into the virtual machine, is a bit of trouble
  •  Tags:  
  • Qt
  • Related