From: Marian Cichy <m.cichy@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Marian Cichy <m.cichy@pengutronix.de>
Subject: [ptxdist] [PATCH] ptxdist: let newpackage use qt5 by default
Date: Tue, 27 Oct 2020 17:29:34 +0100 [thread overview]
Message-ID: <20201027162934.14648-1-m.cichy@pengutronix.de> (raw)
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
next reply other threads:[~2020-10-27 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 16:29 Marian Cichy [this message]
2020-10-30 12:02 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201027162934.14648-1-m.cichy@pengutronix.de \
--to=m.cichy@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox