2014-09-04 19:24:03 +00:00
|
|
|
QT += core gui network widgets
|
2014-07-08 10:24:21 +00:00
|
|
|
|
2015-11-05 16:20:38 +00:00
|
|
|
CONFIG += plugin static c++11
|
2014-06-14 19:32:11 +00:00
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
DEFINES += _DEBUG
|
2014-07-10 08:53:23 +00:00
|
|
|
OBJECTS_DIR = ./../DebugIntermediate
|
2016-04-20 12:59:25 +00:00
|
|
|
MOC_DIR = ./GeneratedFiles/Debug
|
|
|
|
RCC_DIR = ./GeneratedFiles
|
2014-07-10 08:53:23 +00:00
|
|
|
DESTDIR = ./../Debug
|
2014-06-14 19:32:11 +00:00
|
|
|
}
|
|
|
|
CONFIG(release, debug|release) {
|
2016-01-11 15:43:29 +00:00
|
|
|
DEFINES += CUSTOM_API_ID
|
2014-07-10 08:53:23 +00:00
|
|
|
OBJECTS_DIR = ./../ReleaseIntermediate
|
2016-04-20 12:59:25 +00:00
|
|
|
MOC_DIR = ./GeneratedFiles/Release
|
|
|
|
RCC_DIR = ./GeneratedFiles
|
2014-07-10 08:53:23 +00:00
|
|
|
DESTDIR = ./../Release
|
2014-06-14 19:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
macx {
|
|
|
|
QMAKE_INFO_PLIST = ./SourceFiles/Telegram.plist
|
|
|
|
OBJECTIVE_SOURCES += ./SourceFiles/pspecific_mac_p.mm
|
|
|
|
OBJECTIVE_HEADERS += ./SourceFiles/pspecific_mac_p.h
|
|
|
|
QMAKE_LFLAGS += -framework Cocoa
|
|
|
|
}
|
|
|
|
|
2014-07-08 10:24:21 +00:00
|
|
|
linux {
|
|
|
|
SOURCES += ./SourceFiles/pspecific_linux.cpp
|
|
|
|
HEADERS += ./SourceFiles/pspecific_linux.h
|
|
|
|
}
|
|
|
|
|
2016-04-20 12:59:25 +00:00
|
|
|
codegen_style.target = style_target
|
2016-04-19 13:52:51 +00:00
|
|
|
codegen_style.depends = FORCE
|
2016-04-22 07:25:14 +00:00
|
|
|
codegen_style.commands = ./../codegen/Debug/codegen_style "-I./../../Telegram/Resources" "-I./../../Telegram/SourceFiles" "-o./GeneratedFiles/styles" all_files.style --rebuild
|
2014-07-09 05:54:12 +00:00
|
|
|
|
2016-04-20 12:59:25 +00:00
|
|
|
codegen_numbers.target = numbers_target
|
2016-04-19 13:52:51 +00:00
|
|
|
codegen_numbers.depends = ./../../Telegram/Resources/numbers.txt
|
2016-04-22 07:25:14 +00:00
|
|
|
codegen_numbers.commands = ./../codegen/Debug/codegen_numbers "-o./GeneratedFiles" "./../../Telegram/Resources/numbers.txt"
|
2014-07-09 05:54:12 +00:00
|
|
|
|
2016-04-19 13:52:51 +00:00
|
|
|
CONFIG(debug, debug|release) {
|
2016-04-20 12:59:25 +00:00
|
|
|
codegen_numbers.commands = cd ../../Telegram && ./../Linux/codegen/Debug/codegen_numbers "-o./../Linux/DebugIntermediate/GeneratedFiles" "./Resources/numbers.txt" && cd ../Linux/DebugIntermediate
|
2016-04-19 13:52:51 +00:00
|
|
|
}
|
|
|
|
CONFIG(release, debug|release) {
|
|
|
|
}
|
2014-07-09 05:54:12 +00:00
|
|
|
|
2016-04-20 12:59:25 +00:00
|
|
|
codegen_lang.target = lang_target
|
2016-04-27 12:02:17 +00:00
|
|
|
codegen_lang.depends = ./../../Telegram/Resources/langs/lang.strings
|
|
|
|
codegen_lang.commands = mkdir -p ./GeneratedFiles && ./../DebugLang/MetaLang -lang_in ./../../Telegram/Resources/langs/lang.strings -lang_out ./GeneratedFiles/lang_auto
|
2014-07-09 05:54:12 +00:00
|
|
|
|
2016-04-20 12:59:25 +00:00
|
|
|
QMAKE_EXTRA_TARGETS += codegen_style codegen_numbers codegen_lang
|
2014-07-09 05:54:12 +00:00
|
|
|
|
2016-04-20 12:59:25 +00:00
|
|
|
PRE_TARGETDEPS += style_target numbers_target lang_target
|
2014-07-09 05:54:12 +00:00
|
|
|
|
2014-07-17 09:42:06 +00:00
|
|
|
unix {
|
|
|
|
linux-g++:QMAKE_TARGET.arch = $$QMAKE_HOST.arch
|
|
|
|
linux-g++-32:QMAKE_TARGET.arch = x86
|
|
|
|
linux-g++-64:QMAKE_TARGET.arch = x86_64
|
|
|
|
|
|
|
|
contains(QMAKE_TARGET.arch, x86_64) {
|
|
|
|
DEFINES += Q_OS_LINUX64
|
|
|
|
} else {
|
|
|
|
DEFINES += Q_OS_LINUX32
|
|
|
|
}
|
|
|
|
}
|
2014-07-14 05:16:21 +00:00
|
|
|
|
2014-06-14 19:32:11 +00:00
|
|
|
SOURCES += \
|
2016-04-14 14:30:47 +00:00
|
|
|
./GeneratedFiles/lang_auto.cpp \
|
|
|
|
./GeneratedFiles/numbers.cpp \
|
2016-04-19 13:52:51 +00:00
|
|
|
./GeneratedFiles/styles/style_basic.cpp \
|
|
|
|
./GeneratedFiles/styles/style_basic_types.cpp \
|
2016-06-08 10:24:20 +00:00
|
|
|
./GeneratedFiles/styles/style_dialogs.cpp \
|
|
|
|
./GeneratedFiles/styles/style_history.cpp \
|
2016-04-22 07:25:14 +00:00
|
|
|
./GeneratedFiles/styles/style_overview.cpp \
|
2016-06-06 11:35:49 +00:00
|
|
|
./GeneratedFiles/styles/style_profile.cpp \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/main.cpp \
|
|
|
|
./SourceFiles/stdafx.cpp \
|
2015-03-19 11:24:23 +00:00
|
|
|
./SourceFiles/apiwrap.cpp \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/app.cpp \
|
|
|
|
./SourceFiles/application.cpp \
|
2014-09-04 19:24:03 +00:00
|
|
|
./SourceFiles/audio.cpp \
|
2015-06-03 18:20:57 +00:00
|
|
|
./SourceFiles/autoupdater.cpp \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/dialogswidget.cpp \
|
|
|
|
./SourceFiles/dropdown.cpp \
|
2015-12-08 21:16:14 +00:00
|
|
|
./SourceFiles/facades.cpp \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/fileuploader.cpp \
|
|
|
|
./SourceFiles/history.cpp \
|
|
|
|
./SourceFiles/historywidget.cpp \
|
2014-12-21 11:52:55 +00:00
|
|
|
./SourceFiles/lang.cpp \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/langloaderplain.cpp \
|
|
|
|
./SourceFiles/layerwidget.cpp \
|
2015-12-24 20:31:21 +00:00
|
|
|
./SourceFiles/layout.cpp \
|
2014-08-11 12:50:58 +00:00
|
|
|
./SourceFiles/mediaview.cpp \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/observer_peer.cpp \
|
2014-08-15 12:19:18 +00:00
|
|
|
./SourceFiles/overviewwidget.cpp \
|
2015-03-02 15:49:36 +00:00
|
|
|
./SourceFiles/passcodewidget.cpp \
|
2015-07-03 11:00:11 +00:00
|
|
|
./SourceFiles/playerwidget.cpp \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/localimageloader.cpp \
|
2014-11-22 09:45:04 +00:00
|
|
|
./SourceFiles/localstorage.cpp \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/logs.cpp \
|
|
|
|
./SourceFiles/mainwidget.cpp \
|
|
|
|
./SourceFiles/settings.cpp \
|
|
|
|
./SourceFiles/settingswidget.cpp \
|
2016-04-10 05:49:05 +00:00
|
|
|
./SourceFiles/shortcuts.cpp \
|
2015-04-05 08:49:03 +00:00
|
|
|
./SourceFiles/structs.cpp \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/sysbuttons.cpp \
|
|
|
|
./SourceFiles/title.cpp \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/mainwindow.cpp \
|
|
|
|
./SourceFiles/boxes/aboutbox.cpp \
|
|
|
|
./SourceFiles/boxes/abstractbox.cpp \
|
|
|
|
./SourceFiles/boxes/addcontactbox.cpp \
|
|
|
|
./SourceFiles/boxes/autolockbox.cpp \
|
|
|
|
./SourceFiles/boxes/backgroundbox.cpp \
|
|
|
|
./SourceFiles/boxes/confirmbox.cpp \
|
|
|
|
./SourceFiles/boxes/connectionbox.cpp \
|
|
|
|
./SourceFiles/boxes/contactsbox.cpp \
|
|
|
|
./SourceFiles/boxes/downloadpathbox.cpp \
|
|
|
|
./SourceFiles/boxes/emojibox.cpp \
|
|
|
|
./SourceFiles/boxes/languagebox.cpp \
|
|
|
|
./SourceFiles/boxes/passcodebox.cpp \
|
|
|
|
./SourceFiles/boxes/photocropbox.cpp \
|
|
|
|
./SourceFiles/boxes/photosendbox.cpp \
|
2016-06-06 11:57:02 +00:00
|
|
|
./SourceFiles/boxes/report_box.cpp \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/boxes/sessionsbox.cpp \
|
|
|
|
./SourceFiles/boxes/stickersetbox.cpp \
|
|
|
|
./SourceFiles/boxes/usernamebox.cpp \
|
|
|
|
./SourceFiles/core/basic_types.cpp \
|
|
|
|
./SourceFiles/core/click_handler.cpp \
|
|
|
|
./SourceFiles/core/click_handler_types.cpp \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/core/observer.cpp \
|
2016-06-09 17:54:31 +00:00
|
|
|
./SourceFiles/data/data_abstract_structure.cpp \
|
2016-06-09 11:51:24 +00:00
|
|
|
./SourceFiles/data/data_drafts.cpp \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/dialogs/dialogs_indexed_list.cpp \
|
|
|
|
./SourceFiles/dialogs/dialogs_layout.cpp \
|
|
|
|
./SourceFiles/dialogs/dialogs_list.cpp \
|
2016-06-08 10:24:20 +00:00
|
|
|
./SourceFiles/dialogs/dialogs_row.cpp \
|
2016-05-10 13:39:42 +00:00
|
|
|
./SourceFiles/history/field_autocomplete.cpp \
|
2016-06-09 17:54:31 +00:00
|
|
|
./SourceFiles/history/history_service_layout.cpp \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/inline_bots/inline_bot_layout_internal.cpp \
|
|
|
|
./SourceFiles/inline_bots/inline_bot_layout_item.cpp \
|
|
|
|
./SourceFiles/inline_bots/inline_bot_result.cpp \
|
|
|
|
./SourceFiles/inline_bots/inline_bot_send_data.cpp \
|
|
|
|
./SourceFiles/intro/introwidget.cpp \
|
|
|
|
./SourceFiles/intro/introcode.cpp \
|
|
|
|
./SourceFiles/intro/introphone.cpp \
|
|
|
|
./SourceFiles/intro/intropwdcheck.cpp \
|
|
|
|
./SourceFiles/intro/introsignup.cpp \
|
|
|
|
./SourceFiles/intro/introstart.cpp \
|
2016-03-23 18:43:12 +00:00
|
|
|
./SourceFiles/mtproto/facade.cpp \
|
|
|
|
./SourceFiles/mtproto/auth_key.cpp \
|
|
|
|
./SourceFiles/mtproto/connection.cpp \
|
2016-03-24 18:12:30 +00:00
|
|
|
./SourceFiles/mtproto/connection_abstract.cpp \
|
|
|
|
./SourceFiles/mtproto/connection_auto.cpp \
|
|
|
|
./SourceFiles/mtproto/connection_http.cpp \
|
|
|
|
./SourceFiles/mtproto/connection_tcp.cpp \
|
2016-03-23 18:43:12 +00:00
|
|
|
./SourceFiles/mtproto/core_types.cpp \
|
|
|
|
./SourceFiles/mtproto/dcenter.cpp \
|
|
|
|
./SourceFiles/mtproto/file_download.cpp \
|
2016-03-23 18:12:07 +00:00
|
|
|
./SourceFiles/mtproto/rsa_public_key.cpp \
|
2016-03-23 18:43:12 +00:00
|
|
|
./SourceFiles/mtproto/rpc_sender.cpp \
|
|
|
|
./SourceFiles/mtproto/scheme_auto.cpp \
|
|
|
|
./SourceFiles/mtproto/session.cpp \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/overview/overview_layout.cpp \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/profile/profile_actions_widget.cpp \
|
|
|
|
./SourceFiles/profile/profile_block_widget.cpp \
|
|
|
|
./SourceFiles/profile/profile_cover_drop_area.cpp \
|
|
|
|
./SourceFiles/profile/profile_cover.cpp \
|
|
|
|
./SourceFiles/profile/profile_fixed_bar.cpp \
|
|
|
|
./SourceFiles/profile/profile_info_widget.cpp \
|
|
|
|
./SourceFiles/profile/profile_inner_widget.cpp \
|
|
|
|
./SourceFiles/profile/profile_invite_link_widget.cpp \
|
|
|
|
./SourceFiles/profile/profile_members_widget.cpp \
|
|
|
|
./SourceFiles/profile/profile_section_memento.cpp \
|
|
|
|
./SourceFiles/profile/profile_settings_widget.cpp \
|
|
|
|
./SourceFiles/profile/profile_shared_media_widget.cpp \
|
|
|
|
./SourceFiles/profile/profile_userpic_button.cpp \
|
|
|
|
./SourceFiles/profile/profile_widget.cpp \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/serialize/serialize_common.cpp \
|
|
|
|
./SourceFiles/serialize/serialize_document.cpp \
|
2016-06-08 10:24:20 +00:00
|
|
|
./SourceFiles/ui/buttons/history_down_button.cpp \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/ui/buttons/left_outline_button.cpp \
|
2016-04-11 07:43:40 +00:00
|
|
|
./SourceFiles/ui/buttons/peer_avatar_button.cpp \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/ui/buttons/round_button.cpp \
|
2016-04-21 17:57:29 +00:00
|
|
|
./SourceFiles/ui/style/style_core.cpp \
|
2016-04-22 07:25:14 +00:00
|
|
|
./SourceFiles/ui/style/style_core_color.cpp \
|
|
|
|
./SourceFiles/ui/style/style_core_font.cpp \
|
|
|
|
./SourceFiles/ui/style/style_core_icon.cpp \
|
|
|
|
./SourceFiles/ui/style/style_core_types.cpp \
|
2016-04-14 11:00:23 +00:00
|
|
|
./SourceFiles/ui/text/text.cpp \
|
|
|
|
./SourceFiles/ui/text/text_block.cpp \
|
|
|
|
./SourceFiles/ui/text/text_entity.cpp \
|
2016-04-08 07:12:48 +00:00
|
|
|
./SourceFiles/ui/toast/toast.cpp \
|
|
|
|
./SourceFiles/ui/toast/toast_manager.cpp \
|
|
|
|
./SourceFiles/ui/toast/toast_widget.cpp \
|
2016-04-07 18:05:28 +00:00
|
|
|
./SourceFiles/ui/animation.cpp \
|
|
|
|
./SourceFiles/ui/boxshadow.cpp \
|
|
|
|
./SourceFiles/ui/button.cpp \
|
|
|
|
./SourceFiles/ui/popupmenu.cpp \
|
|
|
|
./SourceFiles/ui/countryinput.cpp \
|
|
|
|
./SourceFiles/ui/emoji_config.cpp \
|
|
|
|
./SourceFiles/ui/filedialog.cpp \
|
|
|
|
./SourceFiles/ui/flatbutton.cpp \
|
|
|
|
./SourceFiles/ui/flatcheckbox.cpp \
|
|
|
|
./SourceFiles/ui/flatinput.cpp \
|
|
|
|
./SourceFiles/ui/flatlabel.cpp \
|
|
|
|
./SourceFiles/ui/flattextarea.cpp \
|
|
|
|
./SourceFiles/ui/images.cpp \
|
|
|
|
./SourceFiles/ui/scrollarea.cpp \
|
|
|
|
./SourceFiles/ui/twidget.cpp \
|
2016-06-06 11:57:02 +00:00
|
|
|
./SourceFiles/window/section_widget.cpp \
|
|
|
|
./SourceFiles/window/slide_animation.cpp \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/window/top_bar_widget.cpp
|
2014-06-14 19:32:11 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
2016-04-14 14:30:47 +00:00
|
|
|
./GeneratedFiles/lang_auto.h \
|
2016-04-19 13:52:51 +00:00
|
|
|
./GeneratedFiles/numbers.h \
|
|
|
|
./GeneratedFiles/styles/style_basic.h \
|
|
|
|
./GeneratedFiles/styles/style_basic_types.h \
|
2016-06-08 10:24:20 +00:00
|
|
|
./GeneratedFiles/styles/style_dialogs.h \
|
|
|
|
./GeneratedFiles/styles/style_history.h \
|
2016-04-22 07:25:14 +00:00
|
|
|
./GeneratedFiles/styles/style_overview.h \
|
2016-06-06 11:35:49 +00:00
|
|
|
./GeneratedFiles/styles/style_profile.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/stdafx.h \
|
2015-03-19 11:24:23 +00:00
|
|
|
./SourceFiles/apiwrap.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/app.h \
|
|
|
|
./SourceFiles/application.h \
|
2014-09-04 19:24:03 +00:00
|
|
|
./SourceFiles/audio.h \
|
2015-06-03 18:20:57 +00:00
|
|
|
./SourceFiles/autoupdater.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/config.h \
|
|
|
|
./SourceFiles/countries.h \
|
|
|
|
./SourceFiles/dialogswidget.h \
|
|
|
|
./SourceFiles/dropdown.h \
|
2015-12-08 21:16:14 +00:00
|
|
|
./SourceFiles/facades.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/fileuploader.h \
|
|
|
|
./SourceFiles/history.h \
|
|
|
|
./SourceFiles/historywidget.h \
|
2014-12-21 11:52:55 +00:00
|
|
|
./SourceFiles/lang.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/langloaderplain.h \
|
|
|
|
./SourceFiles/layerwidget.h \
|
2015-12-24 20:31:21 +00:00
|
|
|
./SourceFiles/layout.h \
|
2014-08-11 12:50:58 +00:00
|
|
|
./SourceFiles/mediaview.h \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/observer_peer.h \
|
2014-08-15 12:19:18 +00:00
|
|
|
./SourceFiles/overviewwidget.h \
|
2015-03-02 15:49:36 +00:00
|
|
|
./SourceFiles/passcodewidget.h \
|
2015-07-03 11:00:11 +00:00
|
|
|
./SourceFiles/playerwidget.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/localimageloader.h \
|
2014-11-22 09:45:04 +00:00
|
|
|
./SourceFiles/localstorage.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/logs.h \
|
|
|
|
./SourceFiles/mainwidget.h \
|
|
|
|
./SourceFiles/settings.h \
|
|
|
|
./SourceFiles/settingswidget.h \
|
2016-04-10 05:49:05 +00:00
|
|
|
./SourceFiles/shortcuts.h \
|
2015-04-05 08:49:03 +00:00
|
|
|
./SourceFiles/structs.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/sysbuttons.h \
|
|
|
|
./SourceFiles/title.h \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/mainwindow.h \
|
|
|
|
./SourceFiles/boxes/aboutbox.h \
|
|
|
|
./SourceFiles/boxes/abstractbox.h \
|
|
|
|
./SourceFiles/boxes/addcontactbox.h \
|
|
|
|
./SourceFiles/boxes/autolockbox.h \
|
|
|
|
./SourceFiles/boxes/backgroundbox.h \
|
|
|
|
./SourceFiles/boxes/confirmbox.h \
|
|
|
|
./SourceFiles/boxes/connectionbox.h \
|
|
|
|
./SourceFiles/boxes/contactsbox.h \
|
|
|
|
./SourceFiles/boxes/downloadpathbox.h \
|
|
|
|
./SourceFiles/boxes/emojibox.h \
|
|
|
|
./SourceFiles/boxes/languagebox.h \
|
|
|
|
./SourceFiles/boxes/passcodebox.h \
|
|
|
|
./SourceFiles/boxes/photocropbox.h \
|
|
|
|
./SourceFiles/boxes/photosendbox.h \
|
2016-06-06 11:57:02 +00:00
|
|
|
./SourceFiles/boxes/report_box.h \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/boxes/sessionsbox.h \
|
|
|
|
./SourceFiles/boxes/stickersetbox.h \
|
|
|
|
./SourceFiles/boxes/usernamebox.h \
|
|
|
|
./SourceFiles/core/basic_types.h \
|
|
|
|
./SourceFiles/core/click_handler.h \
|
|
|
|
./SourceFiles/core/click_handler_types.h \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/core/observer.h \
|
|
|
|
./SourceFiles/core/vector_of_moveable.h \
|
2016-04-27 12:02:17 +00:00
|
|
|
./SourceFiles/core/version.h \
|
2016-06-09 17:54:31 +00:00
|
|
|
./SourceFiles/data/data_abstract_structure.h \
|
2016-06-09 11:51:24 +00:00
|
|
|
./SourceFiles/data/data_drafts.h \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/dialogs/dialogs_common.h \
|
|
|
|
./SourceFiles/dialogs/dialogs_indexed_list.h \
|
|
|
|
./SourceFiles/dialogs/dialogs_layout.h \
|
|
|
|
./SourceFiles/dialogs/dialogs_list.h \
|
|
|
|
./SourceFiles/dialogs/dialogs_row.h \
|
2016-05-10 13:39:42 +00:00
|
|
|
./SourceFiles/history/field_autocomplete.h \
|
2016-06-09 17:54:31 +00:00
|
|
|
./SourceFiles/history/history_common.h \
|
|
|
|
./SourceFiles/history/history_service_layout.h \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/inline_bots/inline_bot_layout_internal.h \
|
|
|
|
./SourceFiles/inline_bots/inline_bot_layout_item.h \
|
|
|
|
./SourceFiles/inline_bots/inline_bot_result.h \
|
|
|
|
./SourceFiles/inline_bots/inline_bot_send_data.h \
|
|
|
|
./SourceFiles/intro/introwidget.h \
|
|
|
|
./SourceFiles/intro/introcode.h \
|
|
|
|
./SourceFiles/intro/introphone.h \
|
|
|
|
./SourceFiles/intro/intropwdcheck.h \
|
|
|
|
./SourceFiles/intro/introsignup.h \
|
|
|
|
./SourceFiles/intro/introstart.h \
|
2016-03-23 18:43:12 +00:00
|
|
|
./SourceFiles/mtproto/facade.h \
|
|
|
|
./SourceFiles/mtproto/auth_key.h \
|
|
|
|
./SourceFiles/mtproto/connection.h \
|
2016-03-24 18:12:30 +00:00
|
|
|
./SourceFiles/mtproto/connection_abstract.h \
|
|
|
|
./SourceFiles/mtproto/connection_auto.h \
|
|
|
|
./SourceFiles/mtproto/connection_http.h \
|
|
|
|
./SourceFiles/mtproto/connection_tcp.h \
|
2016-03-23 18:43:12 +00:00
|
|
|
./SourceFiles/mtproto/core_types.h \
|
|
|
|
./SourceFiles/mtproto/dcenter.h \
|
|
|
|
./SourceFiles/mtproto/file_download.h \
|
2016-03-23 18:12:07 +00:00
|
|
|
./SourceFiles/mtproto/rsa_public_key.h \
|
2016-03-23 18:43:12 +00:00
|
|
|
./SourceFiles/mtproto/rpc_sender.h \
|
|
|
|
./SourceFiles/mtproto/scheme_auto.h \
|
|
|
|
./SourceFiles/mtproto/session.h \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/overview/overview_layout.h \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/profile/profile_actions_widget.h \
|
|
|
|
./SourceFiles/profile/profile_block_widget.h \
|
|
|
|
./SourceFiles/profile/profile_cover_drop_area.h \
|
|
|
|
./SourceFiles/profile/profile_cover.h \
|
|
|
|
./SourceFiles/profile/profile_fixed_bar.h \
|
|
|
|
./SourceFiles/profile/profile_info_widget.h \
|
|
|
|
./SourceFiles/profile/profile_inner_widget.h \
|
|
|
|
./SourceFiles/profile/profile_invite_link_widget.h \
|
|
|
|
./SourceFiles/profile/profile_members_widget.h \
|
|
|
|
./SourceFiles/profile/profile_section_memento.h \
|
|
|
|
./SourceFiles/profile/profile_settings_widget.h \
|
|
|
|
./SourceFiles/profile/profile_shared_media_widget.h \
|
|
|
|
./SourceFiles/profile/profile_userpic_button.h \
|
|
|
|
./SourceFiles/profile/profile_widget.h \
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles/pspecific.h \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/serialize/serialize_common.h \
|
|
|
|
./SourceFiles/serialize/serialize_document.h \
|
2016-06-08 10:24:20 +00:00
|
|
|
./SourceFiles/ui/buttons/history_down_button.h \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/ui/buttons/left_outline_button.h \
|
2016-04-11 07:43:40 +00:00
|
|
|
./SourceFiles/ui/buttons/peer_avatar_button.h \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/ui/buttons/round_button.h \
|
2016-04-21 17:57:29 +00:00
|
|
|
./SourceFiles/ui/style/style_core.h \
|
2016-04-22 07:25:14 +00:00
|
|
|
./SourceFiles/ui/style/style_core_color.h \
|
|
|
|
./SourceFiles/ui/style/style_core_font.h \
|
|
|
|
./SourceFiles/ui/style/style_core_icon.h \
|
|
|
|
./SourceFiles/ui/style/style_core_types.h \
|
2016-04-14 11:00:23 +00:00
|
|
|
./SourceFiles/ui/text/text.h \
|
|
|
|
./SourceFiles/ui/text/text_block.h \
|
|
|
|
./SourceFiles/ui/text/text_entity.h \
|
2016-04-08 07:12:48 +00:00
|
|
|
./SourceFiles/ui/toast/toast.h \
|
|
|
|
./SourceFiles/ui/toast/toast_manager.h \
|
|
|
|
./SourceFiles/ui/toast/toast_widget.h \
|
2016-04-07 18:05:28 +00:00
|
|
|
./SourceFiles/ui/animation.h \
|
|
|
|
./SourceFiles/ui/boxshadow.h \
|
|
|
|
./SourceFiles/ui/button.h \
|
|
|
|
./SourceFiles/ui/popupmenu.h \
|
|
|
|
./SourceFiles/ui/countryinput.h \
|
|
|
|
./SourceFiles/ui/emoji_config.h \
|
|
|
|
./SourceFiles/ui/filedialog.h \
|
|
|
|
./SourceFiles/ui/flatbutton.h \
|
|
|
|
./SourceFiles/ui/flatcheckbox.h \
|
|
|
|
./SourceFiles/ui/flatinput.h \
|
|
|
|
./SourceFiles/ui/flatlabel.h \
|
|
|
|
./SourceFiles/ui/flattextarea.h \
|
|
|
|
./SourceFiles/ui/images.h \
|
|
|
|
./SourceFiles/ui/scrollarea.h \
|
|
|
|
./SourceFiles/ui/twidget.h \
|
2016-06-06 11:57:02 +00:00
|
|
|
./SourceFiles/window/section_memento.h \
|
|
|
|
./SourceFiles/window/section_widget.h \
|
|
|
|
./SourceFiles/window/slide_animation.h \
|
2016-04-14 14:30:47 +00:00
|
|
|
./SourceFiles/window/top_bar_widget.h
|
2014-06-14 19:32:11 +00:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
SOURCES += \
|
2016-03-20 09:10:16 +00:00
|
|
|
./SourceFiles/pspecific_win.cpp
|
2014-06-14 19:32:11 +00:00
|
|
|
HEADERS += \
|
2016-03-20 09:10:16 +00:00
|
|
|
./SourceFiles/pspecific_win.h
|
|
|
|
}
|
|
|
|
|
|
|
|
winrt {
|
|
|
|
SOURCES += \
|
|
|
|
./SourceFiles/pspecific_winrt.cpp
|
|
|
|
HEADERS += \
|
|
|
|
./SourceFiles/pspecific_winrt.h
|
2014-06-14 19:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
macx {
|
|
|
|
SOURCES += \
|
|
|
|
./SourceFiles/pspecific_mac.cpp
|
|
|
|
HEADERS += \
|
|
|
|
./SourceFiles/pspecific_mac.h
|
|
|
|
}
|
|
|
|
|
2016-02-01 10:39:51 +00:00
|
|
|
SOURCES += \
|
|
|
|
./ThirdParty/minizip/zip.c \
|
|
|
|
./ThirdParty/minizip/ioapi.c
|
|
|
|
|
2014-06-14 19:32:11 +00:00
|
|
|
CONFIG += precompile_header
|
|
|
|
|
|
|
|
PRECOMPILED_HEADER = ./SourceFiles/stdafx.h
|
|
|
|
|
2014-10-17 19:49:02 +00:00
|
|
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-switch -Wno-comment -Wno-unused-but-set-variable
|
2016-02-01 10:39:51 +00:00
|
|
|
QMAKE_CFLAGS_WARN_ON += -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-switch -Wno-comment -Wno-unused-but-set-variable
|
2014-07-08 10:24:21 +00:00
|
|
|
|
2014-07-14 13:58:10 +00:00
|
|
|
CONFIG(release, debug|release) {
|
|
|
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
2016-01-31 16:13:51 +00:00
|
|
|
QMAKE_CXXFLAGS_RELEASE += -Ofast -flto -fno-strict-aliasing -g
|
2014-07-14 13:58:10 +00:00
|
|
|
QMAKE_LFLAGS_RELEASE -= -O1
|
2016-04-22 07:25:14 +00:00
|
|
|
QMAKE_LFLAGS_RELEASE += -Ofast -flto -g -rdynamic -static-libstdc++
|
2016-01-30 19:21:18 +00:00
|
|
|
}
|
2016-04-14 13:06:36 +00:00
|
|
|
# Linux 32bit fails Release link with Link-Time Optimization: virtual memory exhausted
|
|
|
|
unix {
|
|
|
|
!contains(QMAKE_TARGET.arch, x86_64) {
|
|
|
|
CONFIG(release, debug|release) {
|
|
|
|
QMAKE_CXXFLAGS_RELEASE -= -flto
|
|
|
|
QMAKE_LFLAGS_RELEASE -= -flto
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-01-30 19:21:18 +00:00
|
|
|
CONFIG(debug, debug|release) {
|
2016-04-22 07:25:14 +00:00
|
|
|
QMAKE_LFLAGS_DEBUG += -g -rdynamic -static-libstdc++
|
2014-07-14 13:58:10 +00:00
|
|
|
}
|
|
|
|
|
2016-05-08 08:14:44 +00:00
|
|
|
include(qt_static.pri)
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
2016-02-08 19:55:09 +00:00
|
|
|
/usr/local/include\
|
2014-09-06 11:03:25 +00:00
|
|
|
/usr/local/include/opus\
|
2014-06-14 19:32:11 +00:00
|
|
|
./SourceFiles\
|
2016-02-01 10:39:51 +00:00
|
|
|
./GeneratedFiles\
|
|
|
|
./ThirdParty/minizip\
|
|
|
|
./../../Libraries/breakpad/src
|
2015-01-15 14:22:15 +00:00
|
|
|
|
|
|
|
INCLUDEPATH += "/usr/include/libappindicator-0.1"
|
|
|
|
INCLUDEPATH += "/usr/include/gtk-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/glib-2.0"
|
|
|
|
INCLUDEPATH += "/usr/lib/x86_64-linux-gnu/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/i386-linux-gnu/glib-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/include/cairo"
|
|
|
|
INCLUDEPATH += "/usr/include/pango-1.0"
|
|
|
|
INCLUDEPATH += "/usr/lib/x86_64-linux-gnu/gtk-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/lib/i386-linux-gnu/gtk-2.0/include"
|
|
|
|
INCLUDEPATH += "/usr/include/gdk-pixbuf-2.0"
|
|
|
|
INCLUDEPATH += "/usr/include/atk-1.0"
|
|
|
|
|
|
|
|
INCLUDEPATH += "/usr/include/dee-1.0"
|
|
|
|
INCLUDEPATH += "/usr/include/libdbusmenu-glib-0.4"
|
|
|
|
|
2016-02-21 14:45:07 +00:00
|
|
|
LIBS += -ldl -llzma -lopenal -lavformat -lavcodec -lswresample -lswscale -lavutil -lopus -lva
|
2016-05-08 08:14:44 +00:00
|
|
|
LIBS += $${QT_TDESKTOP_PATH}/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.a \
|
|
|
|
$${QT_TDESKTOP_PATH}/plugins/platforminputcontexts/libibusplatforminputcontextplugin.a \
|
|
|
|
$${QT_TDESKTOP_PATH}/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.a
|
2016-02-01 10:39:51 +00:00
|
|
|
LIBS += /usr/local/lib/libz.a
|
2015-08-13 15:09:04 +00:00
|
|
|
LIBS += /usr/local/lib/libxkbcommon.a
|
2016-02-01 10:39:51 +00:00
|
|
|
LIBS += ./../../../Libraries/breakpad/src/client/linux/libbreakpad_client.a
|
2014-07-24 16:00:35 +00:00
|
|
|
|
2014-06-14 19:32:11 +00:00
|
|
|
RESOURCES += \
|
2016-04-09 13:56:40 +00:00
|
|
|
./Resources/telegram.qrc \
|
|
|
|
./Resources/telegram_linux.qrc \
|
|
|
|
./Resources/telegram_emojis.qrc
|
2014-07-14 05:16:21 +00:00
|
|
|
|
|
|
|
OTHER_FILES += \
|
2016-04-19 13:52:51 +00:00
|
|
|
./Resources/basic_types.style \
|
|
|
|
./Resources/basic.style \
|
|
|
|
./Resources/all_files.style \
|
2016-04-27 12:02:17 +00:00
|
|
|
./Resources/langs/lang.strings \
|
2016-04-09 13:56:40 +00:00
|
|
|
./Resources/langs/lang_it.strings \
|
|
|
|
./Resources/langs/lang_es.strings \
|
|
|
|
./Resources/langs/lang_de.strings \
|
|
|
|
./Resources/langs/lang_nl.strings \
|
2016-06-06 11:35:49 +00:00
|
|
|
./Resources/langs/lang_pt_BR.strings \
|
2016-06-08 10:24:20 +00:00
|
|
|
./SourceFiles/dialogs/dialogs.style \
|
|
|
|
./SourceFiles/history/history.style \
|
2016-06-06 11:35:49 +00:00
|
|
|
./SourceFiles/overview/overview.style \
|
|
|
|
./SourceFiles/profile/profile.style
|