2017-09-09 20:20:57 +02:00
|
|
|
add_definitions(-DFALKON_SHAREDLIBRARY)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 14) # Enable C++14, with cmake >= 3.1
|
|
|
|
set(CMAKE_CXX_EXTENSIONS OFF) # Don't enable gcc-specific extensions
|
|
|
|
|
|
|
|
set(SRCS
|
|
|
|
3rdparty/qtsingleapplication/qtsingleapplication.cpp
|
|
|
|
3rdparty/qtsingleapplication/qtlocalpeer.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
|
set(SRCS ${SRCS} ${CMAKE_SOURCE_DIR}/tests/modeltest/modeltest.cpp)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/tests/modeltest)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
3rdparty
|
|
|
|
adblock
|
|
|
|
app
|
|
|
|
autofill
|
|
|
|
bookmarks
|
|
|
|
cookies
|
|
|
|
downloads
|
|
|
|
history
|
|
|
|
navigation
|
|
|
|
network
|
|
|
|
notifications
|
|
|
|
opensearch
|
|
|
|
other
|
|
|
|
plugins
|
|
|
|
popupwindow
|
|
|
|
preferences
|
|
|
|
session
|
|
|
|
sidebar
|
|
|
|
tabwidget
|
|
|
|
tools
|
|
|
|
webengine
|
|
|
|
webtab
|
|
|
|
)
|
|
|
|
|
2018-03-23 11:16:19 +01:00
|
|
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
|
|
|
|
2017-09-09 20:20:57 +02:00
|
|
|
set(SRCS ${SRCS}
|
|
|
|
3rdparty/fancytabwidget.cpp
|
|
|
|
3rdparty/lineedit.cpp
|
|
|
|
3rdparty/processinfo.cpp
|
|
|
|
3rdparty/squeezelabelv1.cpp
|
|
|
|
3rdparty/squeezelabelv2.cpp
|
|
|
|
3rdparty/stylehelper.cpp
|
|
|
|
adblock/adblockaddsubscriptiondialog.cpp
|
|
|
|
adblock/adblockurlinterceptor.cpp
|
|
|
|
adblock/adblockdialog.cpp
|
|
|
|
adblock/adblockicon.cpp
|
|
|
|
adblock/adblockmanager.cpp
|
|
|
|
adblock/adblockmatcher.cpp
|
|
|
|
adblock/adblockrule.cpp
|
|
|
|
adblock/adblocksearchtree.cpp
|
|
|
|
adblock/adblocksubscription.cpp
|
|
|
|
adblock/adblocktreewidget.cpp
|
2018-01-06 13:01:31 +01:00
|
|
|
adblock/adblockplugin.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
app/autosaver.cpp
|
|
|
|
app/browserwindow.cpp
|
|
|
|
app/commandlineoptions.cpp
|
|
|
|
app/datapaths.cpp
|
|
|
|
app/mainapplication.cpp
|
|
|
|
app/mainmenu.cpp
|
|
|
|
app/profilemanager.cpp
|
|
|
|
app/proxystyle.cpp
|
|
|
|
app/qzcommon.cpp
|
|
|
|
app/settings.cpp
|
|
|
|
autofill/autofill.cpp
|
|
|
|
autofill/autofillicon.cpp
|
|
|
|
autofill/autofillnotification.cpp
|
|
|
|
autofill/autofillwidget.cpp
|
|
|
|
autofill/passwordbackends/databaseencryptedpasswordbackend.cpp
|
|
|
|
autofill/passwordbackends/databasepasswordbackend.cpp
|
|
|
|
autofill/passwordbackends/passwordbackend.cpp
|
|
|
|
autofill/passwordmanager.cpp
|
|
|
|
bookmarks/bookmarkitem.cpp
|
|
|
|
bookmarks/bookmarks.cpp
|
|
|
|
bookmarks/bookmarksexport/bookmarksexportdialog.cpp
|
|
|
|
bookmarks/bookmarksexport/bookmarksexporter.cpp
|
|
|
|
bookmarks/bookmarksexport/htmlexporter.cpp
|
|
|
|
bookmarks/bookmarksicon.cpp
|
|
|
|
bookmarks/bookmarksimport/bookmarksimportdialog.cpp
|
|
|
|
bookmarks/bookmarksimport/bookmarksimporter.cpp
|
|
|
|
bookmarks/bookmarksimport/firefoximporter.cpp
|
|
|
|
bookmarks/bookmarksimport/htmlimporter.cpp
|
|
|
|
bookmarks/bookmarksimport/chromeimporter.cpp
|
|
|
|
bookmarks/bookmarksimport/ieimporter.cpp
|
|
|
|
bookmarks/bookmarksimport/operaimporter.cpp
|
|
|
|
bookmarks/bookmarksitemdelegate.cpp
|
|
|
|
bookmarks/bookmarksmanager.cpp
|
|
|
|
bookmarks/bookmarksmenu.cpp
|
|
|
|
bookmarks/bookmarksmodel.cpp
|
|
|
|
bookmarks/bookmarkstoolbarbutton.cpp
|
|
|
|
bookmarks/bookmarkstoolbar.cpp
|
|
|
|
bookmarks/bookmarkstools.cpp
|
|
|
|
bookmarks/bookmarkstreeview.cpp
|
|
|
|
bookmarks/bookmarkswidget.cpp
|
|
|
|
cookies/cookiejar.cpp
|
|
|
|
cookies/cookiemanager.cpp
|
|
|
|
downloads/downloaditem.cpp
|
|
|
|
downloads/downloadmanager.cpp
|
2023-04-15 22:49:35 +02:00
|
|
|
downloads/downloadmanagermodel.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
downloads/downloadoptionsdialog.cpp
|
2018-01-08 19:49:05 +01:00
|
|
|
downloads/downloadsbutton.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
history/history.cpp
|
|
|
|
history/historyitem.cpp
|
|
|
|
history/historymanager.cpp
|
|
|
|
history/historymenu.cpp
|
|
|
|
history/historymodel.cpp
|
|
|
|
history/historytreeview.cpp
|
|
|
|
navigation/completer/locationcompleter.cpp
|
|
|
|
navigation/completer/locationcompleterdelegate.cpp
|
|
|
|
navigation/completer/locationcompletermodel.cpp
|
|
|
|
navigation/completer/locationcompleterrefreshjob.cpp
|
|
|
|
navigation/completer/locationcompleterview.cpp
|
|
|
|
navigation/downicon.cpp
|
|
|
|
navigation/goicon.cpp
|
|
|
|
navigation/locationbar.cpp
|
|
|
|
navigation/locationbarpopup.cpp
|
|
|
|
navigation/navigationbar.cpp
|
2018-01-05 13:16:06 +01:00
|
|
|
navigation/navigationbartoolbutton.cpp
|
2018-01-05 19:51:58 +01:00
|
|
|
navigation/navigationbarconfigdialog.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
navigation/navigationcontainer.cpp
|
|
|
|
navigation/reloadstopbutton.cpp
|
|
|
|
navigation/siteicon.cpp
|
|
|
|
navigation/websearchbar.cpp
|
2023-02-18 14:23:07 +01:00
|
|
|
navigation/zoomlabel.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
network/networkmanager.cpp
|
|
|
|
network/networkurlinterceptor.cpp
|
2018-02-05 14:11:29 +01:00
|
|
|
network/schemehandlers/extensionschemehandler.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
network/schemehandlers/falkonschemehandler.cpp
|
|
|
|
network/sslerrordialog.cpp
|
|
|
|
notifications/desktopnotification.cpp
|
|
|
|
notifications/desktopnotificationsfactory.cpp
|
|
|
|
opensearch/editsearchengine.cpp
|
|
|
|
opensearch/opensearchengine.cpp
|
|
|
|
opensearch/opensearchenginedelegate.cpp
|
|
|
|
opensearch/opensearchreader.cpp
|
|
|
|
opensearch/searchenginesdialog.cpp
|
|
|
|
opensearch/searchenginesmanager.cpp
|
|
|
|
other/aboutdialog.cpp
|
|
|
|
other/browsinglibrary.cpp
|
|
|
|
other/clearprivatedata.cpp
|
|
|
|
other/checkboxdialog.cpp
|
|
|
|
other/iconchooser.cpp
|
|
|
|
other/licenseviewer.cpp
|
|
|
|
other/qzsettings.cpp
|
|
|
|
other/siteinfo.cpp
|
|
|
|
other/siteinfowidget.cpp
|
2018-01-24 19:18:58 +01:00
|
|
|
other/statusbar.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
other/updater.cpp
|
|
|
|
other/useragentmanager.cpp
|
2019-03-14 11:13:37 +01:00
|
|
|
other/protocolhandlerdialog.cpp
|
2019-01-28 17:52:11 +01:00
|
|
|
other/protocolhandlermanager.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
plugins/pluginproxy.cpp
|
|
|
|
plugins/plugins.cpp
|
|
|
|
plugins/speeddial.cpp
|
2019-04-18 16:25:27 +02:00
|
|
|
plugins/ocssupport.cpp
|
2018-09-28 21:07:31 +02:00
|
|
|
plugins/qml/qmlpluginloader.cpp
|
|
|
|
plugins/qml/qmlplugin.cpp
|
|
|
|
plugins/qml/qmlplugins.cpp
|
|
|
|
plugins/qml/qmlplugininterface.cpp
|
|
|
|
plugins/qml/qmlengine.cpp
|
|
|
|
plugins/qml/qmlstaticdata.cpp
|
|
|
|
plugins/qml/api/bookmarks/qmlbookmarktreenode.cpp
|
|
|
|
plugins/qml/api/bookmarks/qmlbookmarks.cpp
|
|
|
|
plugins/qml/api/topsites/qmlmostvisitedurl.cpp
|
|
|
|
plugins/qml/api/topsites/qmltopsites.cpp
|
|
|
|
plugins/qml/api/history/qmlhistoryitem.cpp
|
|
|
|
plugins/qml/api/history/qmlhistory.cpp
|
|
|
|
plugins/qml/api/cookies/qmlcookie.cpp
|
|
|
|
plugins/qml/api/cookies/qmlcookies.cpp
|
|
|
|
plugins/qml/api/tabs/qmltab.cpp
|
|
|
|
plugins/qml/api/tabs/qmltabs.cpp
|
|
|
|
plugins/qml/api/notifications/qmlnotifications.cpp
|
|
|
|
plugins/qml/api/clipboard/qmlclipboard.cpp
|
|
|
|
plugins/qml/api/windows/qmlwindow.cpp
|
|
|
|
plugins/qml/api/windows/qmlwindows.cpp
|
|
|
|
plugins/qml/api/browseraction/qmlbrowseraction.cpp
|
|
|
|
plugins/qml/api/sidebar/qmlsidebar.cpp
|
|
|
|
plugins/qml/api/menus/qmlmenu.cpp
|
|
|
|
plugins/qml/api/menus/qmlaction.cpp
|
|
|
|
plugins/qml/api/menus/qmlwebhittestresult.cpp
|
|
|
|
plugins/qml/api/settings/qmlsettings.cpp
|
|
|
|
plugins/qml/api/events/qmlqzobjects.cpp
|
|
|
|
plugins/qml/api/events/qmlmouseevent.cpp
|
|
|
|
plugins/qml/api/events/qmlwheelevent.cpp
|
|
|
|
plugins/qml/api/events/qmlkeyevent.cpp
|
|
|
|
plugins/qml/api/userscript/qmluserscript.cpp
|
|
|
|
plugins/qml/api/userscript/qmluserscripts.cpp
|
|
|
|
plugins/qml/api/userscript/qmlexternaljsobject.cpp
|
|
|
|
plugins/qml/api/extensionscheme/qmlextensionscheme.cpp
|
|
|
|
plugins/qml/api/extensionscheme/qmlwebengineurlrequestjob.cpp
|
|
|
|
plugins/qml/api/fileutils/qmlfileutils.cpp
|
|
|
|
plugins/qml/api/qmlenums.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
popupwindow/popuplocationbar.cpp
|
|
|
|
popupwindow/popupstatusbarmessage.cpp
|
|
|
|
popupwindow/popupwebview.cpp
|
|
|
|
popupwindow/popupwindow.cpp
|
|
|
|
preferences/acceptlanguage.cpp
|
|
|
|
preferences/autofillmanager.cpp
|
2023-04-24 23:06:17 +02:00
|
|
|
preferences/certificatemanager.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
preferences/jsoptions.cpp
|
|
|
|
preferences/pluginlistdelegate.cpp
|
|
|
|
preferences/pluginsmanager.cpp
|
|
|
|
preferences/preferences.cpp
|
2023-04-07 00:06:15 +02:00
|
|
|
preferences/schememanager.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
preferences/thememanager.cpp
|
|
|
|
preferences/useragentdialog.cpp
|
|
|
|
session/recoveryjsobject.cpp
|
|
|
|
session/restoremanager.cpp
|
|
|
|
session/sessionmanager.cpp
|
|
|
|
session/sessionmanagerdialog.cpp
|
|
|
|
sidebar/bookmarkssidebar.cpp
|
|
|
|
sidebar/historysidebar.cpp
|
|
|
|
sidebar/sidebar.cpp
|
|
|
|
tabwidget/combotabbar.cpp
|
|
|
|
tabwidget/tabbar.cpp
|
|
|
|
tabwidget/tabicon.cpp
|
2018-01-30 14:53:18 +01:00
|
|
|
tabwidget/tabmodel.cpp
|
2018-02-06 11:47:51 +01:00
|
|
|
tabwidget/tabmrumodel.cpp
|
2018-01-31 18:48:38 +01:00
|
|
|
tabwidget/tabtreemodel.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
tabwidget/tabstackedwidget.cpp
|
|
|
|
tabwidget/tabwidget.cpp
|
2017-10-03 10:10:32 +02:00
|
|
|
tabwidget/tabcontextmenu.cpp
|
2018-01-05 13:16:06 +01:00
|
|
|
tools/abstractbuttoninterface.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
tools/aesinterface.cpp
|
|
|
|
tools/animatedwidget.cpp
|
|
|
|
tools/buttonwithmenu.cpp
|
|
|
|
tools/certificateinfowidget.cpp
|
|
|
|
tools/clickablelabel.cpp
|
|
|
|
tools/closedtabsmanager.cpp
|
2018-01-02 14:22:24 +01:00
|
|
|
tools/closedwindowsmanager.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
tools/colors.cpp
|
|
|
|
tools/delayedfilewatcher.cpp
|
2018-02-11 11:19:27 +01:00
|
|
|
tools/desktopfile.cpp
|
2017-09-09 20:20:57 +02:00
|
|
|
tools/docktitlebarwidget.cpp
|
|
|
|
tools/enhancedmenu.cpp
|
|
|
|
tools/focusselectlineedit.cpp
|
|
|
|
tools/headerview.cpp
|
|
|
|
tools/horizontallistwidget.cpp
|
|
|
|
tools/html5permissions/html5permissionsdialog.cpp
|
|
|
|
tools/html5permissions/html5permissionsmanager.cpp
|
|
|
|
tools/html5permissions/html5permissionsnotification.cpp
|
|
|
|
tools/iconprovider.cpp
|
|
|
|
tools/listitemdelegate.cpp
|
|
|
|
tools/mactoolbutton.cpp
|
|
|
|
tools/menubar.cpp
|
|
|
|
tools/pagethumbnailer.cpp
|
|
|
|
tools/progressbar.cpp
|
|
|
|
tools/qztools.cpp
|
|
|
|
tools/removeitemfocusdelegate.cpp
|
|
|
|
tools/scripts.cpp
|
|
|
|
tools/sqldatabase.cpp
|
|
|
|
tools/toolbutton.cpp
|
|
|
|
tools/treewidget.cpp
|
|
|
|
tools/wheelhelper.cpp
|
|
|
|
webengine/javascript/autofilljsobject.cpp
|
|
|
|
webengine/javascript/externaljsobject.cpp
|
|
|
|
webengine/loadrequest.cpp
|
|
|
|
webengine/webhittestresult.cpp
|
|
|
|
webengine/webinspector.cpp
|
|
|
|
webengine/webpage.cpp
|
|
|
|
webengine/webview.cpp
|
|
|
|
webengine/webscrollbar.cpp
|
|
|
|
webengine/webscrollbarmanager.cpp
|
|
|
|
webtab/searchtoolbar.cpp
|
|
|
|
webtab/tabbedwebview.cpp
|
|
|
|
webtab/webtab.cpp
|
2022-06-18 07:25:09 +02:00
|
|
|
|
|
|
|
3rdparty/fancytabwidget.h
|
|
|
|
3rdparty/lineedit.h
|
|
|
|
3rdparty/processinfo.h
|
|
|
|
3rdparty/squeezelabelv1.h
|
|
|
|
3rdparty/squeezelabelv2.h
|
|
|
|
3rdparty/stylehelper.h
|
|
|
|
adblock/adblockaddsubscriptiondialog.h
|
|
|
|
adblock/adblockurlinterceptor.h
|
|
|
|
adblock/adblockdialog.h
|
|
|
|
adblock/adblockicon.h
|
|
|
|
adblock/adblockmanager.h
|
|
|
|
adblock/adblockmatcher.h
|
|
|
|
adblock/adblockrule.h
|
|
|
|
adblock/adblocksearchtree.h
|
|
|
|
adblock/adblocksubscription.h
|
|
|
|
adblock/adblocktreewidget.h
|
|
|
|
adblock/adblockplugin.h
|
|
|
|
app/autosaver.h
|
|
|
|
app/browserwindow.h
|
|
|
|
app/commandlineoptions.h
|
|
|
|
app/datapaths.h
|
|
|
|
app/mainapplication.h
|
|
|
|
app/mainmenu.h
|
|
|
|
app/profilemanager.h
|
|
|
|
app/proxystyle.h
|
|
|
|
app/qzcommon.h
|
|
|
|
app/settings.h
|
|
|
|
autofill/autofill.h
|
|
|
|
autofill/autofillicon.h
|
|
|
|
autofill/autofillnotification.h
|
|
|
|
autofill/autofillwidget.h
|
|
|
|
autofill/passwordbackends/databaseencryptedpasswordbackend.h
|
|
|
|
autofill/passwordbackends/databasepasswordbackend.h
|
|
|
|
autofill/passwordbackends/passwordbackend.h
|
|
|
|
autofill/passwordmanager.h
|
|
|
|
bookmarks/bookmarkitem.h
|
|
|
|
bookmarks/bookmarks.h
|
|
|
|
bookmarks/bookmarksexport/bookmarksexportdialog.h
|
|
|
|
bookmarks/bookmarksexport/bookmarksexporter.h
|
|
|
|
bookmarks/bookmarksexport/htmlexporter.h
|
|
|
|
bookmarks/bookmarksicon.h
|
|
|
|
bookmarks/bookmarksimport/bookmarksimportdialog.h
|
|
|
|
bookmarks/bookmarksimport/bookmarksimporter.h
|
|
|
|
bookmarks/bookmarksimport/firefoximporter.h
|
|
|
|
bookmarks/bookmarksimport/htmlimporter.h
|
|
|
|
bookmarks/bookmarksimport/chromeimporter.h
|
|
|
|
bookmarks/bookmarksimport/ieimporter.h
|
|
|
|
bookmarks/bookmarksimport/operaimporter.h
|
|
|
|
bookmarks/bookmarksitemdelegate.h
|
|
|
|
bookmarks/bookmarksmanager.h
|
|
|
|
bookmarks/bookmarksmenu.h
|
|
|
|
bookmarks/bookmarksmodel.h
|
|
|
|
bookmarks/bookmarkstoolbarbutton.h
|
|
|
|
bookmarks/bookmarkstoolbar.h
|
|
|
|
bookmarks/bookmarkstools.h
|
|
|
|
bookmarks/bookmarkstreeview.h
|
|
|
|
bookmarks/bookmarkswidget.h
|
|
|
|
cookies/cookiejar.h
|
|
|
|
cookies/cookiemanager.h
|
|
|
|
downloads/downloaditem.h
|
|
|
|
downloads/downloadmanager.h
|
2023-04-15 22:49:35 +02:00
|
|
|
downloads/downloadmanagermodel.h
|
2022-06-18 07:25:09 +02:00
|
|
|
downloads/downloadoptionsdialog.h
|
|
|
|
downloads/downloadsbutton.h
|
|
|
|
history/history.h
|
|
|
|
history/historyitem.h
|
|
|
|
history/historymanager.h
|
|
|
|
history/historymenu.h
|
|
|
|
history/historymodel.h
|
|
|
|
history/historytreeview.h
|
|
|
|
navigation/completer/locationcompleter.h
|
|
|
|
navigation/completer/locationcompleterdelegate.h
|
|
|
|
navigation/completer/locationcompletermodel.h
|
|
|
|
navigation/completer/locationcompleterrefreshjob.h
|
|
|
|
navigation/completer/locationcompleterview.h
|
|
|
|
navigation/downicon.h
|
|
|
|
navigation/goicon.h
|
|
|
|
navigation/locationbar.h
|
|
|
|
navigation/locationbarpopup.h
|
|
|
|
navigation/navigationbar.h
|
|
|
|
navigation/navigationbartoolbutton.h
|
|
|
|
navigation/navigationbarconfigdialog.h
|
|
|
|
navigation/navigationcontainer.h
|
|
|
|
navigation/reloadstopbutton.h
|
|
|
|
navigation/siteicon.h
|
|
|
|
navigation/websearchbar.h
|
2023-02-18 14:23:07 +01:00
|
|
|
navigation/zoomlabel.h
|
2022-06-18 07:25:09 +02:00
|
|
|
network/networkmanager.h
|
|
|
|
network/networkurlinterceptor.h
|
|
|
|
network/schemehandlers/extensionschemehandler.h
|
|
|
|
network/schemehandlers/falkonschemehandler.h
|
|
|
|
network/sslerrordialog.h
|
|
|
|
notifications/desktopnotification.h
|
|
|
|
notifications/desktopnotificationsfactory.h
|
|
|
|
opensearch/editsearchengine.h
|
|
|
|
opensearch/opensearchengine.h
|
|
|
|
opensearch/opensearchenginedelegate.h
|
|
|
|
opensearch/opensearchreader.h
|
|
|
|
opensearch/searchenginesdialog.h
|
|
|
|
opensearch/searchenginesmanager.h
|
|
|
|
other/aboutdialog.h
|
|
|
|
other/browsinglibrary.h
|
|
|
|
other/clearprivatedata.h
|
|
|
|
other/checkboxdialog.h
|
|
|
|
other/iconchooser.h
|
|
|
|
other/licenseviewer.h
|
|
|
|
other/qzsettings.h
|
|
|
|
other/siteinfo.h
|
|
|
|
other/siteinfowidget.h
|
|
|
|
other/statusbar.h
|
|
|
|
other/updater.h
|
|
|
|
other/useragentmanager.h
|
|
|
|
other/protocolhandlerdialog.h
|
|
|
|
other/protocolhandlermanager.h
|
|
|
|
plugins/pluginproxy.h
|
|
|
|
plugins/plugins.h
|
|
|
|
plugins/speeddial.h
|
|
|
|
plugins/ocssupport.h
|
|
|
|
plugins/qml/qmlpluginloader.h
|
|
|
|
plugins/qml/qmlplugin.h
|
|
|
|
plugins/qml/qmlplugins.h
|
|
|
|
plugins/qml/qmlplugininterface.h
|
|
|
|
plugins/qml/qmlengine.h
|
|
|
|
plugins/qml/qmlstaticdata.h
|
|
|
|
plugins/qml/api/bookmarks/qmlbookmarktreenode.h
|
|
|
|
plugins/qml/api/bookmarks/qmlbookmarks.h
|
|
|
|
plugins/qml/api/topsites/qmlmostvisitedurl.h
|
|
|
|
plugins/qml/api/topsites/qmltopsites.h
|
|
|
|
plugins/qml/api/history/qmlhistoryitem.h
|
|
|
|
plugins/qml/api/history/qmlhistory.h
|
|
|
|
plugins/qml/api/cookies/qmlcookie.h
|
|
|
|
plugins/qml/api/cookies/qmlcookies.h
|
|
|
|
plugins/qml/api/tabs/qmltab.h
|
|
|
|
plugins/qml/api/tabs/qmltabs.h
|
|
|
|
plugins/qml/api/notifications/qmlnotifications.h
|
|
|
|
plugins/qml/api/clipboard/qmlclipboard.h
|
|
|
|
plugins/qml/api/windows/qmlwindow.h
|
|
|
|
plugins/qml/api/windows/qmlwindows.h
|
|
|
|
plugins/qml/api/browseraction/qmlbrowseraction.h
|
|
|
|
plugins/qml/api/sidebar/qmlsidebar.h
|
|
|
|
plugins/qml/api/menus/qmlmenu.h
|
|
|
|
plugins/qml/api/menus/qmlaction.h
|
|
|
|
plugins/qml/api/menus/qmlwebhittestresult.h
|
|
|
|
plugins/qml/api/settings/qmlsettings.h
|
|
|
|
plugins/qml/api/events/qmlqzobjects.h
|
|
|
|
plugins/qml/api/events/qmlmouseevent.h
|
|
|
|
plugins/qml/api/events/qmlwheelevent.h
|
|
|
|
plugins/qml/api/events/qmlkeyevent.h
|
|
|
|
plugins/qml/api/userscript/qmluserscript.h
|
|
|
|
plugins/qml/api/userscript/qmluserscripts.h
|
|
|
|
plugins/qml/api/userscript/qmlexternaljsobject.h
|
|
|
|
plugins/qml/api/extensionscheme/qmlextensionscheme.h
|
|
|
|
plugins/qml/api/extensionscheme/qmlwebengineurlrequestjob.h
|
|
|
|
plugins/qml/api/fileutils/qmlfileutils.h
|
|
|
|
plugins/qml/api/qmlenums.h
|
|
|
|
popupwindow/popuplocationbar.h
|
|
|
|
popupwindow/popupstatusbarmessage.h
|
|
|
|
popupwindow/popupwebview.h
|
|
|
|
popupwindow/popupwindow.h
|
|
|
|
preferences/acceptlanguage.h
|
|
|
|
preferences/autofillmanager.h
|
2023-04-24 23:06:17 +02:00
|
|
|
preferences/certificatemanager.h
|
2022-06-18 07:25:09 +02:00
|
|
|
preferences/jsoptions.h
|
|
|
|
preferences/pluginlistdelegate.h
|
|
|
|
preferences/pluginsmanager.h
|
|
|
|
preferences/preferences.h
|
2023-04-07 00:06:15 +02:00
|
|
|
preferences/schememanager.h
|
2022-06-18 07:25:09 +02:00
|
|
|
preferences/thememanager.h
|
|
|
|
preferences/useragentdialog.h
|
|
|
|
session/recoveryjsobject.h
|
|
|
|
session/restoremanager.h
|
|
|
|
session/sessionmanager.h
|
|
|
|
session/sessionmanagerdialog.h
|
|
|
|
sidebar/bookmarkssidebar.h
|
|
|
|
sidebar/historysidebar.h
|
|
|
|
sidebar/sidebar.h
|
|
|
|
tabwidget/combotabbar.h
|
|
|
|
tabwidget/tabbar.h
|
|
|
|
tabwidget/tabicon.h
|
|
|
|
tabwidget/tabmodel.h
|
|
|
|
tabwidget/tabmrumodel.h
|
|
|
|
tabwidget/tabtreemodel.h
|
|
|
|
tabwidget/tabstackedwidget.h
|
|
|
|
tabwidget/tabwidget.h
|
|
|
|
tabwidget/tabcontextmenu.h
|
|
|
|
tools/abstractbuttoninterface.h
|
|
|
|
tools/aesinterface.h
|
|
|
|
tools/animatedwidget.h
|
|
|
|
tools/buttonwithmenu.h
|
|
|
|
tools/certificateinfowidget.h
|
|
|
|
tools/clickablelabel.h
|
|
|
|
tools/closedtabsmanager.h
|
|
|
|
tools/closedwindowsmanager.h
|
|
|
|
tools/colors.h
|
|
|
|
tools/delayedfilewatcher.h
|
|
|
|
tools/desktopfile.h
|
|
|
|
tools/docktitlebarwidget.h
|
|
|
|
tools/enhancedmenu.h
|
|
|
|
tools/focusselectlineedit.h
|
|
|
|
tools/headerview.h
|
|
|
|
tools/horizontallistwidget.h
|
|
|
|
tools/html5permissions/html5permissionsdialog.h
|
|
|
|
tools/html5permissions/html5permissionsmanager.h
|
|
|
|
tools/html5permissions/html5permissionsnotification.h
|
|
|
|
tools/iconprovider.h
|
|
|
|
tools/listitemdelegate.h
|
|
|
|
tools/mactoolbutton.h
|
|
|
|
tools/menubar.h
|
|
|
|
tools/pagethumbnailer.h
|
|
|
|
tools/progressbar.h
|
|
|
|
tools/qztools.h
|
|
|
|
tools/removeitemfocusdelegate.h
|
|
|
|
tools/scripts.h
|
|
|
|
tools/sqldatabase.h
|
|
|
|
tools/toolbutton.h
|
|
|
|
tools/treewidget.h
|
|
|
|
tools/wheelhelper.h
|
|
|
|
webengine/javascript/autofilljsobject.h
|
|
|
|
webengine/javascript/externaljsobject.h
|
|
|
|
webengine/loadrequest.h
|
|
|
|
webengine/webhittestresult.h
|
|
|
|
webengine/webinspector.h
|
|
|
|
webengine/webpage.h
|
|
|
|
webengine/webview.h
|
|
|
|
webengine/webscrollbar.h
|
|
|
|
webengine/webscrollbarmanager.h
|
|
|
|
webtab/searchtoolbar.h
|
|
|
|
webtab/tabbedwebview.h
|
|
|
|
webtab/webtab.h
|
2017-09-09 20:20:57 +02:00
|
|
|
)
|
|
|
|
|
2019-08-24 17:19:45 +02:00
|
|
|
# add the logging category for FALKON
|
|
|
|
ecm_qt_declare_logging_category(LOGGING_SRCS HEADER falkon_private_debug.h IDENTIFIER "FALKON_PRIVATE_LOG" CATEGORY_NAME "org.kde.falkon")
|
|
|
|
|
2018-09-28 21:07:31 +02:00
|
|
|
if (HAVE_LIBINTL)
|
2022-06-18 07:25:09 +02:00
|
|
|
set(SRCS ${SRCS} plugins/qml/api/i18n/qmli18n.cpp plugins/qml/api/i18n/qmli18n.h)
|
2018-09-28 21:07:31 +02:00
|
|
|
endif()
|
|
|
|
|
2017-09-09 20:20:57 +02:00
|
|
|
if (WIN32)
|
2022-06-18 07:25:09 +02:00
|
|
|
set(SRCS ${SRCS} other/registerqappassociation.cpp other/registerqappassociation.h)
|
2017-09-09 20:20:57 +02:00
|
|
|
endif()
|
|
|
|
if (APPLE)
|
|
|
|
set(SRCS ${SRCS} tools/disablewindowtabbbing.mm)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# TODO: use ki18n_wrap_ui?
|
2022-06-16 19:24:50 +02:00
|
|
|
qt_wrap_ui(SRCS
|
2017-09-09 20:20:57 +02:00
|
|
|
adblock/adblockaddsubscriptiondialog.ui
|
|
|
|
adblock/adblockdialog.ui
|
|
|
|
autofill/autofillnotification.ui
|
|
|
|
autofill/autofillwidget.ui
|
|
|
|
autofill/passwordbackends/masterpassworddialog.ui
|
|
|
|
bookmarks/bookmarksexport/bookmarksexportdialog.ui
|
|
|
|
bookmarks/bookmarksimport/bookmarksimportdialog.ui
|
|
|
|
bookmarks/bookmarksmanager.ui
|
|
|
|
bookmarks/bookmarkswidget.ui
|
|
|
|
cookies/cookiemanager.ui
|
|
|
|
downloads/downloaditem.ui
|
|
|
|
downloads/downloadmanager.ui
|
|
|
|
downloads/downloadoptionsdialog.ui
|
|
|
|
history/historymanager.ui
|
2018-01-05 19:51:58 +01:00
|
|
|
navigation/navigationbarconfigdialog.ui
|
2017-09-09 20:20:57 +02:00
|
|
|
network/sslerrordialog.ui
|
|
|
|
notifications/desktopnotification.ui
|
|
|
|
opensearch/editsearchengine.ui
|
|
|
|
opensearch/searchenginesdialog.ui
|
|
|
|
other/aboutdialog.ui
|
|
|
|
other/browsinglibrary.ui
|
|
|
|
other/clearprivatedata.ui
|
|
|
|
other/iconchooser.ui
|
2019-03-14 11:13:37 +01:00
|
|
|
other/protocolhandlerdialog.ui
|
2017-09-09 20:20:57 +02:00
|
|
|
other/siteinfo.ui
|
|
|
|
other/siteinfowidget.ui
|
|
|
|
preferences/acceptlanguage.ui
|
|
|
|
preferences/addacceptlanguage.ui
|
|
|
|
preferences/autofillmanager.ui
|
2023-04-24 23:06:17 +02:00
|
|
|
preferences/certificatemanager.ui
|
2017-09-09 20:20:57 +02:00
|
|
|
preferences/jsoptions.ui
|
|
|
|
preferences/pluginslist.ui
|
|
|
|
preferences/preferences.ui
|
2023-04-07 00:06:15 +02:00
|
|
|
preferences/schememanager.ui
|
2017-09-09 20:20:57 +02:00
|
|
|
preferences/thememanager.ui
|
|
|
|
preferences/useragentdialog.ui
|
|
|
|
session/sessionmanagerdialog.ui
|
|
|
|
sidebar/bookmarkssidebar.ui
|
|
|
|
sidebar/historysidebar.ui
|
|
|
|
tools/certificateinfowidget.ui
|
|
|
|
tools/docktitlebarwidget.ui
|
|
|
|
tools/html5permissions/html5permissionsdialog.ui
|
|
|
|
tools/html5permissions/html5permissionsnotification.ui
|
|
|
|
webengine/jsalert.ui
|
|
|
|
webengine/jsconfirm.ui
|
|
|
|
webengine/jsprompt.ui
|
|
|
|
webtab/searchtoolbar.ui
|
|
|
|
)
|
|
|
|
|
2022-06-16 19:24:50 +02:00
|
|
|
qt_add_resources(SRCS
|
2017-09-09 20:20:57 +02:00
|
|
|
data/data.qrc
|
|
|
|
data/html.qrc
|
|
|
|
data/icons.qrc
|
|
|
|
data/breeze-fallback.qrc
|
2018-01-06 13:01:31 +01:00
|
|
|
adblock/adblock.qrc
|
2017-09-09 20:20:57 +02:00
|
|
|
)
|
|
|
|
|
2019-08-24 17:19:45 +02:00
|
|
|
add_library(FalkonPrivate SHARED ${SRCS} ${LOGGING_SRCS})
|
2017-09-09 20:20:57 +02:00
|
|
|
|
2023-11-17 20:58:45 +01:00
|
|
|
get_property(QT_WEBENGINE_INCLUDE_DIRS TARGET Qt6::WebEngineCore PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
|
2023-04-10 16:49:53 +02:00
|
|
|
|
2018-05-14 13:53:05 +02:00
|
|
|
target_include_directories(FalkonPrivate SYSTEM PUBLIC ${QT_WEBENGINE_INCLUDE_DIRS})
|
|
|
|
|
2023-11-17 20:58:45 +01:00
|
|
|
target_link_libraries(FalkonPrivate
|
|
|
|
Qt6::Widgets
|
|
|
|
Qt6::WebEngineWidgets
|
|
|
|
Qt6::Network
|
|
|
|
Qt6::NetworkPrivate
|
|
|
|
Qt6::Sql
|
|
|
|
Qt6::PrintSupport
|
|
|
|
Qt6::QuickWidgets
|
|
|
|
Qt6::WebChannel
|
|
|
|
Qt6::Core5Compat
|
|
|
|
KF6::Archive
|
|
|
|
${OPENSSL_CRYPTO_LIBRARY}
|
|
|
|
)
|
2017-09-09 20:20:57 +02:00
|
|
|
|
2019-12-14 22:22:36 +01:00
|
|
|
if (HAVE_LIBINTL)
|
|
|
|
target_include_directories(FalkonPrivate SYSTEM PUBLIC ${Intl_INCLUDE_DIRS})
|
|
|
|
target_link_libraries(FalkonPrivate ${Intl_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
|
2017-09-09 20:20:57 +02:00
|
|
|
if (UNIX AND NOT APPLE)
|
|
|
|
if (NOT NO_X11)
|
2023-06-02 04:18:39 +02:00
|
|
|
target_link_libraries(FalkonPrivate XCB::XCB)
|
2017-09-09 20:20:57 +02:00
|
|
|
endif()
|
|
|
|
|
2018-02-27 14:42:16 +01:00
|
|
|
set_target_properties(FalkonPrivate PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION "3")
|
2017-09-09 20:20:57 +02:00
|
|
|
install(TARGETS FalkonPrivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (WIN32)
|
2022-06-16 19:24:50 +02:00
|
|
|
target_link_libraries(FalkonPrivate Qt::WinExtras)
|
2017-09-09 20:20:57 +02:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (APPLE)
|
2018-03-23 11:16:19 +01:00
|
|
|
target_link_libraries(FalkonPrivate "-framework CoreServices -framework AppKit")
|
2017-09-09 20:20:57 +02:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (NOT DISABLE_DBUS)
|
2022-06-16 19:24:50 +02:00
|
|
|
target_link_libraries(FalkonPrivate Qt::DBus)
|
2017-09-09 20:20:57 +02:00
|
|
|
endif()
|