summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-10-01 17:26:21 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-03 15:43:40 +0200
commitd2649c50e0db1092aa0e0a0c0e3965ce9d52faf1 (patch)
tree6eb91af614de6c63c8ce2ffcec29fc75d261d44c /src
parent08f685e8652a5d47bcf337ae1230ec19f23be9fb (diff)
testlib: Don't link to IOKit on iOS, it's not part of the SDK
IOKit used to be part of the 5.x and 6.x iOS SDKs, but not officially, so when Apple in the iOS 7 SDK removed IOKit headers and the library symlink, our builds started failing. Change-Id: I631cab7c106559968c06977fa25157a57402594c Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/testlib/testlib.pro6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/testlib/testlib.pro b/src/testlib/testlib.pro
index 97301de151..571e3b2fca 100644
--- a/src/testlib/testlib.pro
+++ b/src/testlib/testlib.pro
@@ -69,10 +69,8 @@ wince*::LIBS += libcmt.lib \
winsock.lib
mac {
- LIBS += -framework IOKit -framework Security
- !ios {
- LIBS += -framework ApplicationServices
- }
+ LIBS += -framework Security
+ osx: LIBS += -framework ApplicationServices -framework IOKit
}
load(qt_module)