0
|
1 |
TEMPLATE = app
|
|
2 |
TARGET = browser
|
|
3 |
QT += webkit network
|
|
4 |
|
|
5 |
CONFIG += qt warn_on
|
|
6 |
contains(QT_BUILD_PARTS, tools):!embedded: CONFIG += uitools
|
|
7 |
else: DEFINES += QT_NO_UITOOLS
|
|
8 |
|
|
9 |
release:DEFINES+=QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT
|
|
10 |
|
|
11 |
FORMS += \
|
|
12 |
addbookmarkdialog.ui \
|
|
13 |
bookmarks.ui \
|
|
14 |
cookies.ui \
|
|
15 |
cookiesexceptions.ui \
|
|
16 |
downloaditem.ui \
|
|
17 |
downloads.ui \
|
|
18 |
history.ui \
|
|
19 |
passworddialog.ui \
|
|
20 |
proxy.ui \
|
|
21 |
settings.ui
|
|
22 |
|
|
23 |
HEADERS += \
|
|
24 |
autosaver.h \
|
|
25 |
bookmarks.h \
|
|
26 |
browserapplication.h \
|
|
27 |
browsermainwindow.h \
|
|
28 |
chasewidget.h \
|
|
29 |
cookiejar.h \
|
|
30 |
downloadmanager.h \
|
|
31 |
edittableview.h \
|
|
32 |
edittreeview.h \
|
|
33 |
history.h \
|
|
34 |
modelmenu.h \
|
|
35 |
networkaccessmanager.h \
|
|
36 |
searchlineedit.h \
|
|
37 |
settings.h \
|
|
38 |
squeezelabel.h \
|
|
39 |
tabwidget.h \
|
|
40 |
toolbarsearch.h \
|
|
41 |
urllineedit.h \
|
|
42 |
webview.h \
|
|
43 |
xbel.h
|
|
44 |
|
|
45 |
SOURCES += \
|
|
46 |
autosaver.cpp \
|
|
47 |
bookmarks.cpp \
|
|
48 |
browserapplication.cpp \
|
|
49 |
browsermainwindow.cpp \
|
|
50 |
chasewidget.cpp \
|
|
51 |
cookiejar.cpp \
|
|
52 |
downloadmanager.cpp \
|
|
53 |
edittableview.cpp \
|
|
54 |
edittreeview.cpp \
|
|
55 |
history.cpp \
|
|
56 |
modelmenu.cpp \
|
|
57 |
networkaccessmanager.cpp \
|
|
58 |
searchlineedit.cpp \
|
|
59 |
settings.cpp \
|
|
60 |
squeezelabel.cpp \
|
|
61 |
tabwidget.cpp \
|
|
62 |
toolbarsearch.cpp \
|
|
63 |
urllineedit.cpp \
|
|
64 |
webview.cpp \
|
|
65 |
xbel.cpp \
|
|
66 |
main.cpp
|
|
67 |
|
|
68 |
RESOURCES += data/data.qrc htmls/htmls.qrc
|
|
69 |
|
|
70 |
build_all:!build_pass {
|
|
71 |
CONFIG -= build_all
|
|
72 |
CONFIG += release
|
|
73 |
}
|
|
74 |
|
|
75 |
win32 {
|
|
76 |
RC_FILE = browser.rc
|
|
77 |
}
|
|
78 |
|
|
79 |
mac {
|
|
80 |
ICON = browser.icns
|
|
81 |
QMAKE_INFO_PLIST = Info_mac.plist
|
|
82 |
TARGET = Browser
|
|
83 |
|
|
84 |
# No 64-bit Flash on Mac, so build the browser 32-bit
|
|
85 |
contains(QT_CONFIG, x86) {
|
|
86 |
CONFIG -= x86_64
|
|
87 |
CONFIG += x86
|
|
88 |
}
|
|
89 |
contains(QT_CONFIG, ppc) {
|
|
90 |
CONFIG -= ppc64
|
|
91 |
CONFIG += ppc
|
|
92 |
}
|
|
93 |
}
|
|
94 |
|
|
95 |
wince*: {
|
|
96 |
DEPLOYMENT_PLUGIN += qjpeg qgif
|
|
97 |
}
|
|
98 |
|
|
99 |
# install
|
|
100 |
target.path = $$[QT_INSTALL_DEMOS]/browser
|
|
101 |
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.plist *.icns *.ico *.rc *.pro *.html *.doc images htmls data
|
|
102 |
sources.path = $$[QT_INSTALL_DEMOS]/browser
|
|
103 |
INSTALLS += target sources
|
|
104 |
|
|
105 |
symbian {
|
|
106 |
TARGET.UID3 = 0xA000CF70
|
|
107 |
include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
|
|
108 |
}
|