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. Macdeployqt for Command Line Executable?
QtWS25 Last Chance

Macdeployqt for Command Line Executable?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
deploymentmacos
6 Posts 2 Posters 1.2k Views
  • 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.
  • C Offline
    C Offline
    ChiK
    wrote on last edited by ChiK
    #1

    When I run macdeployqt on a binary, I get "ERROR: Could not find bundle binary for ...".
    How can I use macdeployqt to make a binary executable (without .app bundle) to run on other machines without QT?

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

      Hi,

      Do you mean a CLI application ? If so, they usually do not have bundles.

      One possibility is to use a static build of Qt but you have to take into consideration the constraints of the licence you are using for Qt.

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

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Do you mean a CLI application ? If so, they usually do not have bundles.

        One possibility is to use a static build of Qt but you have to take into consideration the constraints of the licence you are using for Qt.

        C Offline
        C Offline
        ChiK
        wrote on last edited by
        #3

        @SGaist yes, CLI application.
        I'm just compiling an open source cli application for personal use.
        Can I do this with qt open source?

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

          Yes you can.

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

          C 1 Reply Last reply
          0
          • SGaistS SGaist

            Yes you can.

            C Offline
            C Offline
            ChiK
            wrote on last edited by
            #5

            @SGaist awesome! My qt binary is installed with brew install qt5 on Mac. Is there a specific instruction for this? Thanks!

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

              If you want a full static build, you'll have to build it yourself.

              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