可启动的Qt-Linux应用程序 [英] Bootable Qt-Linux Application

查看:104
本文介绍了可启动的Qt-Linux应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何启动linux内核+依赖项并自动运行Qt应用程序,从而使Linux环境不显示(仅Qt GUI可见)?

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)?

x86 PC上

应该能够从RAM中运行(当然)

should be able to run from RAM (of course)

推荐答案

您可以从最小的Linux发行版开始,例如Ubuntu Server,然后在其之上仅安装X-Windows(不带任何Window Manager): https://help.ubuntu.com/community/ServerGUI

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

然后,通过在中添加对它的调用来启动Qt应用程序.xinitrc 初始化脚本.

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

这篇关于可启动的Qt-Linux应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