forked from wkhtmltopdf/wkhtmltopdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.pri
48 lines (42 loc) · 1.32 KB
/
common.pri
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
# Copyright 2010, 2011 wkhtmltopdf authors
#
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with wkhtmltopdf. If not, see <http:#www.gnu.org/licenses/>.
unix {
TEMP = $$[QT_INSTALL_LIBS] libQtGui.prl
PRL = $$[QT_INSTALL_LIBS] QtGui.framework/QtGui.prl
include($$join(TEMP, "/"))
include($$join(PRL, "/"))
}
exists($$QMAKE_LIBDIR_QT/libQtGui.so) {
DEFINES += QT_SHARED
} else:exists($$QMAKE_LIBDIR_QT/../bin//QtGui4.dll) {
DEFINES += QT_SHARED
} else:contains(QMAKE_PRL_CONFIG, shared) {
DEFINES += QT_SHARED
} else {
DEFINES += QT_STATIC
}
win32-msvc2010 {
} else {
MOC_DIR = ../../build
OBJECTS_DIR = ../../build
UI_DIR = ../../build
}
INCLUDEPATH += ../../include
win32 {
CONFIG += console
}
QT += webkit network xmlpatterns svg