Hi –
I unsuccessfully tried to create a trivial Vplay Mac app and move this app to a mac without Qt installed. Can you help?
In Qt Creator I created a trivial Vplay 2.8.4 app called EmptyApp using with the wizard generated Empty Application.
I add a Vplay license, and specify “publish” in the config.json file.
This app runs fine on the development mac 10.9 with Qt 5.6 installed.
In the generated build-EmptyApp-Desktop_Qt_5_6_0_clang_64bit-Release/ I ran macdeployqt
$ /Applications/Qt/5.6/clang_64/bin/macdeployqt EmptyApp.app -dmg
WARNING: Plugin "libqsqlodbc.dylib" uses private API and is not Mac App store compliant.
WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store compliant.
ERROR: no file at "/opt/local/lib/mysql55/mysql/libmysqlclient.18.dylib"
ERROR: no file at "/usr/local/lib/libpq.5.dylib"
This looks like a hard-coded macdeployqt issue since I have no directory /opt, and no libpg in /usr/local/lib. Inspecting the app with otool shows that it DOES contain mysql.
Opening the dmg and running the app results in a crash.
Do you have a workaround to distribute mac apps? Thanks!
$ otool -L EmptyApp.app/Contents/MacOS/EmptyApp
EmptyApp.app/Contents/MacOS/EmptyApp:
@rpath/Qt3DQuick.framework/Versions/5/Qt3DQuick (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtQuick.framework/Versions/5/QtQuick (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtMultimedia.framework/Versions/5/QtMultimedia (compatibility version 5.6.0, current version 5.6.0)
@rpath/Qt3DInput.framework/Versions/5/Qt3DInput (compatibility version 5.6.0, current version 5.6.0)
@rpath/Qt3DRender.framework/Versions/5/Qt3DRender (compatibility version 5.6.0, current version 5.6.0)
@rpath/Qt3DCore.framework/Versions/5/Qt3DCore (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtGui.framework/Versions/5/QtGui (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtCore.framework/Versions/5/QtCore (compatibility version 5.6.0, current version 5.6.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
@rpath/QtQml.framework/Versions/5/QtQml (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtWebSockets.framework/Versions/5/QtWebSockets (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtSql.framework/Versions/5/QtSql (compatibility version 5.6.0, current version 5.6.0)
@rpath/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.6.0, current version 5.6.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)