summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/examples-common/examples-common.pri
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/examples-common/examples-common.pri')
-rw-r--r--examples/qt3d/examples-common/examples-common.pri20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/qt3d/examples-common/examples-common.pri b/examples/qt3d/examples-common/examples-common.pri
new file mode 100644
index 000000000..e50e39edd
--- /dev/null
+++ b/examples/qt3d/examples-common/examples-common.pri
@@ -0,0 +1,20 @@
+QT += 3dcore 3drender 3dinput 3dlogic qml
+
+INCLUDEPATH += $$PWD
+
+win32 {
+ build_pass {
+ CONFIG(debug, debug|release) {
+ common_static_lib = $$OUT_PWD/../examples-common/debug/$${QMAKE_PREFIX_STATICLIB}examples-common.$${QMAKE_EXTENSION_STATICLIB}
+ } else {
+ common_static_lib = $$OUT_PWD/../examples-common/release/$${QMAKE_PREFIX_STATICLIB}examples-common.$${QMAKE_EXTENSION_STATICLIB}
+ }
+ }
+} else {
+ common_static_lib = $$OUT_PWD/../examples-common/$${QMAKE_PREFIX_STATICLIB}examples-common.$${QMAKE_EXTENSION_STATICLIB}
+}
+
+LIBS += $$common_static_lib
+PRE_TARGETDEPS += $$common_static_lib
+
+RESOURCES += $$OUT_PWD/../examples-common/examples-common.qrc