aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/qt4x11.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/qt4x11.bbclass')
-rw-r--r--meta/classes/qt4x11.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/qt4x11.bbclass b/meta/classes/qt4x11.bbclass
index b06e15d29e7..6f06d347552 100644
--- a/meta/classes/qt4x11.bbclass
+++ b/meta/classes/qt4x11.bbclass
@@ -1,7 +1,10 @@
QT4DEPENDS ?= "qt4-x11 "
DEPENDS_prepend = "${QT4DEPENDS}"
-inherit qmake2
+# depends on qt4-x11
+REQUIRED_DISTRO_FEATURES += "x11"
+
+inherit qmake2 distro_features_check
QT_BASE_NAME = "qt4"
QT_DIR_NAME = "qt4"