Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Macdeployqt for Command Line Executable?

    Installation and Deployment
    deployment macos
    2
    6
    487
    Loading More Posts
    • 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
      ChiK last edited by ChiK

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • C
          ChiK @SGaist last edited by

          @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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • C
              ChiK @SGaist last edited by

              @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 Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                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 Reply Quote 0
                • First post
                  Last post