mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxdist: let newpackage use qt5 by default
@ 2020-10-27 16:29 Marian Cichy
  2020-10-30 12:02 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Marian Cichy @ 2020-10-27 16:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Marian Cichy

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.cichy@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-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-30 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 16:29 [ptxdist] [PATCH] ptxdist: let newpackage use qt5 by default Marian Cichy
2020-10-30 12:02 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox