Skip to contentSkip to conversation

qt4 and qt5 side-by-side

Buildroot Arnout Vandecappelle 2 participants 2 messages Mar 12, 2013

lore
Share & tools
lore
#0 lore raw

Qt4 and Qt5 are currently not mutually exclusive. As I just found out,
they really are...

Qt4 installs qt.conf in $(HOST_DIR)/usr/bin; if you use this with qt5's
qmake, qmake will spit out bogus configuration options. As soon as you commit one of the other qt5 packages, you'll start to get autobuilder failures (which are pretty hard to debug as I can testify :-).

For the time being, I propose to add a 'depends on !BR2_PACKAGE_QT' to
BR2_PACKAGE_QT5. Ideally, QT should become a virtual package with choices between qt4 and qt5.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#1 lore raw

Dear Arnout Vandecappelle,

Quoted 11 lines · Arnout Vandecappelle

Qt4 and Qt5 are currently not mutually exclusive. As I just found out,
they really are...

Qt4 installs qt.conf in $(HOST_DIR)/usr/bin; if you use this with qt5's
qmake, qmake will spit out bogus configuration options. As soon as you commit one of the other qt5 packages, you'll start to get autobuilder failures (which are pretty hard to debug as I can testify :-).

For the time being, I propose to add a 'depends on !BR2_PACKAGE_QT' to
BR2_PACKAGE_QT5. Ideally, QT should become a virtual package with choices between qt4 and qt5.

Fine with me. I don't think it's a reasonable use case to support both qt4 and qt5 in the same system in Buildroot, so I fully support the idea of adding the depends on !BR2_PACKAGE_QT.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com