summaryrefslogtreecommitdiffstats
path: root/examples/sensors/sensor_explorer/import/import.pro
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-10-25 10:06:26 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-10-25 11:13:40 +0200
commit972c6fddd0087987ba0a2093d196b8e898f82186 (patch)
treeb69b4a4d29b2b6a4653533352e0d7ced905cc6b4 /examples/sensors/sensor_explorer/import/import.pro
parent181d9ce15c0b2496949017eb1261c20a47642b16 (diff)
Enable shadow-building the sensor_explorer example on Windows
When package-testing, a shadow-build of the example fails due to the import plugin not finding "main.moc", which is apparently caused by the directory structure and using DESTDIR = ./ Add header "main.h" to avoid having to deal with "main.moc". Change-Id: I04024c8d282b4f56d9942c0c8414d0b6ff9b1d20 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/sensors/sensor_explorer/import/import.pro')
-rw-r--r--examples/sensors/sensor_explorer/import/import.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sensors/sensor_explorer/import/import.pro b/examples/sensors/sensor_explorer/import/import.pro
index 49a437e8..48509214 100644
--- a/examples/sensors/sensor_explorer/import/import.pro
+++ b/examples/sensors/sensor_explorer/import/import.pro
@@ -15,6 +15,7 @@ SOURCES = \
propertyinfo.cpp
HEADERS = \
+ main.h \
explorer.h \
sensoritem.h \
propertyinfo.h