Message ID | 1363721394-14973-22-git-send-email-thomas.petazzoni@free-electrons.com |
---|---|
State | Accepted |
Commit | 76d9abd810a9739b78b818e982fd6f11ff4dbe67 |
Headers | show |
On 19/03/13 20:29, Thomas Petazzoni wrote: > As noticed by Arnout, Qt4 and Qt5 cannot be installed together, > because for example the qt.conf installed by one version cannot be > understood by the qmake of another version. We therefore make them > mutually exclusive, which sounds reasonable for the embedded systems > targeted by Buildroot. > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Given that this may expose hard to understand problems when compiling Qt applications, I'd like to see this committed rather soon. Regards, Arnout > --- > package/qt5/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/qt5/Config.in b/package/qt5/Config.in > index 5662f55..2945d96 100644 > --- a/package/qt5/Config.in > +++ b/package/qt5/Config.in > @@ -7,6 +7,7 @@ menuconfig BR2_PACKAGE_QT5 > depends on BR2_USE_WCHAR > depends on BR2_INET_IPV6 > depends on BR2_TOOLCHAIN_HAS_THREADS > + depends on !BR2_PACKAGE_QT > help > This option enables the Qt5 framework. Sub-options allow to > select which modules should be built. >
diff --git a/package/qt5/Config.in b/package/qt5/Config.in index 5662f55..2945d96 100644 --- a/package/qt5/Config.in +++ b/package/qt5/Config.in @@ -7,6 +7,7 @@ menuconfig BR2_PACKAGE_QT5 depends on BR2_USE_WCHAR depends on BR2_INET_IPV6 depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_PACKAGE_QT help This option enables the Qt5 framework. Sub-options allow to select which modules should be built.
As noticed by Arnout, Qt4 and Qt5 cannot be installed together, because for example the qt.conf installed by one version cannot be understood by the qmake of another version. We therefore make them mutually exclusive, which sounds reasonable for the embedded systems targeted by Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- package/qt5/Config.in | 1 + 1 file changed, 1 insertion(+)