-
Notifications
You must be signed in to change notification settings - Fork 0
/
netTestTray.pro
48 lines (34 loc) · 1001 Bytes
/
netTestTray.pro
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
#-------------------------------------------------
#
# Project created by QtCreator 2016-07-02T12:15:47
#
#-------------------------------------------------
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = netTestTray
TEMPLATE = app
CONFIG += c++14
SOURCES += main.cpp\
widget.cpp \
Pinger/Pinger.cpp
HEADERS += widget.h \
Pinger/icmp_header.hpp \
Pinger/ipv4_header.hpp \
Pinger/Pinger.h
INCLUDEPATH += $$PWD/Pinger
win32-g++ {
LIBS += "C:/Boost/lib/libboost_system-mgw49-mt-d-1_61.a" -lWs2_32
}
win32-msvc* {
CONFIG += embed_manifest_exe
QMAKE_LFLAGS_WINDOWS += $$quote( /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\" )
!contains(QMAKE_TARGET.arch, x86_64) {
message("x86 build")
LIBS += "-L$$PWD/Pinger/libs/native/address-model-32/lib"
} else {
message("x64 build")
LIBS += "-L$$PWD/Pinger/libs/native/address-model-64/lib"
}
}
RESOURCES += \
icons.qrc