Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v6 7/9] qt5quickcontrols/qt5quickcontrols2: enable for software renderer for Qt 5.8.0
Date: Thu, 2 Feb 2017 19:43:58 +0100	[thread overview]
Message-ID: <20170202194358.6d3a66dc@gmx.net> (raw)
In-Reply-To: <028a2758-e937-7da1-2802-a8f733fb51c9@gmail.com>

Hello Zoltan,

On Thu, 2 Feb 2017 09:55:31 +0100, Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> wrote:

> On 02/01/2017 09:18 PM, Peter Seiderer wrote:
> > Hello *,
> >
> > On Tue, 31 Jan 2017 08:59:09 +0100, Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> wrote:
> >
> >> From: Naumann Andreas <ANaumann@ultratronik.de>
> >>
> >> Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
> >> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
> >> ---
> >>  package/qt5/qt5quickcontrols/Config.in             |  4 ++--
> >>  package/qt5/qt5quickcontrols2/Config.in            |  4 ++--
> >>  package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk | 12 ++++++++++++
> >>  3 files changed, 16 insertions(+), 4 deletions(-)
> >>
> >> diff --git a/package/qt5/qt5quickcontrols/Config.in b/package/qt5/qt5quickcontrols/Config.in
> >> index 0fe8465..d1a4fa5 100644
> >> --- a/package/qt5/qt5quickcontrols/Config.in
> >> +++ b/package/qt5/qt5quickcontrols/Config.in
> >> @@ -2,7 +2,7 @@ config BR2_PACKAGE_QT5QUICKCONTROLS
> >>  	bool "qt5quickcontrols"
> >>  	select BR2_PACKAGE_QT5DECLARATIVE
> >>  	select BR2_PACKAGE_QT5DECLARATIVE_QUICK
> >> -	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
> >> +	depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_QT5_VERSION_5_8
> >>  	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
> >>  	help
> >>  	  Qt is a cross-platform application and UI framework for
> >> @@ -13,5 +13,5 @@ config BR2_PACKAGE_QT5QUICKCONTROLS
> >>  	  http://qt.io
> >>  
> >>  comment "qt5quickcontrols needs an OpenGL-capable backend"
> >> -	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
> >> +	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE && BR2_QT5_VERSION_5_6
> >>  	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
> >> diff --git a/package/qt5/qt5quickcontrols2/Config.in b/package/qt5/qt5quickcontrols2/Config.in
> >> index 1e57674..ea22a2b 100644
> >> --- a/package/qt5/qt5quickcontrols2/Config.in
> >> +++ b/package/qt5/qt5quickcontrols2/Config.in
> >> @@ -2,7 +2,7 @@ config BR2_PACKAGE_QT5QUICKCONTROLS2
> >>  	bool "qt5quickcontrols2"
> >>  	select BR2_PACKAGE_QT5DECLARATIVE
> >>  	select BR2_PACKAGE_QT5DECLARATIVE_QUICK
> >> -	depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative/quick
> >> +	depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_QT5_VERSION_5_8 # qt5declarative/quick
> >>  	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative/quick
> >>  	help
> >>  	  Qt is a cross-platform application and UI framework for
> >> @@ -13,5 +13,5 @@ config BR2_PACKAGE_QT5QUICKCONTROLS2
> >>  	  http://qt.io
> >>  
> >>  comment "qt5quickcontrols2 needs an OpenGL-capable backend"
> >> -	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
> >> +	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE && BR2_QT5_VERSION_5_6
> >>  	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
> >> diff --git a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk
> >> index 8de7932..0ef25e2 100644
> >> --- a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk
> >> +++ b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk
> >> @@ -36,6 +36,7 @@ define QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES
> >>  endef
> >>  endif
> >>  
> >> +ifeq ($(BR2_QT5_VERSION_5_6),y)
> >>  define QT5QUICKCONTROLS2_INSTALL_TARGET_CMDS
> >>  	cp -dpf $(STAGING_DIR)/usr/lib/libQt5LabsTemplates.so.* $(TARGET_DIR)/usr/lib
> >>  	cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/controls $(TARGET_DIR)/usr/qml/Qt/labs
> >> @@ -43,5 +44,16 @@ define QT5QUICKCONTROLS2_INSTALL_TARGET_CMDS
> >>  	cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/templates $(TARGET_DIR)/usr/qml/Qt/labs
> >>  	$(QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES)
> >>  endef
> >> +else
> >> +define QT5QUICKCONTROLS2_INSTALL_TARGET_CMDS
> >> +	cp -dpf $(STAGING_DIR)/usr/lib/libQt5QuickTemplates2.so.* $(TARGET_DIR)/usr/lib
> >> +	cp -dpf $(STAGING_DIR)/usr/lib/libQt5QuickControls2.so.* $(TARGET_DIR)/usr/lib
> >> +	cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/calendar $(TARGET_DIR)/usr/qml/Qt/labs
> >> +	cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/platform $(TARGET_DIR)/usr/qml/Qt/labs
> >> +	cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/Controls.2 $(TARGET_DIR)/usr/qml/QtQuick
> >> +	cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick/Templates.2 $(TARGET_DIR)/usr/qml/QtQuick
> >> +	$(QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES)
> >> +endef
> >> +endif
> > This last part of the patch, fixing the installation for Qt5.8.0 has nothing to do with
> > the patch subject '...enable for software renderer...' and should go to the first patch
> > of the series or to an extra patch....
>
> Indeed, thanks for the feedback! Did you spot anything else in the patchset?
>

Only the suggestion for a new subject for '[PATCH v6 4/9] Conditional revert "qt5base:
install bundled fonts to target"' ([1]) and my follow up patch
'[PATCH v1] libv4l: qv4l2 needs c++11 (since Qt5.7)' ([2]) needs an update for
the Qt5.6/Qt5.8 selection case (coming soon)....

Regards,
Peter

[1] http://lists.busybox.net/pipermail/buildroot/2017-January/182564.html
[2] http://lists.busybox.net/pipermail/buildroot/2016-December/180086.html

> >
> > Regards,
> > Peter
> >
> >
> >>  
> >>  $(eval $(generic-package))
> 
> Thanks, regards,
> 
> Zoltan Gyarmati
> https://zgyarmati.de
> 
> 

  reply	other threads:[~2017-02-02 18:43 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31  7:59 [Buildroot] [PATCH v6 0/9] bump/choice for qt 5.8.0 Zoltan Gyarmati
2017-01-31  7:59 ` [Buildroot] [PATCH v6 1/9] qt5: add choice between version 5.6.2 and 5.8.0 Zoltan Gyarmati
2017-02-02 19:31   ` Peter Seiderer
2017-02-06 13:32     ` Arnout Vandecappelle
2017-02-02 22:01   ` Arnout Vandecappelle
2017-01-31  7:59 ` [Buildroot] [PATCH v6 2/9] qt5enginio : move into legacy compatibility Zoltan Gyarmati
2017-02-06 13:51   ` Arnout Vandecappelle
2017-01-31  7:59 ` [Buildroot] [PATCH v6 3/9] qt53d/qt5quickcontrols2/qt5serialbus : move out of tech preview Zoltan Gyarmati
2017-01-31  7:59 ` [Buildroot] [PATCH v6 4/9] Conditional revert "qt5base: install bundled fonts to target" Zoltan Gyarmati
2017-01-31  7:59 ` [Buildroot] [PATCH v6 5/9] qt5declarative: enable Quick for non-GL platforms for Qt 5.8.0 Zoltan Gyarmati
2017-02-02 22:20   ` Arnout Vandecappelle
2017-02-07  8:41     ` Andreas Naumann
2017-02-07  9:39       ` Zoltan Gyarmati
2017-02-07  9:54         ` Andreas Naumann
2017-01-31  7:59 ` [Buildroot] [PATCH v6 6/9] qt5quickcontrols: More deterministic target install Zoltan Gyarmati
2017-01-31  7:59 ` [Buildroot] [PATCH v6 7/9] qt5quickcontrols/qt5quickcontrols2: enable for software renderer for Qt 5.8.0 Zoltan Gyarmati
2017-02-01 20:18   ` Peter Seiderer
2017-02-02  8:55     ` Zoltan Gyarmati
2017-02-02 18:43       ` Peter Seiderer [this message]
2017-01-31  7:59 ` [Buildroot] [PATCH v6 8/9] python-pyqt5: Depend directly on Qt5 rather than its toolchain requirements Zoltan Gyarmati
2017-02-01 21:29   ` Thomas Petazzoni
2017-02-02  8:57     ` Zoltan Gyarmati
2017-02-02 11:00       ` Thomas Petazzoni
2017-02-02 23:06   ` Arnout Vandecappelle
2017-02-07  8:22     ` Andreas Naumann
2017-01-31  7:59 ` [Buildroot] [PATCH v6 9/9] package/python-pyqt5: add patch to fix build with Qt 5.8.0 Zoltan Gyarmati
2017-02-02 23:15   ` Arnout Vandecappelle
2017-02-06  8:57     ` Zoltan Gyarmati
2017-02-06 13:28       ` Arnout Vandecappelle
2017-02-06 15:40 ` [Buildroot] [PATCH v6 0/9] bump/choice for qt 5.8.0 Thomas Petazzoni
2017-02-06 17:44   ` Andreas Naumann
2017-02-06 20:24     ` Arnout Vandecappelle
2017-02-06 20:36       ` Peter Seiderer
2017-02-06 20:54         ` Arnout Vandecappelle
2017-02-06 21:06           ` Peter Seiderer
2017-02-06 21:09             ` Arnout Vandecappelle
2017-02-06 21:27               ` Peter Seiderer
2017-02-07 17:08 ` Thomas Petazzoni
2017-02-07 17:21   ` Zoltan Gyarmati

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=20170202194358.6d3a66dc@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /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