summaryrefslogtreecommitdiffstats
path: root/config.tests/xkbcommon/xkbcommon.pro
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2012-03-11 13:05:08 +0100
committerJørgen Lind <jorgen.lind@nokia.com>2012-03-12 12:00:28 +0100
commit36df41bb337028064a6e12eecc0e310f1027dd7c (patch)
treeec8800b41e166980dbd81050a6657b65cfdc9668 /config.tests/xkbcommon/xkbcommon.pro
parent68e266b3f93fbf7f918a519f8e9198429ff1db07 (diff)
Make the module not depend on QtBase configure
This is convenient if we want to reconfigure without reconfiguring QtBase. Change-Id: I719ba0d89905287a557e962ed6d804514e44b7f5 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'config.tests/xkbcommon/xkbcommon.pro')
-rw-r--r--config.tests/xkbcommon/xkbcommon.pro17
1 files changed, 17 insertions, 0 deletions
diff --git a/config.tests/xkbcommon/xkbcommon.pro b/config.tests/xkbcommon/xkbcommon.pro
new file mode 100644
index 000000000..facc28e58
--- /dev/null
+++ b/config.tests/xkbcommon/xkbcommon.pro
@@ -0,0 +1,17 @@
+TEMPLATE = app
+TARGET = xkbcommon
+QT = core
+DEPENDPATH += .
+INCLUDEPATH += .
+
+!contains(QT_CONFIG, no-pkg-config) {
+ QMAKE_CFLAGS_XKBCOMMON=$$system(pkg-config --cflags xkbcommon 2>/dev/null)
+ QMAKE_LIBS_XKBCOMMON=$$system(pkg-config --libs xkbcommon 2>/dev/null)
+}
+
+QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_XKBCOMMON
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_XKBCOMMON
+LIBS += $$QMAKE_LIBS_XKBCOMMON
+
+# Input
+SOURCES += main.cpp