How to add libraries to the program in MacOS?
-
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 ? -
wrote on 15 Sept 2019, 06:57 last edited by
I use SQLite directly. How to use macdeployqt ?
-
wrote on 15 Sept 2019, 17:49 last edited by
to include all lib dependencies in you app, ou must use macdeployqt
-
@mikeeeeee what about reading the documentation ?
-
wrote on 16 Sept 2019, 08:13 last edited by
@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.
-
@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.
@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 -
wrote on 16 Sept 2019, 10:47 last edited by
@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?
-
wrote on 16 Sept 2019, 10:57 last edited by
Maybe QtInstallerFramework can help?
-
@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?
@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
-
wrote on 17 Sept 2019, 16:23 last edited by
Its work
QMAKE_POST_LINK += "~/Qt/5.12.0/clang_64/bin/macdeployqt $${TARGET}.app $$escape_expand( \\n\\t )"
15/15