aboutsummaryrefslogtreecommitdiffstats
path: root/meta-arago-distro/classes/qt-provider.bbclass
blob: a0dbdefff56477424b9bfd002b8eaf5dac7a0004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Class to handle switching between Qt4 and Qt5
# Usage:
# 1. Set QT_PROVIDER in distro config to either "qt4e" or "qt5"
#    It defaults to "qt4e" when not set
#    Hasn't been tested with "qt4x11" but should theoretically work
# 2. Update recipes to inherit qt-provider instead of qt4e directly
# 3. May need to use below QT_DEPENDS_* and QT_RDEPENDS_* variables
#    instead of the actual Qt-version specific values

QT_PROVIDER ?= "qt4e"

inherit ${QT_PROVIDER}
inherit qt-vars