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
2
votes
1 answer
What is the purpose of the path at the top of the window of a mounted .dmg file, and how can I remove it?
I recently created a .dmg for my application using macdeployqt. The application works fine on other Macs, but I noticed that the original location of the built .app is at the top of the window after double clicking on the .dmg:
This is visible even…

Mitch
- 23,716
- 9
- 83
- 122
2
votes
1 answer
macdeployqt seems not work correctly
I am currently trying to deploy my Qt5.8 app on MacOs. A latest Travis job is here. I got the VNote.dmg file after using macdeployqt. Then I copied it to another MacOS and tried to run it, but got the following…

tamlok
- 697
- 1
- 5
- 15
2
votes
1 answer
How to deploy a Qt application that uses SQLite on OS X
I am trying to deploy a Qt application that uses SQLite on OS X.
I simply ran the command:
macdeployqt MyApplication.app -dmg
and I get the following error:
ERROR: no file at "/opt/local/lib/mysql55/lib/libmysqlclient.18.dylib"
I already read…

KelvinS
- 2,870
- 8
- 34
- 67
2
votes
0 answers
macdeployqt - "file not found" - missing qml file from qrc
I am trying to deploy an app using Qt (version 5.6.1) for OS X (10.11.5) with macdeployqt tool. Just after running qmake and make the app seems to work fine. However, when I try to use macdeployqt I am experiencing some errors. The qml files become…

mcjlnrtwcz
- 272
- 3
- 10
2
votes
1 answer
Macdeployqt could not find any external Qt frameworks to deploy
I made a simple animation in Qt/Qml.
I can build the release version fine, with no errors. It also runs correctly. As the project is finished, I tried to deploy it with macdeployqt like this :
./Qt/5.6/clang_64/bin/macdeployqt…

Flare Cat
- 591
- 2
- 12
- 24
2
votes
1 answer
Qt macdeployqt deploy not working properly
I've got an application using sqlite that works fine when running it through the compiler. (Both debug and release more). However when I try to deploy it with macdeployqt I get the following error:
ERROR: no file at…

Alosyius
- 8,771
- 26
- 76
- 120
2
votes
2 answers
How to include an alias to applications when using macdeployqt
I'm trying to find a way to include an alias to the applications folder with my application. I'm trying to get it to look something like this:

Jared Price
- 5,217
- 7
- 44
- 74
1
vote
1 answer
Deploying QT project with opencv and ffmpeg dylib error
When I build my project using the opencv and ffmpeg dylibs my application crashes upon opining with the error:
Dyld Error Message:
Library not loaded:
/usr/local/Cellar/ffmpeg/4.1.3/lib/libswresample.3.dylib
Referenced from:
…

Clarky
- 49
- 6
1
vote
0 answers
macdeployqt not deploying QtQuick modules
I'm using macdeployqt to deploy one QML application to Mac OS and when I finish, with all paths fine and try to execute it from .dmg generated package I can start application. Trying to execute it from term I get a QML error that says QtQuick.Window…

Juan Garcia
- 843
- 2
- 11
- 34
1
vote
1 answer
Location for macdeployqt source
I have to edit my shared.cpp file due to some library linking problem but I can't find the location where it is in my Qt folder that I have installed.
The code can be found in here:…

arqam
- 3,582
- 5
- 34
- 69
1
vote
1 answer
segmentation fault when running macdeployqt
In order to run my Qt app on another Mac, I have the following two lines in my .pro file
MACDEPLOY = `echo $$QMAKE_QMAKE | sed 's/qmake/macdeployqt/g'`
QMAKE_POST_LINK = $$MACDEPLOY $$OUT_PWD/$$TARGET\.app -qmldir=$$PWD -verbose=3
This works fine…

Marc Van Daele
- 2,856
- 1
- 26
- 52
1
vote
0 answers
macdeployqt and -use-debug-libs
I want to build a dmg with a executable with debug symbols so I can take to
another machine and debug it there. If I use macdeployqt with -use-debug-libs
the dmg does seem to have debug symbols and I can use it on the machine it was
built on.
But…

Larry Martell
- 3,526
- 6
- 40
- 76
1
vote
0 answers
Qt miss resources after deploying
I have simple Qt program. I have figured out how to use macdeployqt for deploying my app on macbooks without qt installed. But after installation from dmg (it is created using macdeployqt with -dmg option) no resources are displayed.
I added…

busylee
- 2,540
- 1
- 16
- 35
1
vote
1 answer
qt5 deployment with opencv, how to fix the lib install paths?
A similar problem have been partially addressed here dyld: Library not loaded: lib/libopencv_core.3.0.dylib Reason: image not found
that lead to a solution there that do not work for me.
I use Qt 5, with openCV 3 with Mac OS X 10.10.5.
When I use…

Wall-E
- 623
- 5
- 17
1
vote
1 answer
Can't run OSX app created with macdeployqt. Missing Cocoa plugin when using Fusion style
Using Qt 5.5.0 C++, I made a very simple widget-based application example -- just a form with no buttons on it, going with defaults. If I compile it and run it through macdeployqt, then run the application out of the dmg file, it runs just fine.…

Volomike
- 23,743
- 21
- 113
- 209