qt5: install missing examples
Get series with b4
b4 am 20180617224837.33949a3a@windsurfVersions newest first
- v1 Latest0 of 9 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/9] qt5: install missing examples
Hello Ga?l,
Quoted 5 lines · Ga?l PORTAY
Quoted 3 lines
However, I am not super happy with how we install Qt5 packages right now. What we do is:
I am not happy too; and I was already thinking about improving that.
Great.
Quoted 10 lines
Quoted 10 lines
- Staging installation: "make install", with no DESTDIR or anything similar
- Target installation: manual copy.
Ideally, I'd prefer if we could do:
- Staging installation: make DESTDIR=$(STAGING_DIR) install
- Target installation: make DESTDIR=$(TARGET_DIR) install
Quoted 6 lines
Quoted 4 lines
Unfortunately, this doesn't work as-is, because the $(STAGING_DIR) location is hardcoded at Qt configure time, so it doesn't work immediately to do separate installation for staging and target. I know Arnout briefly looked into this during the last Buildroot hackathon.
There is
INSTALL_ROOTvariable which looks to be equivalent to DESTDIR.
Yes, but no. The problem is that with the way things are currently setup, if you set INSTALL_ROOT to /foo/bar and STAGING_DIR is /home/thomas/buildroot/output/staging, then Qt5 stuff will be installed in:
/foo/bar/home/thomas/buildroot/output/staging
Which is obviously wrong. And I believe the fact that it does this is due to:
-sysroot $(STAGING_DIR) \
when configuring Qt5. Some research is needed to see if a better solution is possible :-)
Quoted 1 line
Also, I was thinking about a qmake-package or a qt5module-package.
A qmake-package infrastructure might make sense. But beware of Qt4/Qt5 compatibility. But to me, fixing the first problem is much more important/useful.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com