summaryrefslogtreecommitdiffstats
path: root/src/systeminfo/systeminfo.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/systeminfo/systeminfo.pro')
-rw-r--r--src/systeminfo/systeminfo.pro9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/systeminfo/systeminfo.pro b/src/systeminfo/systeminfo.pro
index e5817933d4..2de6a8536c 100644
--- a/src/systeminfo/systeminfo.pro
+++ b/src/systeminfo/systeminfo.pro
@@ -1,3 +1,5 @@
+include(../../features/utils.pri)
+
TEMPLATE = lib
TARGET = QtSystemInfo
QT += network gui
@@ -328,10 +330,13 @@ unix:!simulator {
}
contains(thermalstatus_symbian_enabled, yes) {
+ # header not present in public SDK builds
+ exists($${EPOCROOT}epoc32\\include\\internal\\ThermalManagerUserIF.h) {
DEFINES += THERMALSTATUS_SUPPORTED
SOURCES += thermalstatus_s60.cpp
HEADERS += thermalstatus_s60.h
message("Thermalstatus enabled")
+ }
}
contains(networkhandlingengine_symbian_enabled, yes) {
@@ -346,9 +351,9 @@ unix:!simulator {
# TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment Location ReadDeviceData TrustedUI
TARGET.EPOCALLOWDLLDATA = 1
- TARGET.UID3 = 0x2002ac7d
+ TARGET.UID3 = $$mobilityUID(0x2002ac7d)
- QtSystemInfoDeployment.sources = QtSystemInfo.dll
+ QtSystemInfoDeployment.sources = QtSystemInfo$${QT_LIBINFIX}.dll
QtSystemInfoDeployment.path = /sys/bin
DEPLOYMENT += QtSystemInfoDeployment
}