Bootable Qt-Linux Application

核能气质少年 提交于 2019-12-18 11:29:06

问题


How to boot a linux kernel + dependencies and auto run a Qt application so the linux environment doesn't show up (only the Qt GUI is visible)?

on x86 PCs

should be able to run from RAM (of course)


回答1:


Perhaps you could look at how this guy did it:

http://www.embedded-bits.co.uk/2011/1-second-linux-boot-to-qt/




回答2:


You could start with a minimal linux distribution such as Ubuntu Server and install only X-Windows (without any Window Manager) on top of it: https://help.ubuntu.com/community/ServerGUI

Then, start your Qt application by adding a call to it in the .xinitrc initialization script.




回答3:


Might be helpfull Linux Journal KDE Kiosk Mode




回答4:


Why not run x server without window manager and the running the application in full screen mode on that x server.

to start x server type startx and then you must run your application in fullscreen mode (your app must support this mode by argument switch like this)

./myapp --fullscreen




回答5:


I have never tried this, but try google for 'framebuffer'. It should allow you to run a single application with no need for X server.



来源:https://stackoverflow.com/questions/5361491/bootable-qt-linux-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!