If you want to display the qt interface, you must have the x server. Without this startx, the graphical interface should not be displayed. . If it is a terminal, it is ok. As long as the system is started and the sshd service is started, the screen will be fine if it is not. Just connect directly with ssh. .
Answer for yourself
It has been solved. Qt supports direct output to the Framebuffer device. Just set it in the environment variable
That’s it, then just pay attention to the resolution when developing
If you want to display the qt interface, you must have the x server. Without this startx, the graphical interface should not be displayed. .
If it is a terminal, it is ok. As long as the system is started and the sshd service is started, the screen will be fine if it is not. Just connect directly with ssh. .