Instead of qt5-default use an environment variable.

This commit is contained in:
Roman Telezhynskyi 2021-05-14 11:07:54 +03:00
parent bf9f577f43
commit 307a2410c3
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
mkdir -p builddir
builddir/Makefile: builddir
cd builddir && qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
cd builddir && QT_SELECT=qt5 qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir

2
dist/debian/rules vendored
View File

@ -18,7 +18,7 @@
mkdir -p builddir
builddir/Makefile: builddir
cd builddir && qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
cd builddir && QT_SELECT=qt5 qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir