From 2778743fb76f06e05c3468d26347de5723160b70 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sat, 30 Apr 2011 01:14:27 +0200 Subject: [PATCH] Fixed build error --- platform/platform_tests/platform_tests.pro | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/platform/platform_tests/platform_tests.pro b/platform/platform_tests/platform_tests.pro index 5262ee63a6..72591b6992 100644 --- a/platform/platform_tests/platform_tests.pro +++ b/platform/platform_tests/platform_tests.pro @@ -8,13 +8,13 @@ DEPENDENCIES = platform coding base tomcrypt include($$ROOT_DIR/common.pri) -QT *= core network +QT *= core win32 { LIBS += -lShell32 } -mac { +macx { LIBS += -framework CoreLocation -framework Foundation } @@ -22,4 +22,8 @@ mac { SOURCES += \ ../../testing/testingmain.cpp \ platform_test.cpp \ - download_test.cpp \ + +CONFIG(debug, debug|release) { + QT *= network + SOURCES += download_test.cpp +}