Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Run my application as default without showing the original 'Desktop application'
Qt 6.11 is out! See what's new in the release blog

Run my application as default without showing the original 'Desktop application'

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xyaw
    wrote on last edited by
    #1

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

    jsulmJ 1 Reply Last reply
    0
    • X xyaw

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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      X 1 Reply Last reply
      0
      • jsulmJ jsulm

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

        X Offline
        X Offline
        xyaw
        wrote on last edited by xyaw
        #3

        @jsulm
        After booting , QT will show an application and it's title is called 'Desktop' .
        Such as like below:
        Desktop application

        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' .

        1 Reply Last reply
        0
        • Paul ColbyP Offline
          Paul ColbyP Offline
          Paul Colby
          wrote on last edited by
          #4

          Hi @xyaw,

          If I understand correctly, you're options would be:

          1. 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
          2. 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
          3. 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.

          Cheers.

          X 1 Reply Last reply
          0
          • Paul ColbyP Paul Colby

            Hi @xyaw,

            If I understand correctly, you're options would be:

            1. 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
            2. 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
            3. 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.

            Cheers.

            X Offline
            X Offline
            xyaw
            wrote on last edited by
            #5

            @Paul-Colby
            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 :
            /usr/bin/ck-launch-session /usr/bin/matchbox-session
            /usr/bin/ck-list-sessions /usr/bin/mini-x-session
            /usr/bin/dbus-run-session /usr/bin/session-test
            /usr/bin/lttng-sessiond /usr/bin/x-session-manager
            )

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved