Unverified Commit 2dce0e58 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8133 from DonLakeFlyer/OSX5.12.6

Move OSX to Qt 5.12.6
parents b0ed9bf9 fe7f1793
...@@ -122,8 +122,8 @@ install: ...@@ -122,8 +122,8 @@ install:
# osx dependencies: qt (master builds only: gstreamer, gstreamer-devel) # osx dependencies: qt (master builds only: gstreamer, gstreamer-devel)
- if [ "${SPEC}" = "macx-clang" ]; then - if [ "${SPEC}" = "macx-clang" ]; then
wget --quiet https://s3-us-west-2.amazonaws.com/qgroundcontrol/dependencies/Qt5.11.0-clang_64-min.tar.bz2 && wget --quiet https://s3-us-west-2.amazonaws.com/qgroundcontrol/dependencies/Qt5.12.6-clang_64-min.tar.bz2 &&
tar jxf Qt5.11.0-clang_64-min.tar.bz2 -C /tmp tar jxf Qt5.12.6-clang_64-min.tar.bz2 -C /tmp
; ;
fi fi
...@@ -134,7 +134,7 @@ install: ...@@ -134,7 +134,7 @@ install:
fi fi
- if [ "${SPEC}" = "macx-clang" ]; then - if [ "${SPEC}" = "macx-clang" ]; then
export QT_DIR=Qt5.11-clang_64/5.11.0/clang_64 && export QT_DIR=Qt5.12-clang_64/5.12.6/clang_64 &&
export QT_QPA_PLATFORM_PLUGIN_PATH=/tmp/$QT_DIR/plugins && export QT_QPA_PLATFORM_PLUGIN_PATH=/tmp/$QT_DIR/plugins &&
export QML2_IMPORT_PATH=/tmp/$QT_DIR/qml && export QML2_IMPORT_PATH=/tmp/$QT_DIR/qml &&
export PATH=/tmp/$QT_DIR/bin:$PATH export PATH=/tmp/$QT_DIR/bin:$PATH
......
...@@ -29,10 +29,6 @@ installer { ...@@ -29,10 +29,6 @@ installer {
# links to plugins will not be created correctly. # links to plugins will not be created correctly.
QMAKE_POST_LINK += && cd $${DESTDIR} && $$dirname(QMAKE_QMAKE)/macdeployqt $${TARGET}.app -appstore-compliant -verbose=2 -qmldir=$${BASEDIR}/src QMAKE_POST_LINK += && cd $${DESTDIR} && $$dirname(QMAKE_QMAKE)/macdeployqt $${TARGET}.app -appstore-compliant -verbose=2 -qmldir=$${BASEDIR}/src
# macdeployqt does not deploy texttospeech plugin
QMAKE_POST_LINK += && mkdir $${TARGET}.app/Contents/PlugIns/texttospeech
QMAKE_POST_LINK += && cp $$[QT_INSTALL_PLUGINS]/texttospeech/libqtexttospeech_speechosx.dylib $${TARGET}.app/Contents/PlugIns/texttospeech
# macdeployqt is missing some relocations once in a while. "Fix" it: # macdeployqt is missing some relocations once in a while. "Fix" it:
QMAKE_POST_LINK += && python $$BASEDIR/tools/osxrelocator.py $${TARGET}.app/Contents @rpath @executable_path/../Frameworks -r > /dev/null 2>&1 QMAKE_POST_LINK += && python $$BASEDIR/tools/osxrelocator.py $${TARGET}.app/Contents @rpath @executable_path/../Frameworks -r > /dev/null 2>&1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment