Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] qt5base: unconditionally install Qt5printSupport if widgets are enabled
Date: Thu, 13 Nov 2014 16:03:20 +0100	[thread overview]
Message-ID: <20141113160320.4391cb1a@free-electrons.com> (raw)
In-Reply-To: <20141113144933.8E075B4453@busybox.osuosl.org>

Dear Peter Korsgaard,

On Thu, 13 Nov 2014 15:48:57 +0100, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=e07c705e699b876dcc77be06d734b83e1bd31084
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> The qt5 build system currently unconditionally builds and installs into
> staging Qt5PrintSupport if widgets are enabled, so ensure it also gets
> installed into target to make sure we don't end up with dynamic linker
> errors at runtime:
> 
> test: error while loading shared libraries: libQt5PrintSupport.so.5: cannot
> open shared object file: No such file or directory
> 
> From src.pro:
> 
> !contains(QT_CONFIG, no-gui) {
>         ..
>         !wince*:!winrt {
>             SUBDIRS += src_printsupport
>             src_plugins.depends += src_printsupport
>         }
> 
> }
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  package/qt5/qt5base/Config.in |    6 ++----
>  1 files changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in
> index f4eedec..e5679be 100644
> --- a/package/qt5/qt5base/Config.in
> +++ b/package/qt5/qt5base/Config.in
> @@ -209,10 +209,8 @@ config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
>  	  different platform at runtime with the -platform option.
>  
>  config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
> -	bool "print support module"
> -	select BR2_PACKAGE_QT5BASE_WIDGETS
> -	help
> -	  This option enables the Qt5PrintSupport
> +	depends on BR2_PACKAGE_QT5BASE_WIDGETS
> +	def_bool y

So why have a Config.in option for this in the first place?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-11-13 15:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13 14:48 [Buildroot] [git commit] qt5base: unconditionally install Qt5printSupport if widgets are enabled Peter Korsgaard
2014-11-13 15:03 ` Thomas Petazzoni [this message]
2014-11-13 15:17   ` Peter Korsgaard
2014-11-13 15:26     ` Thomas Petazzoni
2014-11-13 15:33       ` Peter Korsgaard

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=20141113160320.4391cb1a@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --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