* [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
* Re: [ptxdist] [APPLIED] ptxdist: let newpackage use qt5 by default
2020-10-27 16:29 [ptxdist] [PATCH] ptxdist: let newpackage use qt5 by default Marian Cichy
@ 2020-10-30 12:02 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-10-30 12:02 UTC (permalink / raw)
To: ptxdist; +Cc: Marian Cichy
Thanks, applied as ec7e97a8ab6609f68d7f19d2d5726ba279fcff7f.
Michael
[sent from post-receive hook]
On Fri, 30 Oct 2020 13:02:39 +0100, Marian Cichy <m.cichy@pengutronix.de> wrote:
> 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>
> Message-Id: <20201027162934.14648-1-m.cichy@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/templates/template-src-qmake-prog-in b/rules/templates/template-src-qmake-prog-in
> index 914b6816c7c9..a20378948032 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 13f312e1e621..1a9d0d6f3a16 100644
> --- a/rules/templates/template-src-qmake-prog-make
> +++ b/rules/templates/template-src-qmake-prog-make
> @@ -39,6 +39,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
>
_______________________________________________
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