Questions tagged [macdeployqt]

Qt has a special Mac deployment tool macdeployqt designed to automate the process of creating an application bundle containing Qt libraries.

macdeployqt
Filter by
Sorted by
Tagged with
1 vote
0 answers
93 views

mac qt app runs from Qt Creator but crashes if macqtdeploy is used

I have a Qt app that for a long time I have successfully built on the Mac inside Qt Creator, then distributed by using macdeployqt then creating a .dmg file. That was on a late-2014 Mac Mini using Qt ...
Graham Asher's user avatar
  • 1,700
3 votes
0 answers
1k views

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. #...
HiFile.app - best file manager's user avatar
0 votes
1 answer
231 views

Cannot run QT macOS app on another MacBook

A cross-platform QT application is built for macOS. This app works if I test this on the same machine. When I create a .dmg file, this also works on my machine. When I test this on another machine, I ...
parvus's user avatar
  • 5,856
0 votes
0 answers
247 views

macdeployqt not authenticating application

I've compiled an application written using the Qt (5.15.2, C++) framework on a MacBook Pro (2019) and I have a certificate provided by my boss to authenticate the app. This is what I'm running to ...
Jono_R's user avatar
  • 113
0 votes
1 answer
200 views

macdeployqt does not copy the QtWebView plugin

