summaryrefslogtreecommitdiff
path: root/meta/classes/qt4x11.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/qt4x11.bbclass')
-rw-r--r--meta/classes/qt4x11.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/qt4x11.bbclass b/meta/classes/qt4x11.bbclass
new file mode 100644
index 000000000..abb1d9d2e
--- /dev/null
+++ b/meta/classes/qt4x11.bbclass
@@ -0,0 +1,9 @@
+DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}"
+
+inherit qmake2
+
+QT_DIR_NAME = "qt4"
+QT_LIBINFIX = ""
+
+# Qt4 uses atomic instructions not supported in thumb mode
+ARM_INSTRUCTION_SET = "arm"