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?

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 2 Aug 2020, 17:01 last edited by ChiK 8 Feb 2020, 17:11
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 2 Aug 2020, 17:30 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 3 Aug 2020, 01:01
      0
      • S SGaist
        2 Aug 2020, 17:30

        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 3 Aug 2020, 01:01 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Aug 2020, 19:29 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 3 Aug 2020, 21:09
          0
          • S SGaist
            3 Aug 2020, 19:29

            Yes you can.

            C Offline
            C Offline
            ChiK
            wrote on 3 Aug 2020, 21:09 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Aug 2020, 18:17 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

              6/6

              4 Aug 2020, 18:17

              • Login

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