Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Macdeployqt dmg disabled build versions in Qt
QtWS25 Last Chance

Macdeployqt dmg disabled build versions in Qt

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
macdeployqt
35 Posts 2 Posters 12.1k 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.
  • S SGaist
    5 Jan 2018, 20:40

    Are you using a self-compiled Qt ?

    R Offline
    R Offline
    RaZp29
    wrote on 6 Jan 2018, 08:23 last edited by
    #26

    @SGaist No I downloaded the whole package from Qt, with Creator and everything and just used the provided installer.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 6 Jan 2018, 21:39 last edited by SGaist 1 Aug 2018, 09:23
      #27

      Ok, I was using my own build of Qt.

      Configure the complete qttools module then you can just build macdeployqt.

      mkdir build_qttools
      pushd build_qttools
      /path/to/qmake /path/to/Qt/qttools/ -r
      make -C src/macdeployqt
      cp bin/macdeploqt /path/to/macdeployqt
      

      [edit: added missing option. SGaist]

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

      R 1 Reply Last reply 8 Jan 2018, 09:00
      1
      • S SGaist
        6 Jan 2018, 21:39

        Ok, I was using my own build of Qt.

        Configure the complete qttools module then you can just build macdeployqt.

        mkdir build_qttools
        pushd build_qttools
        /path/to/qmake /path/to/Qt/qttools/ -r
        make -C src/macdeployqt
        cp bin/macdeploqt /path/to/macdeployqt
        

        [edit: added missing option. SGaist]

        R Offline
        R Offline
        RaZp29
        wrote on 8 Jan 2018, 09:00 last edited by
        #28

        @SGaist
        build_qttools user$ make -C src/macdeployqt gives me:
        make: *** src/macdeployqt: No such file or directory. Stop.
        and
        build_qttools user$ make -C pathTo/qttools/src/macdeployqt make: *** No targets specified and no makefile found. Stop.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 8 Jan 2018, 09:23 last edited by
          #29

          There was an option missing. You have to do a recursive configuration. Sorry. I've updated the sample.

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

          R 1 Reply Last reply 8 Jan 2018, 12:25
          0
          • S SGaist
            8 Jan 2018, 09:23

            There was an option missing. You have to do a recursive configuration. Sorry. I've updated the sample.

            R Offline
            R Offline
            RaZp29
            wrote on 8 Jan 2018, 12:25 last edited by
            #30

            @SGaist thanks for the quick update, now I got this.
            cp: cannot overwrite directory pathTo/qttools/src/macdeployqt/macdeployqt with non-directory bin/macdeployqt

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 8 Jan 2018, 12:26 last edited by
              #31

              When calling make install ?

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

              R 1 Reply Last reply 8 Jan 2018, 12:30
              0
              • S SGaist
                8 Jan 2018, 12:26

                When calling make install ?

                R Offline
                R Offline
                RaZp29
                wrote on 8 Jan 2018, 12:30 last edited by RaZp29 1 Aug 2018, 12:59
                #32

                @SGaist when calling cp bin/macdeployqt /path/to/macdeployqt

                Should there be an / after qttools in /path/to/qmake /path/to/Qt/qttools/ -r?

                Or when doing:
                make -C src/macdeployqt :
                cd macdeployqt/ && ( test -e Makefile || /Users/user/Qt5.10.0/5.10.0/clang_64/bin/qmake -o Makefile /Users/user/qttools/src/macdeployqt/macdeployqt/macdeployqt.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile make[1]: Nothing to be done for first'.`

                My files are laid out like this in my home/root folder of the user:
                /Qt/5.9.2 which I got from the complete Qt installation.
                /Qt5.10.0 New version of Qt downloaded later on
                /qttools git cloned version with the patch

                I've been referring to the path of macdeployqt from the cloned git version, not the ones inside Qt5.9.2 or 5.10.0,
                to qmake inside Qt5.10.0 and to
                qttools in my root/home folder not inside Qt5.9.2 or 5.10.0

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 8 Jan 2018, 21:22 last edited by
                  #33

                  It should go in the bin folder of your Qt installation.

                  What you seem to be doing is trying to copy the executable in a folder that contains a folder named macdeployqt.

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

                  R 1 Reply Last reply 9 Jan 2018, 06:40
                  0
                  • S SGaist
                    8 Jan 2018, 21:22

                    It should go in the bin folder of your Qt installation.

                    What you seem to be doing is trying to copy the executable in a folder that contains a folder named macdeployqt.

                    R Offline
                    R Offline
                    RaZp29
                    wrote on 9 Jan 2018, 06:40 last edited by
                    #34

                    @SGaist okey, so it's like:
                    mkdir build_qttools
                    pushd build_qttools
                    /path/to/qmake in Qt5.9 or 5.10 /path/to/Qt/qttools from gitClone? / -r
                    make -C src/macdeployqt
                    cp bin/macdeploqt /path/to/macdeployqt in Qt 5.9 or 5.10

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 9 Jan 2018, 22:49 last edited by
                      #35

                      Looks correct yes

                      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

                      35/35

                      9 Jan 2018, 22:49

                      • Login

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