Qt has a special Mac deployment tool macdeployqt designed to automate the process of creating an application bundle containing Qt libraries.
Questions tagged [macdeployqt]
54 questions
16
votes
9 answers
Qt 5.1 and Mac: Bug making macdeployqt not working properly
I have a problem since the version 5.1rc2 of Qt for Mac OS X. (5.1 is also affected, not the 5.1rc1)
When I build my app and do a otool -L on the binary file to see the paths of the shared libraries, I get: (it's just a sample, I removed some of…

Christophe
- 958
- 12
- 20
13
votes
4 answers
macdeployqt and third party libraries
I've got an application project that depends on a couple of shared libraries that I have created myself. According to the Qt 4.6 documentation "Deploying an Application on Mac OSX":
Note: If you want a 3rd party library
to be included in your…

randusr836
- 445
- 1
- 3
- 16
6
votes
2 answers
How do I make apps smaller with qmake and macdeployqt
How do I make apps smaller with qmake and macdeployqt?
I have set QT = core gui in the projects .pro file and run qmake and macdeployqt on the resulting app.
The problem is that the program is bundling QtNetwork, QtScript, QtSvg etc. I've tried…

Daniel O
- 4,607
- 6
- 44
- 52
4
votes
1 answer
Qt Mac Application Failed to Create Self-contained App Bundle (Qt Creator Build)
I'm using Qt Creator 3.6.1 with Qt 5.6.0 (Clang 7.0 (Apple), 64 bit), and I encountered some problems while trying to create an app bundle for deployment.
Note: the app name is called bibi
Qt Creator successfully generated bibi.app under…

Heron Yang
- 336
- 2
- 16
4
votes
0 answers
macdeployqt ERROR: Cannot resolve rpath "QtGui.framework/Versions/5/QtGui (compatibility version 5.5.0, current version 5.5.0)"
I use qmake to compile my Qt Application project on my MacBook.
It need a dylib called libcore.dylib, and I put it into dir $$OUT_PWD/../libs.
for compile, I add this code in .pro file
win32:CONFIG(release, debug|release): LIBS +=…

sjchao
- 41
- 4
3
votes
0 answers
using macdeployqt with arm64 build
I have problems using macdeployqt with arm64 build. I am on Apple Silicon M1 machine with macOS12 (Monterey). I have installed Qt 6.2.1 and XCode 13.1.
I created a very simple console application.
#include
int main()
{
qDebug() <<…

HiFile.app - best file manager
- 7,273
- 2
- 32
- 80
3
votes
3 answers
How to make macdeployqt change the library names inside QtWebEngineProcess.app when it copies over QtWebEngineCore framework
Edit: using Qt 5.9.1, installed with Homebrew
Following a comment in this other question, we are trying to use macdeployqt to prepare the distribution of the OSX bundle of a Qt based application.
This tool is correctly copying over all Qt…

Ad N
- 7,930
- 6
- 36
- 80
3
votes
1 answer
Error deploying Qt application on OS X
I'm trying to deploy a Qt application on OS X using macdeployqt:
macdeployqt MyApplication.app -dmg
The application uses the Qwt library, which is being included in the PRO file as follows:
macx: QWT_ROOT = /usr/local/qwt-6.1.0
include (…

KelvinS
- 2,870
- 8
- 34
- 67
3
votes
1 answer
macdeployqt not copying plugins
I'm developing a Qt-based application and when I use macdeployqt on the bundle, the Qt plugins are not copied to the bundle.
However, if I run it a second time, they are. Additionally, "The svg icon plugin is deployed if the application uses the…

Jake Petroules
- 23,472
- 35
- 144
- 225
3
votes
0 answers
Macdeployqt: ERROR: no file at "/Users/michael/Qt5.3.2/5.3/clang_64/lib/QtQuick.framework/Versions/5/QtQuick"
I recently updated from Qt 5.3 to Qt 5.5. Since the update, I can't seem to get macdeployqt to work properly. When I call it for my application, I get the following output:
Michaels-Mac-mini:Desktop michael$ ~/Qt/5.5/clang_64/bin/macdeployqt…

Michael Cooper
- 2,255
- 2
- 18
- 21
3
votes
1 answer
Qt macdeployqt - crash after using
When I run application after using macdeploy my application crashed.
I trying use SDK 4.8.5 and 5.2... but nothing to changes..
Command:
Users/ltise/Qt5.2.0/5.2.0/clang_64/bin/macdeployqt Application.app -verbose=2
Log:
Log: Deploying Qt frameworks…

ltise
- 31
- 5
3
votes
1 answer
Macdeployqt is not working
I've installed the latest version of Qt (5.1) and when I try to deploy my app on Mac using the macdeployqt tool, the app is still not working on other macs. It's completely working on my Mac and it doesn't not indicate any errors. After researches I…

Pomologue
- 33
- 1
- 4
3
votes
1 answer
How to include Qt libraries with CMake inside a .app project on OSX?
I've created a Qt project using CMake as build system. I would like to include in the deployment phase, the necessary Qt frameworks
Qt3Support.framework/ QtNetwork.framework/ QtXml.framework/
QtCore.framework/ QtOpenGL.framework/ …

linello
- 8,451
- 18
- 63
- 109
3
votes
1 answer
Missing file when deploying Qt app on Mac OSX
I'm trying to deploy a Qt application on Mac OSX so I'm running this command:
macdeployqt Example.app
It mostly seems to work as the executable grows in size so I assume the relevant plugins and libraries are being added. However, in the end…

laurent
- 88,262
- 77
- 290
- 428
2
votes
1 answer
macdeployqt breaking app
I've installed Qt creator 5.11.0,
then i changed some things i needed to change on my old project and when i try to build it, it works as intended, but after using macdeployqt, my app can't load.
So, when i run macdeployqt like this :
./macdeployqt…

Uros
- 303
- 1
- 3
- 13