qt5: disallow the selection of Qt4 and Qt5
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Apr 2013 09:57:15 +0000 (09:57 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 11 Apr 2013 13:54:39 +0000 (15:54 +0200)
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>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt5/Config.in

index 1c9f8a63423cdb60a0122735574c5dab4ff37783..9e9104a565c3a427efa755357403d5c38829dbe7 100644 (file)
@@ -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.