2011-03-02 16:57:41 +01:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2010-12-18T14:53:41
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui webkit sql network
|
|
|
|
TARGET = qupzilla
|
|
|
|
TEMPLATE = app
|
2011-10-04 18:05:26 +02:00
|
|
|
VERSION = 1.00.rc1
|
2011-03-02 16:57:41 +01:00
|
|
|
|
2011-03-18 16:08:24 +01:00
|
|
|
DESTDIR = ../bin
|
2011-03-18 15:21:41 +01:00
|
|
|
OBJECTS_DIR = ../build
|
|
|
|
MOC_DIR = ../build
|
|
|
|
RCC_DIR = ../build
|
|
|
|
UI_DIR = ../build
|
|
|
|
|
2011-10-11 19:54:20 +02:00
|
|
|
# Please read BUILD informations #
|
2011-10-13 17:38:51 +02:00
|
|
|
#DEFINES += UNRELEASED_BUILD
|
|
|
|
#DEFINES += NO_SYSTEM_DATAPATH
|
|
|
|
#DEFINES += USE_WEBGL
|
2011-10-11 19:54:20 +02:00
|
|
|
#win32:DEFINES += W7API
|
2011-03-18 16:08:24 +01:00
|
|
|
|
2011-10-04 18:05:26 +02:00
|
|
|
unix:QT += dbus
|
|
|
|
win32:RC_FILE = appicon.rc
|
|
|
|
win32:LIBS += User32.lib Ole32.lib Shell32.lib ShlWapi.lib Gdi32.lib ComCtl32.lib
|
|
|
|
|
2011-10-11 19:54:20 +02:00
|
|
|
##It won't compile on windows with this define. Some bug in qtsingleapp / qvector template
|
|
|
|
!win32: !CONFIG(debug, debug|release): DEFINES += QT_NO_DEBUG_OUTPUT
|
|
|
|
|
2011-10-04 18:05:26 +02:00
|
|
|
TRANSLATIONS +=cs_CZ.ts\
|
2011-10-11 19:54:20 +02:00
|
|
|
sk_SK.ts\
|
|
|
|
nl_NL.ts\
|
|
|
|
es.ts
|
2011-10-04 18:05:26 +02:00
|
|
|
|
2011-03-02 16:57:41 +01:00
|
|
|
INCLUDEPATH += 3rdparty\
|
|
|
|
app\
|
|
|
|
autofill\
|
|
|
|
bookmarks\
|
|
|
|
cookies\
|
|
|
|
downloads\
|
|
|
|
history\
|
|
|
|
navigation\
|
|
|
|
network\
|
|
|
|
other\
|
|
|
|
preferences\
|
|
|
|
rss\
|
|
|
|
tools\
|
|
|
|
utils\
|
|
|
|
webview\
|
|
|
|
plugins\
|
|
|
|
sidebar\
|
|
|
|
data\
|
2011-03-27 21:59:40 +02:00
|
|
|
adblock\
|
2011-04-22 16:03:38 +02:00
|
|
|
desktopnotifications\
|
2011-03-02 16:57:41 +01:00
|
|
|
|
|
|
|
SOURCES += main.cpp\
|
|
|
|
3rdparty/qtwin.cpp \
|
|
|
|
3rdparty/lineedit.cpp \
|
|
|
|
app/qupzilla.cpp \
|
|
|
|
app/mainapplication.cpp \
|
|
|
|
app/autosaver.cpp \
|
|
|
|
autofill/autofillmodel.cpp \
|
|
|
|
preferences/autofillmanager.cpp \
|
|
|
|
bookmarks/bookmarkstoolbar.cpp \
|
|
|
|
bookmarks/bookmarksmanager.cpp \
|
|
|
|
cookies/cookiemanager.cpp \
|
|
|
|
cookies/cookiejar.cpp \
|
|
|
|
downloads/downloadmanager.cpp \
|
|
|
|
history/historymodel.cpp \
|
|
|
|
history/historymanager.cpp \
|
|
|
|
navigation/websearchbar.cpp \
|
|
|
|
navigation/locationcompleter.cpp \
|
|
|
|
navigation/locationbar.cpp \
|
|
|
|
network/networkmanagerproxy.cpp \
|
|
|
|
network/networkmanager.cpp \
|
|
|
|
other/updater.cpp \
|
|
|
|
other/sourceviewer.cpp \
|
|
|
|
preferences/preferences.cpp \
|
|
|
|
rss/rssmanager.cpp \
|
|
|
|
other/clearprivatedata.cpp \
|
|
|
|
webview/webview.cpp \
|
|
|
|
webview/webpage.cpp \
|
|
|
|
webview/tabwidget.cpp \
|
|
|
|
webview/tabbar.cpp \
|
|
|
|
webview/siteinfo.cpp \
|
|
|
|
webview/searchtoolbar.cpp \
|
|
|
|
app/commandlineoptions.cpp \
|
|
|
|
other/aboutdialog.cpp \
|
|
|
|
plugins/plugins.cpp \
|
|
|
|
preferences/pluginslist.cpp \
|
|
|
|
plugins/pluginproxy.cpp \
|
|
|
|
tools/clickablelabel.cpp \
|
|
|
|
downloads/downloadoptionsdialog.cpp \
|
|
|
|
tools/treewidget.cpp \
|
|
|
|
bookmarks/bookmarkswidget.cpp \
|
|
|
|
tools/frame.cpp \
|
|
|
|
bookmarks/bookmarksmodel.cpp \
|
|
|
|
sidebar/sidebar.cpp \
|
|
|
|
webview/siteinfowidget.cpp \
|
|
|
|
plugins/clicktoflash.cpp \
|
|
|
|
plugins/webpluginfactory.cpp \
|
|
|
|
downloads/downloaditem.cpp \
|
|
|
|
3rdparty/ecwin7.cpp \
|
2011-03-03 14:25:02 +01:00
|
|
|
webview/webtab.cpp \
|
|
|
|
rss/rsswidget.cpp \
|
2011-03-03 15:24:23 +01:00
|
|
|
autofill/autofillnotification.cpp \
|
2011-03-04 13:59:07 +01:00
|
|
|
rss/rssnotification.cpp \
|
|
|
|
navigation/locationpopup.cpp \
|
2011-03-15 18:43:55 +01:00
|
|
|
preferences/sslmanager.cpp \
|
2011-08-02 16:19:20 +02:00
|
|
|
tools/animatedwidget.cpp \
|
2011-03-19 00:28:37 +01:00
|
|
|
tools/htmlhighlighter.cpp \
|
2011-03-27 21:59:40 +02:00
|
|
|
other/sourceviewersearch.cpp \
|
|
|
|
adblock/adblocksubscription.cpp \
|
|
|
|
adblock/adblockrule.cpp \
|
|
|
|
adblock/adblockpage.cpp \
|
|
|
|
adblock/adblocknetwork.cpp \
|
|
|
|
adblock/adblockmanager.cpp \
|
|
|
|
adblock/adblockdialog.cpp \
|
2011-03-29 19:55:21 +02:00
|
|
|
adblock/adblockblockednetworkreply.cpp \
|
2011-04-15 20:45:22 +02:00
|
|
|
adblock/adblockicon.cpp \
|
|
|
|
tools/docktitlebarwidget.cpp \
|
|
|
|
sidebar/bookmarkssidebar.cpp \
|
2011-04-20 21:39:35 +02:00
|
|
|
bookmarks/bookmarkicon.cpp \
|
2011-04-22 16:03:38 +02:00
|
|
|
sidebar/historysidebar.cpp \
|
|
|
|
desktopnotifications/desktopnotification.cpp \
|
2011-04-25 15:06:59 +02:00
|
|
|
desktopnotifications/desktopnotificationsfactory.cpp \
|
2011-04-25 20:56:45 +02:00
|
|
|
tools/progressbar.cpp \
|
2011-04-26 19:47:12 +02:00
|
|
|
tools/iconprovider.cpp \
|
2011-05-08 14:12:35 +02:00
|
|
|
network/networkproxyfactory.cpp \
|
2011-05-09 17:58:19 +02:00
|
|
|
tools/closedtabsmanager.cpp \
|
2011-05-22 10:47:03 +02:00
|
|
|
other/statusbarmessage.cpp \
|
|
|
|
tools/buttonbox.cpp \
|
2011-05-31 21:11:46 +02:00
|
|
|
tools/widget.cpp \
|
|
|
|
3rdparty/squeezelabelv2.cpp \
|
2011-06-06 19:38:37 +02:00
|
|
|
3rdparty/squeezelabelv1.cpp \
|
2011-07-11 21:08:41 +02:00
|
|
|
tools/buttonwithmenu.cpp \
|
2011-07-29 15:39:43 +02:00
|
|
|
navigation/locationbarsettings.cpp \
|
|
|
|
other/browsinglibrary.cpp \
|
|
|
|
3rdparty/stylehelper.cpp \
|
2011-07-31 13:33:44 +02:00
|
|
|
3rdparty/fancytabwidget.cpp \
|
2011-09-11 19:15:06 +02:00
|
|
|
history/webhistoryinterface.cpp \
|
|
|
|
tools/toolbutton.cpp \
|
|
|
|
navigation/navigationbar.cpp \
|
|
|
|
navigation/reloadstopbutton.cpp \
|
2011-09-18 15:35:44 +02:00
|
|
|
preferences/thememanager.cpp \
|
|
|
|
network/qupzillaschemehandler.cpp \
|
2011-09-21 14:20:49 +02:00
|
|
|
tools/globalfunctions.cpp \
|
2011-09-30 19:22:50 +02:00
|
|
|
other/pagescreen.cpp \
|
2011-10-09 14:51:25 +02:00
|
|
|
downloads/downloadfilehelper.cpp \
|
2011-10-14 20:14:57 +02:00
|
|
|
tools/certificateinfowidget.cpp \
|
|
|
|
webview/webinspectordockwidget.cpp
|
2011-03-02 16:57:41 +01:00
|
|
|
|
2011-05-31 21:11:46 +02:00
|
|
|
HEADERS += \
|
2011-03-02 16:57:41 +01:00
|
|
|
3rdparty/qtwin.h \
|
|
|
|
3rdparty/lineedit.h \
|
|
|
|
app/qupzilla.h \
|
|
|
|
app/mainapplication.h \
|
|
|
|
app/autosaver.h \
|
|
|
|
autofill/autofillmodel.h \
|
|
|
|
preferences/autofillmanager.h \
|
|
|
|
bookmarks/bookmarkstoolbar.h \
|
|
|
|
bookmarks/bookmarksmanager.h \
|
|
|
|
cookies/cookiemanager.h \
|
|
|
|
cookies/cookiejar.h \
|
|
|
|
downloads/downloadmanager.h \
|
|
|
|
history/historymodel.h \
|
|
|
|
history/historymanager.h \
|
|
|
|
navigation/websearchbar.h \
|
|
|
|
navigation/locationcompleter.h \
|
|
|
|
navigation/locationbar.h \
|
|
|
|
network/networkmanagerproxy.h \
|
|
|
|
network/networkmanager.h \
|
|
|
|
other/updater.h \
|
|
|
|
other/sourceviewer.h \
|
|
|
|
preferences/preferences.h \
|
|
|
|
rss/rssmanager.h \
|
|
|
|
other/clearprivatedata.h \
|
|
|
|
webview/webview.h \
|
|
|
|
webview/webpage.h \
|
|
|
|
webview/tabwidget.h \
|
|
|
|
webview/tabbar.h \
|
|
|
|
webview/siteinfo.h \
|
|
|
|
webview/searchtoolbar.h \
|
|
|
|
app/commandlineoptions.h \
|
|
|
|
other/aboutdialog.h \
|
|
|
|
plugins/plugininterface.h \
|
|
|
|
plugins/plugins.h \
|
|
|
|
preferences/pluginslist.h \
|
|
|
|
plugins/pluginproxy.h \
|
|
|
|
tools/clickablelabel.h \
|
|
|
|
downloads/downloadoptionsdialog.h \
|
|
|
|
tools/treewidget.h \
|
|
|
|
bookmarks/bookmarkswidget.h \
|
|
|
|
tools/frame.h \
|
|
|
|
bookmarks/bookmarksmodel.h \
|
|
|
|
sidebar/sidebar.h \
|
|
|
|
webview/siteinfowidget.h \
|
|
|
|
plugins/clicktoflash.h \
|
|
|
|
plugins/webpluginfactory.h \
|
|
|
|
downloads/downloaditem.h \
|
|
|
|
3rdparty/ecwin7.h \
|
2011-03-03 14:25:02 +01:00
|
|
|
webview/webtab.h \
|
|
|
|
rss/rsswidget.h \
|
2011-03-03 15:24:23 +01:00
|
|
|
autofill/autofillnotification.h \
|
2011-03-04 13:59:07 +01:00
|
|
|
rss/rssnotification.h \
|
|
|
|
navigation/locationpopup.h \
|
2011-03-15 18:43:55 +01:00
|
|
|
preferences/sslmanager.h \
|
2011-08-02 16:19:20 +02:00
|
|
|
tools/animatedwidget.h \
|
2011-03-19 00:28:37 +01:00
|
|
|
tools/htmlhighlighter.h \
|
2011-03-27 21:59:40 +02:00
|
|
|
other/sourceviewersearch.h \
|
|
|
|
adblock/adblocksubscription.h \
|
|
|
|
adblock/adblockrule.h \
|
|
|
|
adblock/adblockpage.h \
|
|
|
|
adblock/adblocknetwork.h \
|
|
|
|
adblock/adblockmanager.h \
|
|
|
|
adblock/adblockdialog.h \
|
2011-03-29 19:55:21 +02:00
|
|
|
adblock/adblockblockednetworkreply.h \
|
2011-04-15 20:45:22 +02:00
|
|
|
adblock/adblockicon.h \
|
|
|
|
tools/docktitlebarwidget.h \
|
|
|
|
sidebar/bookmarkssidebar.h \
|
2011-04-20 21:39:35 +02:00
|
|
|
bookmarks/bookmarkicon.h \
|
2011-04-22 16:03:38 +02:00
|
|
|
sidebar/historysidebar.h \
|
|
|
|
desktopnotifications/desktopnotification.h \
|
2011-04-25 15:06:59 +02:00
|
|
|
desktopnotifications/desktopnotificationsfactory.h \
|
2011-04-25 20:56:45 +02:00
|
|
|
tools/progressbar.h \
|
2011-04-26 19:47:12 +02:00
|
|
|
tools/iconprovider.h \
|
2011-05-08 14:12:35 +02:00
|
|
|
network/networkproxyfactory.h \
|
2011-05-09 17:58:19 +02:00
|
|
|
tools/closedtabsmanager.h \
|
2011-05-22 10:47:03 +02:00
|
|
|
other/statusbarmessage.h \
|
|
|
|
tools/buttonbox.h \
|
2011-05-31 21:11:46 +02:00
|
|
|
tools/widget.h \
|
|
|
|
3rdparty/squeezelabelv2.h \
|
2011-06-06 19:38:37 +02:00
|
|
|
3rdparty/squeezelabelv1.h \
|
2011-07-11 21:08:41 +02:00
|
|
|
tools/buttonwithmenu.h \
|
2011-07-29 15:39:43 +02:00
|
|
|
navigation/locationbarsettings.h \
|
|
|
|
other/browsinglibrary.h \
|
|
|
|
3rdparty/stylehelper.h \
|
2011-07-31 13:33:44 +02:00
|
|
|
3rdparty/fancytabwidget.h \
|
2011-09-11 19:15:06 +02:00
|
|
|
history/webhistoryinterface.h \
|
|
|
|
tools/toolbutton.h \
|
|
|
|
navigation/navigationbar.h \
|
|
|
|
navigation/reloadstopbutton.h \
|
2011-09-18 15:35:44 +02:00
|
|
|
preferences/thememanager.h \
|
|
|
|
network/qupzillaschemehandler.h \
|
2011-09-21 14:20:49 +02:00
|
|
|
tools/globalfunctions.h \
|
2011-09-30 19:22:50 +02:00
|
|
|
other/pagescreen.h \
|
2011-10-09 14:51:25 +02:00
|
|
|
downloads/downloadfilehelper.h \
|
2011-10-14 20:14:57 +02:00
|
|
|
tools/certificateinfowidget.h \
|
2011-10-17 09:59:09 +02:00
|
|
|
webview/webinspectordockwidget.h \
|
|
|
|
3rdparty/msvc2008.h
|
2011-03-02 16:57:41 +01:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
preferences/autofillmanager.ui \
|
|
|
|
bookmarks/bookmarksmanager.ui \
|
|
|
|
cookies/cookiemanager.ui \
|
|
|
|
history/historymanager.ui \
|
|
|
|
preferences/preferences.ui \
|
|
|
|
rss/rssmanager.ui \
|
|
|
|
webview/siteinfo.ui \
|
|
|
|
other/aboutdialog.ui \
|
|
|
|
preferences/pluginslist.ui \
|
|
|
|
downloads/downloadoptionsdialog.ui \
|
|
|
|
bookmarks/bookmarkswidget.ui \
|
|
|
|
webview/siteinfowidget.ui \
|
|
|
|
downloads/downloaditem.ui \
|
|
|
|
downloads/downloadmanager.ui \
|
2011-03-03 14:25:02 +01:00
|
|
|
rss/rsswidget.ui \
|
2011-03-03 15:24:23 +01:00
|
|
|
autofill/autofillnotification.ui \
|
2011-03-04 13:59:07 +01:00
|
|
|
rss/rssnotification.ui \
|
2011-03-18 16:08:24 +01:00
|
|
|
preferences/sslmanager.ui \
|
2011-03-19 00:28:37 +01:00
|
|
|
other/clearprivatedata.ui \
|
2011-03-26 15:59:11 +01:00
|
|
|
other/sourceviewersearch.ui \
|
2011-03-27 21:59:40 +02:00
|
|
|
other/closedialog.ui \
|
2011-04-15 20:45:22 +02:00
|
|
|
adblock/adblockdialog.ui \
|
|
|
|
tools/docktitlebarwidget.ui \
|
2011-04-20 21:39:35 +02:00
|
|
|
sidebar/bookmarkssidebar.ui \
|
2011-04-22 16:03:38 +02:00
|
|
|
sidebar/historysidebar.ui \
|
2011-05-22 10:47:03 +02:00
|
|
|
desktopnotifications/desktopnotification.ui \
|
|
|
|
webview/jsconfirm.ui \
|
|
|
|
webview/jsalert.ui \
|
2011-07-29 15:39:43 +02:00
|
|
|
webview/jsprompt.ui \
|
2011-08-02 16:19:20 +02:00
|
|
|
other/browsinglibrary.ui \
|
2011-09-11 19:15:06 +02:00
|
|
|
webview/searchtoolbar.ui \
|
2011-09-21 14:20:49 +02:00
|
|
|
preferences/thememanager.ui \
|
2011-10-09 14:51:25 +02:00
|
|
|
other/pagescreen.ui \
|
|
|
|
tools/certificateinfowidget.ui
|
2011-03-02 16:57:41 +01:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
data/icons.qrc \
|
|
|
|
data/html.qrc
|
|
|
|
|
|
|
|
OTHER_FILES += \
|
2011-10-04 18:05:26 +02:00
|
|
|
appicon.rc
|
2011-03-02 16:57:41 +01:00
|
|
|
|
|
|
|
include(3rdparty/qtsingleapplication.pri)
|
|
|
|
|
2011-10-11 19:54:20 +02:00
|
|
|
unix {
|
|
|
|
target.path = /usr/bin
|
2011-09-11 19:15:06 +02:00
|
|
|
|
2011-10-11 19:54:20 +02:00
|
|
|
target1.files = ../bin/data
|
|
|
|
target1.files += ../bin/locale
|
|
|
|
target1.files += ../bin/plugins
|
|
|
|
target1.files += ../bin/themes
|
|
|
|
target1.path = /usr/share/qupzilla
|
2011-09-11 19:15:06 +02:00
|
|
|
|
2011-10-13 16:16:01 +02:00
|
|
|
target2.files = ../linux/applications/qupzilla.desktop
|
|
|
|
target2.path = /usr/share/applications
|
2011-09-18 15:35:44 +02:00
|
|
|
|
2011-10-13 16:16:01 +02:00
|
|
|
target3.files = ../linux/pixmaps/qupzilla.png
|
|
|
|
target3.path = /usr/share/pixmaps
|
|
|
|
|
|
|
|
INSTALLS += target target1 target2 target3
|
2011-10-11 19:54:20 +02:00
|
|
|
}
|
2011-10-13 20:06:27 +02:00
|
|
|
|
|
|
|
d_unreleased_build = $$(UNRELEASED_BUILD)
|
|
|
|
d_no_system_datapath = $$(NO_SYSTEM_DATAPATH)
|
|
|
|
d_use_webgl = $$(USE_WEBGL)
|
|
|
|
d_w7api = $$(W7API)
|
|
|
|
|
2011-10-15 13:16:22 +02:00
|
|
|
equals(d_unreleased_build, "true") { DEFINES += UNRELEASED_BUILD }
|
|
|
|
equals(d_no_system_datapath, "true") { DEFINES += NO_SYSTEM_DATAPATH }
|
|
|
|
equals(d_use_webgl, "true") { DEFINES += USE_WEBGL }
|
|
|
|
equals(d_w7api, "true") { DEFINES += W7API }
|
2011-10-13 20:06:27 +02:00
|
|
|
|
|
|
|
message(Using following defines)
|
|
|
|
message($$DEFINES)
|
2011-10-15 13:16:22 +02:00
|
|
|
|
2011-10-17 09:59:09 +02:00
|
|
|
|