Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Run my application as default without showing the original 'Desktop application'
xyaw last edited by
I would like to run my application as default application .
Now , I can run my application after the QT shows default 'Desktop application'.
How should I do the hide the original 'Desktop application'?
( In Android , my application is called 'Launcher' . In QT5 , I don't know .)
@xyaw I don't understand the question. What do you mean by "default application"? Do you mean associate your application with some file type, so it is open when you double click on such a file?
What do you mean by "Desktop application" you want to hide?
xyaw last edited by xyaw
I want to auto run my application after booting without showing the 'Desktop application'.
In Android , my application will be called as 'Launcher'. In QT , I don't know.
I have added my application into the /etc/rc.local .And it auto run after booting. But the LCD will show the 'Desktop' and then show my application. I would like to hide(or disable ) the 'Desktop application' .
Paul Colby last edited by
If I understand correctly, you're options would be:
- keep your window manager, but configure it to not be visible (at least to begin with), with only your app visible; how to do this (where possible) will depend on your window manager (are you using Gnome? KDE? etc); or
- replace your window manager with your app; this should be possible, but the implementation will depend on the distro (eg probably a lot easier under Arch, than say Ubuntu); or
- replace the whole OS with just you're app with minimal dependencies - for that, I'd start by looking at Boot to Qt.
Of course, I may be totally misunderstanding your question, but hopefully that helps a little.
xyaw last edited by
If I would like to use the way 1(keep the window manager). Could you please share more detail?
I use the cmd as " ls /usr/bin/session "
Below is the information :