2012-12-20 14:45:35 +01:00
|
|
|
isEqual(QT_MAJOR_VERSION, 5) {
|
|
|
|
QT += webkitwidgets network widgets printsupport sql script
|
|
|
|
} else {
|
|
|
|
QT += core gui webkit sql network script
|
|
|
|
}
|
2012-02-23 19:18:08 +01:00
|
|
|
|
|
|
|
TARGET = qupzilla
|
2012-03-21 13:00:30 +01:00
|
|
|
mac: TARGET = QupZilla
|
|
|
|
|
2012-02-23 19:18:08 +01:00
|
|
|
TEMPLATE = app
|
2012-03-21 13:00:30 +01:00
|
|
|
|
2012-04-02 21:21:50 +02:00
|
|
|
!unix|mac: LIBS += -L../../bin -lQupZilla
|
|
|
|
!mac:unix: LIBS += ../../bin/libQupZilla.so
|
2012-02-23 19:18:08 +01:00
|
|
|
|
|
|
|
include(../defines.pri)
|
|
|
|
include(../install.pri)
|
|
|
|
|
2012-07-10 11:56:24 +02:00
|
|
|
unix:!contains(DEFINES, "DISABLE_DBUS") QT += dbus
|
|
|
|
|
2012-02-23 19:18:08 +01:00
|
|
|
INCLUDEPATH += ../lib/app\
|
2012-08-21 20:28:38 +02:00
|
|
|
../lib/3rdparty\
|
|
|
|
../lib/session\
|
|
|
|
../lib/webview
|
2012-02-23 19:18:08 +01:00
|
|
|
|
2013-06-04 23:18:55 +02:00
|
|
|
DEPENDPATH += ../lib/app\
|
|
|
|
../lib/3rdparty\
|
|
|
|
../lib/session\
|
|
|
|
../lib/webview
|
|
|
|
|
2012-02-23 19:18:08 +01:00
|
|
|
SOURCES = main.cpp
|
|
|
|
OTHER_FILES += appicon.rc \
|
|
|
|
appicon_os2.rc \
|
|
|
|
Info.plist
|
|
|
|
|
|
|
|
os2:RC_FILE = appicon_os2.rc
|
|
|
|
win32:RC_FILE = appicon.rc
|
|
|
|
|
2012-04-15 15:41:48 +02:00
|
|
|
unix:contains(DEFINES, "NO_SYSTEM_DATAPATH"): QMAKE_LFLAGS+=$${QMAKE_LFLAGS_RPATH}\\$\$ORIGIN
|