2019-12-29 12:47:15 +01:00
|
|
|
# Exposed build flags:
|
|
|
|
# from lib/websocketpp.pri
|
|
|
|
# - WEBSOCKETPP_PREFIX ($$PWD by default)
|
|
|
|
# - WEBSOCKETPP_SYSTEM (1 = true) (unix only)
|
|
|
|
# from lib/rapidjson.pri
|
|
|
|
# - RAPIDJSON_PREFIX ($$PWD by default)
|
|
|
|
# - RAPIDJSON_SYSTEM (1 = true) (Linux only, uses pkg-config)
|
|
|
|
# from lib/boost.pri
|
|
|
|
# - BOOST_DIRECTORY (C:\local\boost\ by default) (Windows only)
|
|
|
|
|
2020-11-21 18:07:44 +01:00
|
|
|
CCACHE_BIN = $$system(which ccache)
|
|
|
|
!isEmpty(CCACHE_BIN) {
|
|
|
|
load(ccache)
|
|
|
|
CONFIG+=ccache
|
|
|
|
}
|
|
|
|
|
2020-11-21 11:24:32 +01:00
|
|
|
MINIMUM_REQUIRED_QT_VERSION = 5.12.0
|
|
|
|
|
|
|
|
!versionAtLeast(QT_VERSION, $$MINIMUM_REQUIRED_QT_VERSION) {
|
|
|
|
error("You're trying to compile with Qt $$QT_VERSION, but minimum required Qt version is $$MINIMUM_REQUIRED_QT_VERSION")
|
|
|
|
}
|
|
|
|
|
2021-07-22 19:46:40 +02:00
|
|
|
QT += widgets core gui network multimedia svg concurrent httpserver
|
2019-04-17 17:02:13 +02:00
|
|
|
CONFIG += communi
|
|
|
|
COMMUNI += core model util
|
|
|
|
|
|
|
|
INCLUDEPATH += src/
|
|
|
|
TARGET = chatterino
|
|
|
|
TEMPLATE = app
|
|
|
|
PRECOMPILED_HEADER = src/PrecompiledHeader.hpp
|
|
|
|
CONFIG += precompile_header
|
|
|
|
DEFINES += CHATTERINO
|
|
|
|
DEFINES += AB_CUSTOM_THEME
|
|
|
|
DEFINES += AB_CUSTOM_SETTINGS
|
|
|
|
CONFIG += AB_NOT_STANDALONE
|
|
|
|
|
|
|
|
useBreakpad {
|
|
|
|
LIBS += -L$$PWD/lib/qBreakpad/handler/build
|
|
|
|
include(lib/qBreakpad/qBreakpad.pri)
|
|
|
|
DEFINES += C_USE_BREAKPAD
|
|
|
|
}
|
|
|
|
|
2019-07-23 22:18:36 +02:00
|
|
|
# use C++17
|
2019-10-07 16:51:46 +02:00
|
|
|
CONFIG += c++17
|
|
|
|
|
|
|
|
# C++17 backwards compatability
|
2019-07-23 22:18:36 +02:00
|
|
|
win32-msvc* {
|
|
|
|
QMAKE_CXXFLAGS += /std:c++17
|
|
|
|
} else {
|
|
|
|
QMAKE_CXXFLAGS += -std=c++17
|
|
|
|
}
|
|
|
|
|
2019-10-07 16:12:36 +02:00
|
|
|
linux {
|
|
|
|
LIBS += -lrt
|
|
|
|
QMAKE_LFLAGS += -lrt
|
2019-12-29 12:47:15 +01:00
|
|
|
|
|
|
|
# Enable linking libraries using PKGCONFIG += libraryname
|
|
|
|
CONFIG += link_pkgconfig
|
2019-10-07 16:12:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
macx {
|
2021-01-23 16:27:05 +01:00
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14
|
|
|
|
|
2019-10-07 16:12:36 +02:00
|
|
|
INCLUDEPATH += /usr/local/include
|
|
|
|
INCLUDEPATH += /usr/local/opt/openssl/include
|
|
|
|
LIBS += -L/usr/local/opt/openssl/lib
|
|
|
|
}
|
|
|
|
|
2019-04-17 17:02:13 +02:00
|
|
|
# https://bugreports.qt.io/browse/QTBUG-27018
|
|
|
|
equals(QMAKE_CXX, "clang++")|equals(QMAKE_CXX, "g++") {
|
|
|
|
TARGET = bin/chatterino
|
|
|
|
}
|
|
|
|
|
|
|
|
# Icons
|
2019-04-27 15:28:44 +02:00
|
|
|
macx:ICON = resources/chatterino.icns
|
2019-04-17 17:02:13 +02:00
|
|
|
win32:RC_FILE = resources/windows.rc
|
|
|
|
|
|
|
|
macx {
|
|
|
|
LIBS += -L/usr/local/lib
|
|
|
|
}
|
|
|
|
|
2019-09-22 16:14:16 +02:00
|
|
|
# Set C_DEBUG if it's a debug build
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
DEFINES += C_DEBUG
|
2019-10-07 16:12:36 +02:00
|
|
|
DEFINES += QT_DEBUG
|
2020-11-17 10:23:26 +01:00
|
|
|
} else {
|
|
|
|
DEFINES += NDEBUG
|
2019-09-22 16:14:16 +02:00
|
|
|
}
|
|
|
|
|
2019-04-17 17:02:13 +02:00
|
|
|
# Submodules
|
2019-08-10 23:19:00 +02:00
|
|
|
include(lib/warnings.pri)
|
2019-04-17 17:02:13 +02:00
|
|
|
include(lib/libcommuni.pri)
|
|
|
|
include(lib/websocketpp.pri)
|
|
|
|
include(lib/wintoast.pri)
|
2019-07-23 22:18:36 +02:00
|
|
|
include(lib/signals.pri)
|
|
|
|
include(lib/settings.pri)
|
|
|
|
include(lib/serialize.pri)
|
2021-03-13 15:34:11 +01:00
|
|
|
include(lib/lrucache.pri)
|
2019-07-23 22:18:36 +02:00
|
|
|
include(lib/winsdk.pri)
|
|
|
|
include(lib/rapidjson.pri)
|
2019-09-18 13:03:16 +02:00
|
|
|
include(lib/qtkeychain.pri)
|
2019-04-17 17:02:13 +02:00
|
|
|
|
2019-07-21 16:10:40 +02:00
|
|
|
exists( $$OUT_PWD/conanbuildinfo.pri ) {
|
|
|
|
message("Using conan packages")
|
|
|
|
CONFIG += conan_basic_setup
|
|
|
|
include($$OUT_PWD/conanbuildinfo.pri)
|
|
|
|
LIBS += -lGdi32
|
|
|
|
}
|
|
|
|
else{
|
2019-08-04 15:31:17 +02:00
|
|
|
include(lib/boost.pri)
|
2019-07-21 16:10:40 +02:00
|
|
|
include(lib/openssl.pri)
|
|
|
|
}
|
|
|
|
|
2019-04-17 17:02:13 +02:00
|
|
|
# Optional feature: QtWebEngine
|
|
|
|
#exists ($(QTDIR)/include/QtWebEngine/QtWebEngine) {
|
|
|
|
# message(Using QWebEngine)
|
|
|
|
# QT += webenginewidgets
|
|
|
|
# DEFINES += "USEWEBENGINE"
|
|
|
|
#}
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
src/Application.cpp \
|
|
|
|
src/autogenerated/ResourcesAutogen.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/BaseSettings.cpp \
|
|
|
|
src/BaseTheme.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/BrowserExtension.cpp \
|
2019-09-22 15:30:04 +02:00
|
|
|
src/common/Args.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/Channel.cpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/common/ChannelChatters.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/common/ChatterinoSetting.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/common/ChatterSet.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/CompletionModel.cpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/common/Credentials.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/DownloadManager.cpp \
|
2019-05-26 21:44:13 +02:00
|
|
|
src/common/Env.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/LinkParser.cpp \
|
2019-09-15 15:45:04 +02:00
|
|
|
src/common/Modes.cpp \
|
2021-04-17 13:49:19 +02:00
|
|
|
src/common/NetworkCommon.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/NetworkManager.cpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/common/NetworkPrivate.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/NetworkRequest.cpp \
|
|
|
|
src/common/NetworkResult.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/common/QLogging.cpp \
|
2019-09-16 18:35:51 +02:00
|
|
|
src/common/Version.cpp \
|
2020-09-19 17:14:10 +02:00
|
|
|
src/common/WindowDescriptors.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/controllers/accounts/Account.cpp \
|
|
|
|
src/controllers/accounts/AccountController.cpp \
|
|
|
|
src/controllers/accounts/AccountModel.cpp \
|
|
|
|
src/controllers/commands/Command.cpp \
|
|
|
|
src/controllers/commands/CommandController.cpp \
|
|
|
|
src/controllers/commands/CommandModel.cpp \
|
2020-10-18 15:16:56 +02:00
|
|
|
src/controllers/filters/FilterModel.cpp \
|
|
|
|
src/controllers/filters/parser/FilterParser.cpp \
|
|
|
|
src/controllers/filters/parser/Tokenizer.cpp \
|
|
|
|
src/controllers/filters/parser/Types.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/controllers/highlights/BadgeHighlightModel.cpp \
|
|
|
|
src/controllers/highlights/HighlightBadge.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/controllers/highlights/HighlightBlacklistModel.cpp \
|
|
|
|
src/controllers/highlights/HighlightModel.cpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/controllers/highlights/HighlightPhrase.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/controllers/highlights/UserHighlightModel.cpp \
|
|
|
|
src/controllers/ignores/IgnoreModel.cpp \
|
|
|
|
src/controllers/moderationactions/ModerationAction.cpp \
|
|
|
|
src/controllers/moderationactions/ModerationActionModel.cpp \
|
|
|
|
src/controllers/notifications/NotificationController.cpp \
|
|
|
|
src/controllers/notifications/NotificationModel.cpp \
|
2020-02-23 20:34:00 +01:00
|
|
|
src/controllers/pings/MutedChannelModel.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/controllers/taggedusers/TaggedUser.cpp \
|
|
|
|
src/controllers/taggedusers/TaggedUsersModel.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/debug/Benchmark.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/main.cpp \
|
|
|
|
src/messages/Emote.cpp \
|
|
|
|
src/messages/Image.cpp \
|
|
|
|
src/messages/ImageSet.cpp \
|
|
|
|
src/messages/layouts/MessageLayout.cpp \
|
|
|
|
src/messages/layouts/MessageLayoutContainer.cpp \
|
|
|
|
src/messages/layouts/MessageLayoutElement.cpp \
|
|
|
|
src/messages/Link.cpp \
|
|
|
|
src/messages/Message.cpp \
|
|
|
|
src/messages/MessageBuilder.cpp \
|
|
|
|
src/messages/MessageColor.cpp \
|
|
|
|
src/messages/MessageContainer.cpp \
|
|
|
|
src/messages/MessageElement.cpp \
|
2019-09-09 15:21:49 +02:00
|
|
|
src/messages/search/AuthorPredicate.cpp \
|
2021-04-17 13:18:22 +02:00
|
|
|
src/messages/search/ChannelPredicate.cpp \
|
2019-09-09 15:21:49 +02:00
|
|
|
src/messages/search/LinkPredicate.cpp \
|
2021-05-01 14:21:45 +02:00
|
|
|
src/messages/search/MessageFlagsPredicate.cpp \
|
2019-09-09 15:21:49 +02:00
|
|
|
src/messages/search/SubstringPredicate.cpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/messages/SharedMessageBuilder.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/bttv/BttvEmotes.cpp \
|
|
|
|
src/providers/bttv/LoadBttvChannelEmote.cpp \
|
|
|
|
src/providers/chatterino/ChatterinoBadges.cpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/providers/colors/ColorProvider.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/emoji/Emojis.cpp \
|
2020-10-25 10:36:00 +01:00
|
|
|
src/providers/ffz/FfzBadges.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/ffz/FfzEmotes.cpp \
|
|
|
|
src/providers/irc/AbstractIrcServer.cpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/providers/irc/Irc2.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/irc/IrcAccount.cpp \
|
|
|
|
src/providers/irc/IrcChannel2.cpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/providers/irc/IrcCommands.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/irc/IrcConnection2.cpp \
|
2020-07-04 15:15:59 +02:00
|
|
|
src/providers/irc/IrcMessageBuilder.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/irc/IrcServer.cpp \
|
2020-10-04 18:32:52 +02:00
|
|
|
src/providers/IvrApi.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/LinkResolver.cpp \
|
2020-03-14 12:13:57 +01:00
|
|
|
src/providers/twitch/api/Helix.cpp \
|
|
|
|
src/providers/twitch/api/Kraken.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/providers/twitch/ChannelPointReward.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/twitch/IrcMessageHandler.cpp \
|
|
|
|
src/providers/twitch/PubsubActions.cpp \
|
|
|
|
src/providers/twitch/PubsubClient.cpp \
|
|
|
|
src/providers/twitch/PubsubHelpers.cpp \
|
|
|
|
src/providers/twitch/TwitchAccount.cpp \
|
|
|
|
src/providers/twitch/TwitchAccountManager.cpp \
|
2019-12-01 13:32:41 +01:00
|
|
|
src/providers/twitch/TwitchBadge.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/twitch/TwitchBadges.cpp \
|
|
|
|
src/providers/twitch/TwitchChannel.cpp \
|
|
|
|
src/providers/twitch/TwitchEmotes.cpp \
|
|
|
|
src/providers/twitch/TwitchHelpers.cpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/providers/twitch/TwitchIrcServer.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/twitch/TwitchMessageBuilder.cpp \
|
|
|
|
src/providers/twitch/TwitchUser.cpp \
|
|
|
|
src/RunGui.cpp \
|
|
|
|
src/singletons/Badges.cpp \
|
|
|
|
src/singletons/Emotes.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/singletons/Fonts.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/singletons/helper/GifTimer.cpp \
|
|
|
|
src/singletons/helper/LoggingChannel.cpp \
|
|
|
|
src/singletons/Logging.cpp \
|
|
|
|
src/singletons/NativeMessaging.cpp \
|
|
|
|
src/singletons/Paths.cpp \
|
|
|
|
src/singletons/Resources.cpp \
|
|
|
|
src/singletons/Settings.cpp \
|
|
|
|
src/singletons/Theme.cpp \
|
|
|
|
src/singletons/Toasts.cpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/singletons/TooltipPreviewImage.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/singletons/Updates.cpp \
|
|
|
|
src/singletons/WindowManager.cpp \
|
2021-03-13 12:14:40 +01:00
|
|
|
src/util/AttachToConsole.cpp \
|
2020-01-24 21:36:51 +01:00
|
|
|
src/util/Clipboard.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/DebugCount.cpp \
|
2021-05-03 00:08:08 +02:00
|
|
|
src/util/DisplayBadge.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/FormatTime.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/FunctionEventFilter.cpp \
|
|
|
|
src/util/FuzzyConvert.cpp \
|
|
|
|
src/util/Helpers.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/IncognitoBrowser.cpp \
|
|
|
|
src/util/InitUpdateButton.cpp \
|
2020-10-22 23:17:31 +02:00
|
|
|
src/util/LayoutHelper.cpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/util/NuulsUploader.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/RapidjsonHelpers.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/util/SplitCommand.cpp \
|
2020-07-12 22:44:33 +02:00
|
|
|
src/util/StreamerMode.cpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/util/StreamLink.cpp \
|
2020-05-10 12:45:19 +02:00
|
|
|
src/util/Twitch.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/WindowsHelper.cpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/widgets/AccountSwitchPopup.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/AccountSwitchWidget.cpp \
|
|
|
|
src/widgets/AttachedWindow.cpp \
|
2019-12-14 12:57:16 +01:00
|
|
|
src/widgets/BasePopup.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/BaseWidget.cpp \
|
|
|
|
src/widgets/BaseWindow.cpp \
|
2021-05-03 00:08:08 +02:00
|
|
|
src/widgets/dialogs/BadgePickerDialog.cpp \
|
2020-10-18 15:16:56 +02:00
|
|
|
src/widgets/dialogs/ChannelFilterEditorDialog.cpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/widgets/dialogs/ColorPickerDialog.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/dialogs/EmotePopup.cpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/widgets/dialogs/IrcConnectionEditor.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/dialogs/LastRunCrashDialog.cpp \
|
|
|
|
src/widgets/dialogs/LoginDialog.cpp \
|
|
|
|
src/widgets/dialogs/NotificationPopup.cpp \
|
|
|
|
src/widgets/dialogs/QualityPopup.cpp \
|
|
|
|
src/widgets/dialogs/SelectChannelDialog.cpp \
|
2020-10-18 15:16:56 +02:00
|
|
|
src/widgets/dialogs/SelectChannelFiltersDialog.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/dialogs/SettingsDialog.cpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/widgets/dialogs/switcher/NewTabItem.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/widgets/dialogs/switcher/QuickSwitcherModel.cpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/widgets/dialogs/switcher/QuickSwitcherPopup.cpp \
|
|
|
|
src/widgets/dialogs/switcher/SwitchSplitItem.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/dialogs/UpdateDialog.cpp \
|
|
|
|
src/widgets/dialogs/UserInfoPopup.cpp \
|
|
|
|
src/widgets/dialogs/WelcomeDialog.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/widgets/FramelessEmbedWindow.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/helper/Button.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/ChannelView.cpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/widgets/helper/ColorButton.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/ComboBoxItemDelegate.cpp \
|
|
|
|
src/widgets/helper/DebugPopup.cpp \
|
|
|
|
src/widgets/helper/EditableModelView.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/helper/EffectLabel.cpp \
|
2021-07-25 03:59:58 +02:00
|
|
|
src/widgets/helper/LoginServer.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/NotebookButton.cpp \
|
|
|
|
src/widgets/helper/NotebookTab.cpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/widgets/helper/QColorPicker.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/ResizingTextEdit.cpp \
|
|
|
|
src/widgets/helper/ScrollbarHighlight.cpp \
|
|
|
|
src/widgets/helper/SearchPopup.cpp \
|
|
|
|
src/widgets/helper/SettingsDialogTab.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/helper/SignalLabel.cpp \
|
|
|
|
src/widgets/helper/TitlebarButton.cpp \
|
|
|
|
src/widgets/Label.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/widgets/listview/GenericItemDelegate.cpp \
|
2020-08-15 18:59:17 +02:00
|
|
|
src/widgets/listview/GenericListItem.cpp \
|
|
|
|
src/widgets/listview/GenericListModel.cpp \
|
|
|
|
src/widgets/listview/GenericListView.cpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/widgets/Notebook.cpp \
|
|
|
|
src/widgets/Scrollbar.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/settingspages/AboutPage.cpp \
|
|
|
|
src/widgets/settingspages/AccountsPage.cpp \
|
|
|
|
src/widgets/settingspages/CommandPage.cpp \
|
|
|
|
src/widgets/settingspages/ExternalToolsPage.cpp \
|
2020-10-18 15:16:56 +02:00
|
|
|
src/widgets/settingspages/FiltersPage.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/settingspages/GeneralPage.cpp \
|
2020-10-22 23:17:31 +02:00
|
|
|
src/widgets/settingspages/GeneralPageView.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/settingspages/HighlightingPage.cpp \
|
|
|
|
src/widgets/settingspages/IgnoresPage.cpp \
|
|
|
|
src/widgets/settingspages/KeyboardSettingsPage.cpp \
|
|
|
|
src/widgets/settingspages/ModerationPage.cpp \
|
|
|
|
src/widgets/settingspages/NotificationPage.cpp \
|
|
|
|
src/widgets/settingspages/SettingsPage.cpp \
|
|
|
|
src/widgets/splits/ClosedSplits.cpp \
|
2021-06-19 18:29:17 +02:00
|
|
|
src/widgets/splits/InputCompletionItem.cpp \
|
|
|
|
src/widgets/splits/InputCompletionPopup.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/splits/Split.cpp \
|
|
|
|
src/widgets/splits/SplitContainer.cpp \
|
|
|
|
src/widgets/splits/SplitHeader.cpp \
|
|
|
|
src/widgets/splits/SplitInput.cpp \
|
|
|
|
src/widgets/splits/SplitOverlay.cpp \
|
|
|
|
src/widgets/StreamView.cpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/TooltipWidget.cpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/Window.cpp \
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
src/Application.hpp \
|
|
|
|
src/autogenerated/ResourcesAutogen.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/BaseSettings.hpp \
|
|
|
|
src/BaseTheme.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/BrowserExtension.hpp \
|
|
|
|
src/common/Aliases.hpp \
|
2019-09-22 15:30:04 +02:00
|
|
|
src/common/Args.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/Atomic.hpp \
|
|
|
|
src/common/Channel.hpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/common/ChannelChatters.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/common/ChatterinoSetting.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/common/ChatterSet.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/Common.hpp \
|
|
|
|
src/common/CompletionModel.hpp \
|
|
|
|
src/common/ConcurrentMap.hpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/common/Credentials.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/DownloadManager.hpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/common/Env.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/common/FlagsEnum.hpp \
|
2020-07-04 15:15:59 +02:00
|
|
|
src/common/IrcColors.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/LinkParser.hpp \
|
2019-09-15 15:45:04 +02:00
|
|
|
src/common/Modes.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/NetworkCommon.hpp \
|
|
|
|
src/common/NetworkManager.hpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/common/NetworkPrivate.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/NetworkRequest.hpp \
|
|
|
|
src/common/NetworkResult.hpp \
|
|
|
|
src/common/NullablePtr.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/common/Outcome.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/ProviderId.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/common/QLogging.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/SignalVector.hpp \
|
|
|
|
src/common/SignalVectorModel.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/common/Singleton.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/common/UniqueAccess.hpp \
|
|
|
|
src/common/Version.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/common/WindowDescriptors.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/controllers/accounts/Account.hpp \
|
|
|
|
src/controllers/accounts/AccountController.hpp \
|
|
|
|
src/controllers/accounts/AccountModel.hpp \
|
|
|
|
src/controllers/commands/Command.hpp \
|
|
|
|
src/controllers/commands/CommandController.hpp \
|
|
|
|
src/controllers/commands/CommandModel.hpp \
|
2020-10-18 15:16:56 +02:00
|
|
|
src/controllers/filters/FilterModel.hpp \
|
|
|
|
src/controllers/filters/FilterRecord.hpp \
|
|
|
|
src/controllers/filters/FilterSet.hpp \
|
|
|
|
src/controllers/filters/parser/FilterParser.hpp \
|
|
|
|
src/controllers/filters/parser/Tokenizer.hpp \
|
|
|
|
src/controllers/filters/parser/Types.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/controllers/highlights/BadgeHighlightModel.hpp \
|
|
|
|
src/controllers/highlights/HighlightBadge.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/controllers/highlights/HighlightBlacklistModel.hpp \
|
|
|
|
src/controllers/highlights/HighlightBlacklistUser.hpp \
|
|
|
|
src/controllers/highlights/HighlightModel.hpp \
|
|
|
|
src/controllers/highlights/HighlightPhrase.hpp \
|
|
|
|
src/controllers/highlights/UserHighlightModel.hpp \
|
|
|
|
src/controllers/ignores/IgnoreController.hpp \
|
|
|
|
src/controllers/ignores/IgnoreModel.hpp \
|
|
|
|
src/controllers/ignores/IgnorePhrase.hpp \
|
|
|
|
src/controllers/moderationactions/ModerationAction.hpp \
|
|
|
|
src/controllers/moderationactions/ModerationActionModel.hpp \
|
|
|
|
src/controllers/notifications/NotificationController.hpp \
|
|
|
|
src/controllers/notifications/NotificationModel.hpp \
|
2020-02-23 20:34:00 +01:00
|
|
|
src/controllers/pings/MutedChannelModel.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/controllers/taggedusers/TaggedUser.hpp \
|
|
|
|
src/controllers/taggedusers/TaggedUsersModel.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/debug/AssertInGuiThread.hpp \
|
|
|
|
src/debug/Benchmark.hpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/ForwardDecl.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/messages/Emote.hpp \
|
|
|
|
src/messages/Image.hpp \
|
|
|
|
src/messages/ImageSet.hpp \
|
|
|
|
src/messages/layouts/MessageLayout.hpp \
|
|
|
|
src/messages/layouts/MessageLayoutContainer.hpp \
|
|
|
|
src/messages/layouts/MessageLayoutElement.hpp \
|
|
|
|
src/messages/LimitedQueue.hpp \
|
|
|
|
src/messages/LimitedQueueSnapshot.hpp \
|
|
|
|
src/messages/Link.hpp \
|
|
|
|
src/messages/Message.hpp \
|
|
|
|
src/messages/MessageBuilder.hpp \
|
|
|
|
src/messages/MessageColor.hpp \
|
|
|
|
src/messages/MessageContainer.hpp \
|
|
|
|
src/messages/MessageElement.hpp \
|
|
|
|
src/messages/MessageParseArgs.hpp \
|
2019-09-09 15:21:49 +02:00
|
|
|
src/messages/search/AuthorPredicate.hpp \
|
2021-04-17 13:18:22 +02:00
|
|
|
src/messages/search/ChannelPredicate.hpp \
|
2019-09-09 15:21:49 +02:00
|
|
|
src/messages/search/LinkPredicate.hpp \
|
2021-05-01 14:21:45 +02:00
|
|
|
src/messages/search/MessageFlagsPredicate.hpp \
|
2019-09-09 15:21:49 +02:00
|
|
|
src/messages/search/MessagePredicate.hpp \
|
|
|
|
src/messages/search/SubstringPredicate.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/messages/Selection.hpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/messages/SharedMessageBuilder.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/PrecompiledHeader.hpp \
|
|
|
|
src/providers/bttv/BttvEmotes.hpp \
|
|
|
|
src/providers/bttv/LoadBttvChannelEmote.hpp \
|
|
|
|
src/providers/chatterino/ChatterinoBadges.hpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/providers/colors/ColorProvider.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/emoji/Emojis.hpp \
|
2020-10-25 10:36:00 +01:00
|
|
|
src/providers/ffz/FfzBadges.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/ffz/FfzEmotes.hpp \
|
|
|
|
src/providers/irc/AbstractIrcServer.hpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/providers/irc/Irc2.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/irc/IrcAccount.hpp \
|
|
|
|
src/providers/irc/IrcChannel2.hpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/providers/irc/IrcCommands.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/irc/IrcConnection2.hpp \
|
2020-07-04 15:15:59 +02:00
|
|
|
src/providers/irc/IrcMessageBuilder.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/irc/IrcServer.hpp \
|
2020-10-04 18:32:52 +02:00
|
|
|
src/providers/IvrApi.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/LinkResolver.hpp \
|
2020-03-14 12:13:57 +01:00
|
|
|
src/providers/twitch/api/Helix.hpp \
|
|
|
|
src/providers/twitch/api/Kraken.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/providers/twitch/ChannelPointReward.hpp \
|
|
|
|
src/providers/twitch/ChatterinoWebSocketppLogger.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/twitch/EmoteValue.hpp \
|
|
|
|
src/providers/twitch/IrcMessageHandler.hpp \
|
|
|
|
src/providers/twitch/PubsubActions.hpp \
|
|
|
|
src/providers/twitch/PubsubClient.hpp \
|
|
|
|
src/providers/twitch/PubsubHelpers.hpp \
|
|
|
|
src/providers/twitch/TwitchAccount.hpp \
|
|
|
|
src/providers/twitch/TwitchAccountManager.hpp \
|
2019-12-01 13:32:41 +01:00
|
|
|
src/providers/twitch/TwitchBadge.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/twitch/TwitchBadges.hpp \
|
|
|
|
src/providers/twitch/TwitchChannel.hpp \
|
|
|
|
src/providers/twitch/TwitchCommon.hpp \
|
|
|
|
src/providers/twitch/TwitchEmotes.hpp \
|
|
|
|
src/providers/twitch/TwitchHelpers.hpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/providers/twitch/TwitchIrcServer.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/providers/twitch/TwitchMessageBuilder.hpp \
|
|
|
|
src/providers/twitch/TwitchUser.hpp \
|
|
|
|
src/RunGui.hpp \
|
|
|
|
src/singletons/Badges.hpp \
|
|
|
|
src/singletons/Emotes.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/singletons/Fonts.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/singletons/helper/GifTimer.hpp \
|
|
|
|
src/singletons/helper/LoggingChannel.hpp \
|
|
|
|
src/singletons/Logging.hpp \
|
|
|
|
src/singletons/NativeMessaging.hpp \
|
|
|
|
src/singletons/Paths.hpp \
|
|
|
|
src/singletons/Resources.hpp \
|
|
|
|
src/singletons/Settings.hpp \
|
|
|
|
src/singletons/Theme.hpp \
|
|
|
|
src/singletons/Toasts.hpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/singletons/TooltipPreviewImage.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/singletons/Updates.hpp \
|
|
|
|
src/singletons/WindowManager.hpp \
|
2021-03-13 12:14:40 +01:00
|
|
|
src/util/AttachToConsole.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/Clamp.hpp \
|
2020-01-24 21:36:51 +01:00
|
|
|
src/util/Clipboard.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/CombinePath.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/ConcurrentMap.hpp \
|
|
|
|
src/util/DebugCount.hpp \
|
2021-05-03 00:08:08 +02:00
|
|
|
src/util/DisplayBadge.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/DistanceBetweenPoints.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/util/ExponentialBackoff.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/FormatTime.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/FunctionEventFilter.hpp \
|
|
|
|
src/util/FuzzyConvert.hpp \
|
|
|
|
src/util/Helpers.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/IncognitoBrowser.hpp \
|
|
|
|
src/util/InitUpdateButton.hpp \
|
|
|
|
src/util/IrcHelpers.hpp \
|
|
|
|
src/util/IsBigEndian.hpp \
|
|
|
|
src/util/LayoutCreator.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/LayoutHelper.hpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/util/NuulsUploader.hpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/util/Overloaded.hpp \
|
2020-02-23 20:01:35 +01:00
|
|
|
src/util/PersistSignalVector.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/PostToThread.hpp \
|
2019-08-13 16:39:22 +02:00
|
|
|
src/util/QObjectRef.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/QStringHash.hpp \
|
|
|
|
src/util/rangealgorithm.hpp \
|
|
|
|
src/util/RapidjsonHelpers.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/RapidJsonSerializeQString.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/RemoveScrollAreaBackground.hpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/util/SampleCheerMessages.hpp \
|
2019-12-29 15:45:52 +01:00
|
|
|
src/util/SampleLinks.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/SharedPtrElementLess.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/Shortcut.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/util/SplitCommand.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/StandardItemHelper.hpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/util/StreamerMode.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/util/StreamLink.hpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/util/Twitch.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/util/WindowsHelper.hpp \
|
2019-09-08 18:17:18 +02:00
|
|
|
src/widgets/AccountSwitchPopup.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/AccountSwitchWidget.hpp \
|
|
|
|
src/widgets/AttachedWindow.hpp \
|
2019-12-14 12:57:16 +01:00
|
|
|
src/widgets/BasePopup.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/BaseWidget.hpp \
|
|
|
|
src/widgets/BaseWindow.hpp \
|
2021-05-03 00:08:08 +02:00
|
|
|
src/widgets/dialogs/BadgePickerDialog.hpp \
|
2020-10-18 15:16:56 +02:00
|
|
|
src/widgets/dialogs/ChannelFilterEditorDialog.hpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/widgets/dialogs/ColorPickerDialog.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/dialogs/EmotePopup.hpp \
|
2019-09-18 13:03:16 +02:00
|
|
|
src/widgets/dialogs/IrcConnectionEditor.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/dialogs/LastRunCrashDialog.hpp \
|
|
|
|
src/widgets/dialogs/LoginDialog.hpp \
|
|
|
|
src/widgets/dialogs/NotificationPopup.hpp \
|
|
|
|
src/widgets/dialogs/QualityPopup.hpp \
|
|
|
|
src/widgets/dialogs/SelectChannelDialog.hpp \
|
2020-10-18 15:16:56 +02:00
|
|
|
src/widgets/dialogs/SelectChannelFiltersDialog.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/dialogs/SettingsDialog.hpp \
|
2020-08-13 19:25:51 +02:00
|
|
|
src/widgets/dialogs/switcher/AbstractSwitcherItem.hpp \
|
|
|
|
src/widgets/dialogs/switcher/NewTabItem.hpp \
|
|
|
|
src/widgets/dialogs/switcher/QuickSwitcherModel.hpp \
|
|
|
|
src/widgets/dialogs/switcher/QuickSwitcherPopup.hpp \
|
|
|
|
src/widgets/dialogs/switcher/SwitchSplitItem.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/dialogs/UpdateDialog.hpp \
|
|
|
|
src/widgets/dialogs/UserInfoPopup.hpp \
|
|
|
|
src/widgets/dialogs/WelcomeDialog.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/widgets/FramelessEmbedWindow.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/helper/Button.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/ChannelView.hpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/widgets/helper/ColorButton.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/ComboBoxItemDelegate.hpp \
|
2019-04-27 10:31:02 +02:00
|
|
|
src/widgets/helper/CommonTexts.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/DebugPopup.hpp \
|
|
|
|
src/widgets/helper/EditableModelView.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/helper/EffectLabel.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/Line.hpp \
|
2021-07-25 03:59:58 +02:00
|
|
|
src/widgets/helper/LoginServer.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/NotebookButton.hpp \
|
|
|
|
src/widgets/helper/NotebookTab.hpp \
|
2020-01-25 11:03:10 +01:00
|
|
|
src/widgets/helper/QColorPicker.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/helper/ResizingTextEdit.hpp \
|
|
|
|
src/widgets/helper/ScrollbarHighlight.hpp \
|
|
|
|
src/widgets/helper/SearchPopup.hpp \
|
|
|
|
src/widgets/helper/SettingsDialogTab.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/helper/SignalLabel.hpp \
|
|
|
|
src/widgets/helper/TitlebarButton.hpp \
|
|
|
|
src/widgets/Label.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/widgets/listview/GenericItemDelegate.hpp \
|
2020-08-15 18:59:17 +02:00
|
|
|
src/widgets/listview/GenericListItem.hpp \
|
|
|
|
src/widgets/listview/GenericListModel.hpp \
|
|
|
|
src/widgets/listview/GenericListView.hpp \
|
2021-06-28 00:22:34 +02:00
|
|
|
src/widgets/Notebook.hpp \
|
|
|
|
src/widgets/Scrollbar.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/settingspages/AboutPage.hpp \
|
|
|
|
src/widgets/settingspages/AccountsPage.hpp \
|
|
|
|
src/widgets/settingspages/CommandPage.hpp \
|
|
|
|
src/widgets/settingspages/ExternalToolsPage.hpp \
|
2020-10-18 15:16:56 +02:00
|
|
|
src/widgets/settingspages/FiltersPage.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/settingspages/GeneralPage.hpp \
|
2020-10-22 23:17:31 +02:00
|
|
|
src/widgets/settingspages/GeneralPageView.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/settingspages/HighlightingPage.hpp \
|
|
|
|
src/widgets/settingspages/IgnoresPage.hpp \
|
|
|
|
src/widgets/settingspages/KeyboardSettingsPage.hpp \
|
|
|
|
src/widgets/settingspages/ModerationPage.hpp \
|
|
|
|
src/widgets/settingspages/NotificationPage.hpp \
|
|
|
|
src/widgets/settingspages/SettingsPage.hpp \
|
|
|
|
src/widgets/splits/ClosedSplits.hpp \
|
2021-06-19 18:29:17 +02:00
|
|
|
src/widgets/splits/InputCompletionItem.hpp \
|
|
|
|
src/widgets/splits/InputCompletionPopup.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/splits/Split.hpp \
|
|
|
|
src/widgets/splits/SplitContainer.hpp \
|
|
|
|
src/widgets/splits/SplitHeader.hpp \
|
|
|
|
src/widgets/splits/SplitInput.hpp \
|
|
|
|
src/widgets/splits/SplitOverlay.hpp \
|
|
|
|
src/widgets/StreamView.hpp \
|
2019-10-07 15:46:08 +02:00
|
|
|
src/widgets/TooltipWidget.hpp \
|
2019-04-17 17:02:13 +02:00
|
|
|
src/widgets/Window.hpp \
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
resources/resources.qrc \
|
|
|
|
resources/resources_autogenerated.qrc
|
|
|
|
|
|
|
|
DISTFILES +=
|
|
|
|
|
2019-09-18 13:03:16 +02:00
|
|
|
FORMS += \
|
|
|
|
src/widgets/dialogs/IrcConnectionEditor.ui
|
2019-04-17 17:02:13 +02:00
|
|
|
|
|
|
|
# do not use windows min/max macros
|
|
|
|
#win32 {
|
|
|
|
# DEFINES += NOMINMAX
|
|
|
|
#}
|
2019-05-07 11:08:50 +02:00
|
|
|
|
|
|
|
linux:isEmpty(PREFIX) {
|
|
|
|
message("Using default installation prefix (/usr/local). Change PREFIX in qmake command")
|
|
|
|
PREFIX = /usr/local
|
|
|
|
}
|
|
|
|
|
|
|
|
linux {
|
2019-12-19 21:38:37 +01:00
|
|
|
desktop.files = resources/com.chatterino.chatterino.desktop
|
2019-05-07 11:08:50 +02:00
|
|
|
desktop.path = $$PREFIX/share/applications
|
|
|
|
|
2019-05-11 00:01:32 +02:00
|
|
|
build_icons.path = .
|
2019-12-28 14:54:03 +01:00
|
|
|
build_icons.commands = @echo $$PWD && mkdir -p $$PWD/resources/linuxinstall/icons/hicolor/256x256 && cp $$PWD/resources/icon.png $$PWD/resources/linuxinstall/icons/hicolor/256x256/com.chatterino.chatterino.png
|
2019-05-11 00:01:32 +02:00
|
|
|
|
2019-12-28 14:54:03 +01:00
|
|
|
icon.files = $$PWD/resources/linuxinstall/icons/hicolor/256x256/com.chatterino.chatterino.png
|
2019-05-11 00:01:32 +02:00
|
|
|
icon.path = $$PREFIX/share/icons/hicolor/256x256/apps
|
2019-05-07 11:08:50 +02:00
|
|
|
|
|
|
|
target.path = $$PREFIX/bin
|
|
|
|
|
2019-05-11 00:01:32 +02:00
|
|
|
INSTALLS += desktop build_icons icon target
|
2019-05-07 11:08:50 +02:00
|
|
|
}
|
2019-08-03 11:20:19 +02:00
|
|
|
|
|
|
|
git_commit=$$(GIT_COMMIT)
|
|
|
|
git_release=$$(GIT_RELEASE)
|
|
|
|
# Git data
|
|
|
|
isEmpty(git_commit) {
|
|
|
|
git_commit=$$system(git rev-parse HEAD)
|
|
|
|
}
|
|
|
|
isEmpty(git_release) {
|
|
|
|
git_release=$$system(git describe)
|
|
|
|
}
|
|
|
|
git_hash = $$str_member($$git_commit, 0, 8)
|
|
|
|
|
|
|
|
# Passing strings as defines requires you to use this weird triple-escape then quotation mark syntax.
|
|
|
|
# https://stackoverflow.com/questions/3348711/add-a-define-to-qmake-with-a-value/18343449#18343449
|
|
|
|
DEFINES += CHATTERINO_GIT_COMMIT=\\\"$$git_commit\\\"
|
|
|
|
DEFINES += CHATTERINO_GIT_RELEASE=\\\"$$git_release\\\"
|
2019-09-08 18:17:18 +02:00
|
|
|
DEFINES += CHATTERINO_GIT_HASH=\\\"$$git_hash\\\"
|
2020-02-15 15:19:16 +01:00
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
message("Building Chatterino2 DEBUG")
|
|
|
|
} else {
|
|
|
|
message("Building Chatterino2 RELEASE")
|
2020-11-21 16:20:10 +01:00
|
|
|
DEFINES += DEBUG_OFF
|
2020-02-15 15:19:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
message("Injected git values: $$git_commit ($$git_release) $$git_hash")
|