Skip to content

qt5: install missing examples

Gaël PORTAY buildroot 1 version New

Get series with b4
b4 am 20180617211136.soa74rty7nxqjs7h@archlinux

Versions newest first

  1. 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.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/9] qt5: install missing examples

Thomas,

Quoted 11 lines · Thomas Petazzoni
Quoted 3 lines

(...)

There is INSTALL_ROOT variable 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

Quoted 8 lines

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 :-)

I will have a look to that. I have started a fresh build with few modifications on pathes.

I think it is because of the prefix in qt.conf.in which is sed to $(HOST_DIR).

	[Paths]
	Prefix=@@HOST_DIR@@
	...
	Libraries=/usr/lib
	...
	Binaries=/usr/bin
	...

I will see.

Quoted 6 lines
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.

For sure... My first run is to rewrite all <qt5modules>_INSTALL_TARGET (if possible) using:

	$(MAKE) -C ... install INSTALL_ROOT=$(TARGET_DIR)
Quoted 7 lines

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com