-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathutils.pro
More file actions
39 lines (34 loc) · 994 Bytes
/
utils.pro
File metadata and controls
39 lines (34 loc) · 994 Bytes
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
include(../config.inc)
include(../install.inc)
TARGET = $$TARGET_UTILS
VERSION = $$VERSION_UTILS
TEMPLATE = lib
CONFIG += dll
QT += xml webkit network
DEFINES += UTILS_DLL
LIBS += -L../libs
LIBS += -lidn -lminizip -lzlib -lidle
macx: {
QMAKE_LFLAGS += -framework Carbon -framework Cocoa
} else:unix {
LIBS += -lXss
CONFIG += x11
} else:win32 {
LIBS += -luser32 -lComdlg32 -lshell32
DLLDESTDIR = ..\\..
QMAKE_DISTCLEAN += $${DLLDESTDIR}\\$${TARGET}.dll
}
DEPENDPATH += ..
INCLUDEPATH += .. ../thirdparty/zlib
DESTDIR = ../libs
include(utils.pri)
#Windows resources
win32:RC_FILE = utils.rc
#Install (for Mac OS X - in loader.pro)
!macx:{
target.path = $$INSTALL_LIBS
INSTALLS += target
#Translation
TRANS_SOURCE_ROOT = ..
include(../translations.inc)
}