when using 'ptxdist newpackage src-qmake-prog, ptxdist
generates rule-files that uses qt4 build-tools. Since
qt4 is quite obsolete, lets switch to qt5 as default.

Signed-off-by: Marian Cichy <m.ci...@pengutronix.de>
---
 rules/templates/template-src-qmake-prog-in   | 2 +-
 rules/templates/template-src-qmake-prog-make | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/templates/template-src-qmake-prog-in 
b/rules/templates/template-src-qmake-prog-in
index 914b6816c..a20378948 100644
--- a/rules/templates/template-src-qmake-prog-in
+++ b/rules/templates/template-src-qmake-prog-in
@@ -3,6 +3,6 @@
 config @PACKAGE@
        bool
        prompt "@package@"
-       select QT4
+       select QT5
        help
          FIXME
diff --git a/rules/templates/template-src-qmake-prog-make 
b/rules/templates/template-src-qmake-prog-make
index 142a1d039..dd2dbfb31 100644
--- a/rules/templates/template-src-qmake-prog-make
+++ b/rules/templates/template-src-qmake-prog-make
@@ -38,6 +38,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
 #
 # qmake
 #
+@PACKAGE@_PATH         := PATH=$(PTXDIST_SYSROOT_CROSS)/bin/qt5:$(CROSS_PATH)
 @PACKAGE@_CONF_TOOL    := qmake
 @PACKAGE@_CONF_OPT     := $(CROSS_QMAKE_OPT) PREFIX=/usr
 
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to