blob: d557e9ea967fab51a32cae6d9375adf1c1f0b80d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Platform independent interface to platform dependent code :)
TARGET = platform
TEMPLATE = lib
CONFIG += staticlib
ROOT_DIR = ..
DEPENDENCIES = coding base jansson
include($$ROOT_DIR/common.pri)
QT *= core network
!iphone*:!android* {
INCLUDEPATH += $$ROOT_DIR/3party/jansson/src
SOURCES += \
qtplatform.cpp \
wifi_location_service.cpp \
qt_download_manager.cpp \
qt_download.cpp \
qt_concurrent_runner.cpp \
HEADERS += \
qt_download_manager.hpp \
qt_download.hpp \
wifi_info.hpp
} else:iphone* {
SOURCES += ios_concurrent_runner.mm
}
macx|iphone* {
OBJECTIVE_SOURCES += apple_location_service.mm
LIBS += -framework CoreLocation -framework Foundation
}
macx:!iphone* {
OBJECTIVE_SOURCES += wifi_info_mac.mm
LIBS += -framework CoreWLAN
}
win32 {
SOURCES += wifi_info_windows.cpp
}
# common sources for all platforms
HEADERS += \
platform.hpp \
download_manager.hpp \
location.hpp \
concurrent_runner.hpp \
preferred_languages.hpp \
SOURCES += \
location_manager.cpp \
preferred_languages.cpp \
|