-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWebUI.pro
53 lines (38 loc) · 1.48 KB
/
WebUI.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
49
50
51
52
53
!include("../Common/retroshare_plugin.pri"): error("Could not include file ../Common/retroshare_plugin.pri")
CONFIG += qt qrc resources
INCLUDEPATH += ../../libretroshare/src
QMAKE_CXXFLAGS *= -Wall
SOURCES = RSWApplication.cpp \
WebUImain.cpp \
RSWappFriendsPage.cpp \
RSWappTransfersPage.cpp \
WebUIPlugin.cpp \
RSWappSearchFilesPage.cpp \
RSWappSharedFilesPage.cpp \
gui/RsWebUIConfig.cpp
HEADERS = RSWApplication.h \
WebUImain.h \
RSWappFriendsPage.h \
RSWappTransfersPage.h \
WebUIPlugin.h \
RSWappSearchFilesPage.h \
RSWappSharedFilesPage.h \
gui/RsWebUIConfig.h
FORMS += gui/RsWebUIConfig.ui
TARGET = WebUI
RESOURCES = WebUI_images.qrc
LIBS += -lwthttp -lwt
################################# Linux ##########################################
linux-* {
INCLUDEPATH += /usr/include/Wt
LIBS += -L../../libretroshare/src/lib -lretroshare ../../libbitdht/src/lib/libbitdht.a
}
#################################### Windows #####################################
win32 {
WT_DIR = ../../../lib/wt-3.3.1
BOOST_DIR = ../../../lib/boost-1.55.0
INCLUDEPATH += $${WT_DIR}/include $${BOOST_DIR}/include/boost-1_55
LIBS += -lws2_32 -lwsock32
LIBS += -L"$${WT_DIR}/lib" -L"$${BOOST_DIR}/lib"
LIBS += -lboost_date_time-mgw44-mt-1_55 -lboost_filesystem-mgw44-mt-1_55 -lboost_program_options-mgw44-mt-1_55 -lboost_random-mgw44-mt-1_55 -lboost_regex-mgw44-mt-1_55 -lboost_system-mgw44-mt-1_55 -lboost_thread-mgw44-mt-1_55
}