Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5 deployment: how to create .app bundle for macx
Forum Updated to NodeBB v4.3 + New Features

Qt5 deployment: how to create .app bundle for macx

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 3 Posters 1.4k 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
    xalisonx
    wrote on last edited by
    #1

    I need to create a .app from my qt project for macx. I've create a simple sample project console, with
    CONFIG += app_bundle in .pro file

    then I used macdeployqt.

    When double click on .app, the application start to blinking in the mac bottom bar for at least 1 minute, then stop it. No windows or message shown. When right click, only force quit command available.

    Any ideas? Thanks!
    Alison

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

      Hi and welcome to devnet,

      Start your application from the command line and you should see if you are getting any errors

      By the way, why a console application and not a default QWidget application ?

      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
      • X Offline
        X Offline
        xalisonx
        wrote on last edited by
        #3

        Nice intuition and thanks! With QWidget application working well... but I need to be working also with console application. Is it possible?

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

          You're welcome !

          What should your console application do ?

          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
          • X Offline
            X Offline
            xalisonx
            wrote on last edited by
            #5

            Run a local http server.

            I've tried with a simple console application, with only a standard cout in the main, but still doesn't work.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              PSI-lbc
              wrote on last edited by
              #6

              Will the console app run on the system you developed on..or are you moving the app bundle to a new system?

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

                Can you show your application code ?

                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