mirror of
https://gitlab.com/parallel-launcher/parallel-launcher
synced 2025-10-05 16:12:45 +02:00
Use qmake-qt5
if it's available
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#!/bin/sh
|
||||
if [ -n "$(which qtchooser)" ]; then
|
||||
qmake -qt=qt5 app.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
|
||||
QMAKE_OPTS="app.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug"
|
||||
if [ -n "$(which qmake-qt5)" ]; then
|
||||
qmake-qt5 $QMAKE_OPTS
|
||||
elif [ -n "$(which qtchooser)" ]; then
|
||||
qmake -qt=qt5 $QMAKE_OPTS
|
||||
else
|
||||
qmake app.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
|
||||
qmake $QMAKE_OPTS
|
||||
fi
|
||||
lupdate app.pro -no-obsolete
|
||||
|
@@ -1,7 +1,10 @@
|
||||
#!/bin/sh
|
||||
if [ -n "$(which qtchooser)" ]; then
|
||||
qmake -qt=qt5 app.pro -spec linux-g++
|
||||
QMAKE_OPTS="app.pro -spec linux-g++"
|
||||
if [ -n "$(which qmake-qt5)" ]; then
|
||||
qmake-qt5 $QMAKE_OPTS
|
||||
elif [ -n "$(which qtchooser)" ]; then
|
||||
qmake -qt=qt5 $QMAKE_OPTS
|
||||
else
|
||||
qmake app.pro -spec linux-g++
|
||||
qmake $QMAKE_OPTS
|
||||
fi
|
||||
lupdate app.pro -no-obsolete
|
||||
|
Reference in New Issue
Block a user