macdeployqt

macdeployqt not copying plugins

瘦欲@ 提交于 2020-01-24 10:40:07
问题 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 QtSvg module." is not fullfilled - my application does use QtSvg but the iconengines/* plugin is not copied. I tried running it with -verbose=3, and the last couple lines are: Log: Created configuration file: "silverlock.app/Contents/Resources/qt.conf

macdeployqt and third party libraries

久未见 提交于 2019-12-29 14:58:26
问题 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 application bundle, then you must add an excplicit lib entry for that library to your application's .pro file. Otherwise, the macdeployqt tool will not copy the 3rd party .dylib into the bundle. I have added lib entries to my application's .pro file but

Macdeployqt is not working

旧巷老猫 提交于 2019-12-24 01:25:52
问题 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 found this and I think it's my problem : Qt 5.1 and Mac: Bug making macdeployqt not working properly and https://bugreports.qt-project.org/browse/QTBUG-14699 But the explanation is too technical for me (+ english not my native language), I'm a

How do I make apps smaller with qmake and macdeployqt

£可爱£侵袭症+ 提交于 2019-12-21 04:49:19
问题 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 setting QT -= network script svg (and then make clean, rm -rf *.app, qmake, make). In total the app is 32 MB. .pro file: TEMPLATE = app TARGET = throw DEPENDPATH += . INCLUDEPATH += . CONFIG += x86_64 release QT = core gui unix { CONFIG += link

Qt 5.1 and Mac: Bug making macdeployqt not working properly

自闭症网瘾萝莉.ら 提交于 2019-12-18 03:59:09
问题 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 them for clarity) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1187.37.0) /Users/chris/**Qt5.1.0//5.1.0**/clang_64/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets (compatibility

How do I make apps smaller with qmake and macdeployqt

六眼飞鱼酱① 提交于 2019-12-03 14:26:47
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 setting QT -= network script svg (and then make clean, rm -rf *.app, qmake, make). In total the app is 32 MB. .pro file: TEMPLATE = app TARGET = throw DEPENDPATH += . INCLUDEPATH += . CONFIG += x86_64 release QT = core gui unix { CONFIG += link_pkgconfig PKGCONFIG += glib-2.0 } # Input SOURCES += main.cpp # Headers HEADERS += throw.h RESOURCES += throw

Qt 5.1 and Mac: Bug making macdeployqt not working properly

给你一囗甜甜゛ 提交于 2019-11-29 03:38:15
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 them for clarity) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1187.37.0) /Users/chris/**Qt5.1.0//5.1.0**/clang_64/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets (compatibility version 5.1.0, current version 5.1.0) /Users/chris/Qt5.1.0//5.1.0/clang_64/lib/QtQuick.framework