Bootable Qt-Linux Application

2019-02-02 12:40发布

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)

5条回答
▲ chillily
2楼-- · 2019-02-02 12:43

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楼-- · 2019-02-02 12:50

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

查看更多
趁早两清
4楼-- · 2019-02-02 12:51

Perhaps you could look at how this guy did it:

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

查看更多
戒情不戒烟
5楼-- · 2019-02-02 12:55
放我归山
6楼-- · 2019-02-02 12:55

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.

查看更多
登录 后发表回答