I could not find a way to inform macdeployqt that I need QT_ROOT/qml/QtWebView/libdeclarative_webview.dylib to be copied into the app bundle. This is needed to use native QtWebView in QML (configured ...
Volodymyr Lashko's user avatar
0 votes
1 answer
691 views

How to access MACD value and signal (both 2 data) in mql4 [closed]

I am trying to create a robot in mql4 for forex trading.So i need to access both MACD value and MACD signal value.But it looks like only providing MACD value without MACD signal value.Please help me ...
Ranish's user avatar
  • 3
1 vote
1 answer
584 views

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/...
Clarky's user avatar
  • 49
0 votes
1 answer
517 views

Reason: image not found macos application

I am deploying qt application for macos so in order to create .app I am using macdeployqt tool. My problem is that when I run the application I get this error: dyld: Library not loaded: @rpath/...
RuLoViC's user avatar
  • 835
0 votes
0 answers
100 views

Macdeployqt going through unrelated / non-existing libraries

So I was able to set up a MyApp.app bundle using MACOSX_BUNDLE using these: https://github.com/OpenHantek/openhantek/issues/229 https://github.com/euler0/mini-cmake-qt The current step is running ...
PTN's user avatar
  • 1,678
2 votes
1 answer
519 views

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,...
Uros's user avatar
  • 313
1 vote
0 answers
523 views

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 ...
Juan Garcia's user avatar
4 votes
3 answers
1k views

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. ...
Ad N's user avatar
  • 8,128
3 votes
1 answer
528 views

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: ...
KelvinS's user avatar
  • 2,971
1 vote
1 answer
238 views

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: http://code.qt.io/...
arqam's user avatar
  • 3,662
2 votes
1 answer
139 views

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 ...
Mitch's user avatar
  • 24.1k
0 votes
1 answer
150 views

MacOS: g++ cross-compiler cannot find ld from dmg image

When I compile the sources from just a directory it's OK. But if I do it from dmg image I got this: $ make "/Volumes/:Users:me:develop:macos_build_script:myApp:myApp_Release:myApp/myApp.app/Contents/...
Kroll's user avatar
  • 649
3 votes
1 answer
1k views

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 ...
tamlok's user avatar
  • 707
2 votes
1 answer
585 views

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/...
KelvinS's user avatar
  • 2,971
1 vote
1 answer
279 views

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/$$...
Marc Van Daele's user avatar
0 votes
0 answers
810 views

How to command line build a .app binary for OSX out of a Qt app?

I am preparing a shell script to build my QtApp into a .app for OSX. I do the following in my script qmake MyApp.pro -spec macx-clang CONFIG+=release CONFIG+=x86_64 CONFIG+=qml_debug make macdeployqt ...
TheWaterProgrammer's user avatar
2 votes
0 answers
431 views

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 ...
mcjlnrtwcz's user avatar
2 votes
1 answer
3k views

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/...
Flare Cat's user avatar
  • 591
4 votes
1 answer
2k views

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 ...
Heron Yang's user avatar
1 vote
0 answers
352 views

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 ...
Larry Martell's user avatar
0 votes
0 answers
309 views

Qt deployed (macdeployqt) application does not create a file

I'm facing the following problem: I wrote a simple application to track working hours. Therefor I create a *.db file programmatically. Launching the application from Qt Creator (debug or release) ...
marcus's user avatar
  • 138
1 vote
0 answers
309 views

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 ...
busylee's user avatar
  • 2,540
0 votes
1 answer
826 views

Create a dmg file for qt app using macdeployqt

I currently created a 'dmg' file using macdeployqt and encountered the following error. Dyld Error Message: Library not loaded: @executable_path/../Frameworks/libosg.141.dylib ...
MistyD's user avatar
  • 16.8k
1 vote
1 answer
621 views

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, ...
Wall-E's user avatar
  • 653
0 votes
1 answer
327 views

Exclude Frameworks from macdeployqt

With Qt/C++ (QT 5.5) on OSX, is there a way to exclude frameworks for APIs I'm not using when running through macdeployqt? For instance, I don't think I need the following frameworks: QtQml....
Volomike's user avatar
  • 24.5k
1 vote
1 answer
622 views

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 ...
Volomike's user avatar
  • 24.5k
3 votes
0 answers
470 views

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 Cooper's user avatar
1 vote
0 answers
437 views

Deploying Qt apps on OS X El Capitan that link against 3rd party library

I'm trying to deploy a Qt app using El Capitan that used to work on previous version of OS X. In my .pro file I link against the library: LIBS += -L/Users/rrabien/dev/main/raceman/libxl_mac/lib -lxl ...
Roland Rabien's user avatar
0 votes
1 answer
651 views

Add to Qt project contents of directory as OS X bundle resource

I want to add to Qt project a contents of directory which contains: a bash script and a few java files inside other various sub-directories. I tried INCLUDEPATH and it didn't work. I don't want the ...
Akash Popat's user avatar
4 votes
0 answers
2k views

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(...
sjchao's user avatar
  • 41
1 vote
1 answer
4k views

how to use the macdeployqt -codesign option with Qt 5.4.1

According to this Qt blog post: The -deep option signs the app bundle recursively, including contained frameworks. While convenient to use, –deep is documented for “emergency repairs and ...
David Burson's user avatar
  • 3,097
1 vote
1 answer
2k views

qt put multiple executables into one bundle on mac OSX

We have 4 mac applications that form part of a 'suite', each for use with a different scientific instrument connected via USB. My colleagues on Windows have developed a splash screen app that lets ...
Mitchell D's user avatar
1 vote
1 answer
637 views

QT app starting another app in OSX

I'm currently developing an agent "Agent.app" which must scan your usb port and if it detect an usb device, the app start an application called "Filebrowser.app". I want the Agent.app located inside ...
Seb's user avatar
  • 3,097
0 votes
1 answer
207 views

Qt 5.3.1: macdeployqt tries to include everything on my hard drive; how to fix?

I'm running Qt 5.3.1 on Mac OS X 10.8 and 10.9 I'm trying to use the macdeployqt tool to bundle libraries and plugins with my executable, but it's apparently trying to include everything on my hard ...
Adam Wilt's user avatar
  • 563
1 vote
2 answers
511 views

Qt application with QSqlDatabase does not work properly when building it with macdeployqt

In my application I am using a QSqlDatabase to store some information. I did built it successfully with the following command (no errors even with verbose=3): macdeployqt AppName.app/ -dmg -qmldir=~/...
Niklas's user avatar
  • 24.6k
2 votes
1 answer
451 views

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: ...
Alosyius's user avatar
  • 8,951
0 votes
0 answers
303 views

Bad file descriptor using macdeployqt and brew libs

I try to deploy a mac app using macdeployqt. It used to work like a charm but since I use homebrew to get my libs, the deploy doesn't works, throwing a lot (400+) of lines like that : ERROR: "...
Thomas Ayoub's user avatar
  • 29.2k
3 votes
1 answer
1k views

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....
ltise's user avatar
  • 31
3 votes
2 answers
841 views

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's user avatar
  • 5,337
3 votes
1 answer
3k views

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 ...
Pomologue's user avatar
0 votes
2 answers
403 views

Macdeployqt doesn't include Phonon in the .app bundle

Hello fellow programmers! I have written a video player using Qt. Everything works fine on my Mac, but when I use macdeployqt to deploy my application and I open the result, I am getting the ...
Sommerwild's user avatar
16 votes
9 answers
7k views

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, ...
Christophe's user avatar
1 vote
0 answers
169 views

Mac Qt macdeployqt problems

I have 2 load commands in my executable, one is valid the other is now, using qtcreator,macdeployqt load command 12 the versions do not even exist..... Load command 11 cmd LC_LOAD_DYLIB ...
user2280155's user avatar
1 vote
0 answers
205 views

A working combination of Qt and OSX for deploying universal binaries

Since I ran across many many problems in setting up a build system for building large qt projects and deploying them as universal OSX binaries, I just want to ask if somebody know a flawless ...
linello's user avatar
  • 8,562
3 votes
1 answer
1k views

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/ ...
linello's user avatar
  • 8,562
3 votes
1 answer
2k views

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 ...
laurent's user avatar
  • 89.5k