From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] qt5location: fix build failure due to missing qt5base gui dependency
Date: Wed, 5 Sep 2018 14:18:43 +0200 [thread overview]
Message-ID: <20180905141843.566f9769@windsurf> (raw)
In-Reply-To: <3dc3c769-4128-d00e-7833-31d73bf5d514@micronovasrl.com>
Hello,
On Wed, 5 Sep 2018 14:06:40 +0200, Giulio Benetti wrote:
> The problem is that its configure.json depends on it
> https://github.com/qt/qtlocation/blob/5.11/src/location/configure.json#L3
OK, so it needs GUI support.
> to check feature.opengl
> https://github.com/qt/qtlocation/blob/5.11/src/location/configure.json#L44
but OpenGL support is optional.
> Also Qt Location is for creating mapping solutions:
> http://doc.qt.io/qt-5/qtlocation-index.html
> check i.e. examples:
> http://doc.qt.io/qt-5/qtlocation-examples.html
>
> So in the end, it seems it makes sense.
> In the beginning I thought it was a submodule to only get location
> parameters only.
Yes, indeed.
> > Also, having BR2_PACKAGE_QT5BASE_GUI does not guarantee that OpenGL
> > support is available, so I'm not sure this is going to fix the error in
> > all cases.
>
> I'm executing test-pkg -a right now, I'm on 3/47 passed, need some hour.
Doing a test-pkg -a with the same configuration won't give any useful
result here. Remember that test-pkg is only testing different
*toolchain* configurations. It is not testing random configurations
with/without OpenGL.
For a change like this, a test-pkg -a is totally useless, however, a
test with just:
BR2_PACKAGE_QT5BASE=y
BR2_PACKAGE_QT5LOCATION=y
which should fail, and then a test with just:
BR2_PACKAGE_QT5BASE=y
BR2_PACKAGE_QT5BASE_GUI=y
BR2_PACKAGE_QT5LOCATION=y
should work, with no other options selected (so no OpenGL support).
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-09-05 12:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-05 9:03 [Buildroot] [PATCH v2] qt5location: fix build failure due to missing qt5base gui dependency Giulio Benetti
2018-09-05 11:53 ` Thomas Petazzoni
2018-09-05 12:06 ` Giulio Benetti
2018-09-05 12:18 ` Thomas Petazzoni [this message]
2018-09-05 13:02 ` Giulio Benetti
2018-09-05 13:12 ` Giulio Benetti
2018-09-06 19:59 ` Peter Korsgaard
2018-09-18 8:12 ` Giulio Benetti
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=20180905141843.566f9769@windsurf \
--to=thomas.petazzoni@bootlin.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