Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cross-platform application launcher example ?

Cross-platform application launcher example ?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.1k 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.
  • M Offline
    M Offline
    motorsep
    wrote on last edited by
    #1

    I am looking for an example of a simple app launcher for Windows/Linux (or if someone can program it for me)

    At this stage all I need for it to do is the following:

    • User launches launcher.exe
    • Launcher opens a standard to OS window with 2 buttons Run Game and Quit
    • If user presses Quit, launcher quits.
    • If user presses Run Game, the launcher executes game.exe in the same folder as launcher, minimized itself.
    • If game's exe isn't found, launcher pops error window saying "Game's executable isn't found" with Ok button, which closes the error window and goes back to launcher's window.
    • When user quits the game, and game's binary is no longer in RAM, launcher automatically quits.
    • If the game crashes (or anything other than normal exit), launcher doesn't quit, and instead pops an error window saying "You game crashed or terminated unexpectedly" with Ok button.

    Thanks.

    [edit: Made a proper list to make the post readable SGaist]

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Have a look at the "Fluid Launcher Demo" in Qt's documentation, it should give you a good starting point.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        motorsep
        wrote on last edited by
        #3

        Thanks, but isn't it for mobile apps only?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          The GUI part was designed with mobile in mind but the core logic is the same

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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