Commit 94ac717 1 parent 32e8c20 commit 94ac717 Copy full SHA for 94ac717
File tree 2 files changed +4
-5
lines changed
build_scripts/macOS/internal
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 36
36
message=$( ${QT_BASE_DIR} macdeployqt $INSTALL_PATH /$APPNAME \
37
37
$ARGUMENTS 2>&1 )
38
38
39
- dylibbundler -b -x $INSTALL_PATH /$APPNAME /Contents/MacOS/${APPNAME% .app} -d $INSTALL_PATH /$APPNAME /Contents/Frameworks -p @executable_path/../Frameworks
40
-
41
39
# if message contains "ERROR" then macdeployqt failed
42
40
if [[ $message == * " ERROR" * ]]; then
43
41
echo " macdeployqt failed."
@@ -46,6 +44,10 @@ if [[ $message == *"ERROR"* ]]; then
46
44
exit 1
47
45
fi
48
46
47
+ ls $INSTALL_PATH /$APPNAME /Contents/Frameworks
48
+ # trying to install libgcc_s lib
49
+ dylibbundler -b -x $INSTALL_PATH /$APPNAME /Contents/MacOS/${APPNAME% .app} -d $INSTALL_PATH /$APPNAME /Contents/Frameworks -p @executable_path/../Frameworks/
50
+
49
51
# remove everything from install path, except the appbundle
50
52
cd $INSTALL_PATH
51
53
ls | grep -xv " ${APPNAME} " | xargs rm
Original file line number Diff line number Diff line change @@ -129,9 +129,6 @@ void openFile(const QString& filePath) {
129
129
QMimeDatabase db;
130
130
QMimeType type = db.mimeTypeForFile (filePath);
131
131
132
- qDebug () << type.aliases ();
133
- qDebug () << type.allAncestors ();
134
- qDebug () << type.name ();
135
132
if (type.isValid () && type.name () != " application/octet-stream" ) {
136
133
#ifdef Q_OS_WIN
137
134
QProcess::startDetached (" explorer" , { QDir::toNativeSeparators (filePath) });
You can’t perform that action at this time.
0 commit comments