summaryrefslogtreecommitdiffstats
path: root/examples/opcua/waterpump/simulationserver/simulationserver.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opcua/waterpump/simulationserver/simulationserver.pro')
-rw-r--r--examples/opcua/waterpump/simulationserver/simulationserver.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/opcua/waterpump/simulationserver/simulationserver.pro b/examples/opcua/waterpump/simulationserver/simulationserver.pro
index 9f89ac7..7a7917c 100644
--- a/examples/opcua/waterpump/simulationserver/simulationserver.pro
+++ b/examples/opcua/waterpump/simulationserver/simulationserver.pro
@@ -4,7 +4,12 @@ QT += opcua opcua-private
QT -= gui
# Installed example package
-MODULE_SOURCES=../../../../../../../$$QT_VERSION/Automation/sources/qtopcua/
+greaterThan(QT_MAJOR_VERSION, 5) {
+ MODULE_SOURCES=../../../../../$$QT_VERSION/Src/qtopcua/
+} else {
+ MODULE_SOURCES=../../../../../$$QT_VERSION/Automation/sources/qtopcua/
+}
+
!exists($$MODULE_SOURCES):{
# Build from source tree
MODULE_SOURCES=$$PWD/../../../../