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