0
0
mirror of https://github.com/minecraft-linux/macos-builder.git synced 2024-11-11 11:29:21 +00:00
Minecraft-Launcher-for-macos/patch_qt.sh
2018-11-18 12:29:48 +01:00

10 lines
331 B
Bash
Executable File

#/bin/bash
# TODO: Qt's installer also patches the paths in several other places - should we also do that?
printf "[Paths]\nPrefix=..\n" > bin/qt.conf
sed -i.bak 's/QT_EDITION = .*/QT_EDITION = OpenSource/' mkspecs/qconfig.pri
sed -i.bak 's/QT_LICHECK = licheck_mac/QT_LICHECK =/' mkspecs/qconfig.pri
rm mkspecs/qconfig.pri.bak