Skip to content

Commit 94ac717

Browse files
committed
libs are there or missing?
1 parent 32e8c20 commit 94ac717

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

build_scripts/macOS/internal/2a_appbundle.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ fi
3636
message=$(${QT_BASE_DIR}macdeployqt $INSTALL_PATH/$APPNAME \
3737
$ARGUMENTS 2>&1)
3838

39-
dylibbundler -b -x $INSTALL_PATH/$APPNAME/Contents/MacOS/${APPNAME%.app} -d $INSTALL_PATH/$APPNAME/Contents/Frameworks -p @executable_path/../Frameworks
40-
4139
# if message contains "ERROR" then macdeployqt failed
4240
if [[ $message == *"ERROR"* ]]; then
4341
echo "macdeployqt failed."
@@ -46,6 +44,10 @@ if [[ $message == *"ERROR"* ]]; then
4644
exit 1
4745
fi
4846

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+
4951
# remove everything from install path, except the appbundle
5052
cd $INSTALL_PATH
5153
ls | grep -xv "${APPNAME}" | xargs rm

relightlab/queueitem.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ void openFile(const QString& filePath) {
129129
QMimeDatabase db;
130130
QMimeType type = db.mimeTypeForFile(filePath);
131131

132-
qDebug() << type.aliases();
133-
qDebug() << type.allAncestors();
134-
qDebug() << type.name();
135132
if (type.isValid() && type.name() != "application/octet-stream") {
136133
#ifdef Q_OS_WIN
137134
QProcess::startDetached("explorer", { QDir::toNativeSeparators(filePath) });

0 commit comments

Comments
 (0)