Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to add libraries to the program in MacOS?
Forum Updated to NodeBB v4.3 + New Features

How to add libraries to the program in MacOS?

Scheduled Pinned Locked Moved Solved General and Desktop
15 Posts 4 Posters 1.2k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #6

    What do you mean by assembled ?
    Did you use macdeployqt before sending the application ?
    Are you using SQLite directly or are you using the QtSql module ?

    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
    2
    • M Offline
      M Offline
      Mikeeeeee
      wrote on last edited by
      #7

      I use SQLite directly. How to use macdeployqt ?

      SGaistS 1 Reply Last reply
      0
      • Q Offline
        Q Offline
        quadbyte
        wrote on last edited by
        #8

        to include all lib dependencies in you app, ou must use macdeployqt

        1 Reply Last reply
        0
        • M Mikeeeeee

          I use SQLite directly. How to use macdeployqt ?

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #9

          @mikeeeeee what about reading the documentation ?

          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
          1
          • M Offline
            M Offline
            Mikeeeeee
            wrote on last edited by
            #10

            @sgaist said in How to add libraries to the program in MacOS?:

            @mikeeeeee what about reading the documentation ?

            But in this documentation there is no instruction how to collect libraries in a folder by the program.

            J.HilkJ 1 Reply Last reply
            0
            • M Mikeeeeee

              @sgaist said in How to add libraries to the program in MacOS?:

              @mikeeeeee what about reading the documentation ?

              But in this documentation there is no instruction how to collect libraries in a folder by the program.

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #11

              @mikeeeeee the linked page can be a bit overwhelming
              take a look at the section specific to to macdeploymenttool:
              https://doc.qt.io/qt-5/macos-deployment.html#the-mac-deployment-tool


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Mikeeeeee
                wrote on last edited by
                #12

                @j-hilk said in How to add libraries to the program in MacOS?:

                the linked page can be a bit overwhelming
                take a look at the section specific to to macdeploymenttool:

                I didn't understand. I very recently got acquainted with Makos. How do I copy the required libraries to the program folder? Are there examples?

                J.HilkJ 1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Mikeeeeee
                  wrote on last edited by
                  #13

                  Maybe QtInstallerFramework can help?

                  1 Reply Last reply
                  0
                  • M Mikeeeeee

                    @j-hilk said in How to add libraries to the program in MacOS?:

                    the linked page can be a bit overwhelming
                    take a look at the section specific to to macdeploymenttool:

                    I didn't understand. I very recently got acquainted with Makos. How do I copy the required libraries to the program folder? Are there examples?

                    J.HilkJ Offline
                    J.HilkJ Offline
                    J.Hilk
                    Moderators
                    wrote on last edited by
                    #14

                    @mikeeeeee said in How to add libraries to the program in MacOS?:

                    @j-hilk said in How to add libraries to the program in MacOS?:

                    the linked page can be a bit overwhelming
                    take a look at the section specific to to macdeploymenttool:

                    I didn't understand. I very recently got acquainted with Makos. How do I copy the required libraries to the program folder? Are there examples?

                    the macdeployment tool does it for you, that's the point, and the docu section has an example on how to call it


                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                    Q: What's that?
                    A: It's blue light.
                    Q: What does it do?
                    A: It turns blue.

                    1 Reply Last reply
                    2
                    • M Offline
                      M Offline
                      Mikeeeeee
                      wrote on last edited by
                      #15

                      Its work

                      QMAKE_POST_LINK += "~/Qt/5.12.0/clang_64/bin/macdeployqt $${TARGET}.app $$escape_expand( \\n\\t )"
                      
                      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