Bootable Qt-Linux Application

2019-02-02 12:32发布

问题:

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.