tdesktop/Telegram/Telegram.pro

369 lines
14 KiB
Prolog
Raw Normal View History

QT += core gui network widgets
2014-07-08 10:24:21 +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
2014-07-14 05:16:21 +00:00
MOC_DIR = ./GenFiles/Debug
RCC_DIR = ./GenFiles
2014-07-10 08:53:23 +00:00
DESTDIR = ./../Debug
2014-06-14 19:32:11 +00:00
}
CONFIG(release, debug|release) {
DEFINES += CUSTOM_API_ID
2014-07-10 08:53:23 +00:00
OBJECTS_DIR = ./../ReleaseIntermediate
2014-07-14 05:16:21 +00:00
MOC_DIR = ./GenFiles/Release
RCC_DIR = ./GenFiles
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
}
2014-07-14 05:16:21 +00:00
style_auto_cpp.target = ./GeneratedFiles/style_auto.cpp
style_auto_cpp.depends = FORCE
2014-07-14 05:16:21 +00:00
style_auto_cpp.commands = mkdir -p ./../../Telegram/GeneratedFiles && ./../DebugStyle/MetaStyle -classes_in ./../../Telegram/Resources/style_classes.txt -classes_out ./../../Telegram/GeneratedFiles/style_classes.h -styles_in ./../../Telegram/Resources/style.txt -styles_out ./../../Telegram/GeneratedFiles/style_auto.h -path_to_sprites ./../../Telegram/SourceFiles/art/
style_auto_cpp.depends = ./../../Telegram/Resources/style.txt
2014-07-14 05:16:21 +00:00
style_auto_h.target = ./GeneratedFiles/style_auto.h
style_auto_h.depends = FORCE
2014-07-14 05:16:21 +00:00
style_auto_h.commands = mkdir -p ./../../Telegram/GeneratedFiles && ./../DebugStyle/MetaStyle -classes_in ./../../Telegram/Resources/style_classes.txt -classes_out ./../../Telegram/GeneratedFiles/style_classes.h -styles_in ./../../Telegram/Resources/style.txt -styles_out ./../../Telegram/GeneratedFiles/style_auto.h -path_to_sprites ./../../Telegram/SourceFiles/art/
style_auto_h.depends = ./../../Telegram/Resources/style.txt
2014-07-14 05:16:21 +00:00
style_classes_h.target = ./GeneratedFiles/style_classes.h
style_classes_h.depends = FORCE
2014-07-14 05:16:21 +00:00
style_classes_h.commands = mkdir -p ./../../Telegram/GeneratedFiles && ./../DebugStyle/MetaStyle -classes_in ./../../Telegram/Resources/style_classes.txt -classes_out ./../../Telegram/GeneratedFiles/style_classes.h -styles_in ./../../Telegram/Resources/style.txt -styles_out ./../../Telegram/GeneratedFiles/style_auto.h -path_to_sprites ./../../Telegram/SourceFiles/art/
style_classes_h.depends = ./../../Telegram/Resources/style_classes.txt
numbers_cpp.target = ./GeneratedFiles/numbers.cpp
numbers_cpp.depends = FORCE
numbers_cpp.commands = mkdir -p ./../../Telegram/GeneratedFiles && ./../DebugStyle/MetaStyle -classes_in ./../../Telegram/Resources/style_classes.txt -classes_out ./../../Telegram/GeneratedFiles/style_classes.h -styles_in ./../../Telegram/Resources/style.txt -styles_out ./../../Telegram/GeneratedFiles/style_auto.h -path_to_sprites ./../../Telegram/SourceFiles/art/
numbers_cpp.depends = ./../../Telegram/Resources/numbers.txt
2014-12-21 11:52:55 +00:00
lang_auto_cpp.target = ./GeneratedFiles/lang_auto.cpp
lang_auto_cpp.depends = FORCE
lang_auto_cpp.commands = mkdir -p ./../../Telegram/GeneratedFiles && ./../DebugLang/MetaLang -lang_in ./../../Telegram/Resources/lang.strings -lang_out ./../../Telegram/GeneratedFiles/lang_auto
lang_auto_cpp.depends = ./../../Telegram/Resources/lang.strings
2014-12-21 11:52:55 +00:00
lang_auto_h.target = ./GeneratedFiles/lang_auto.h
lang_auto_h.depends = FORCE
lang_auto_h.commands = mkdir -p ./../../Telegram/GeneratedFiles && ./../DebugLang/MetaLang -lang_in ./../../Telegram/Resources/lang.strings -lang_out ./../../Telegram/GeneratedFiles/lang_auto
lang_auto_h.depends = ./../../Telegram/Resources/lang.strings
hook.depends = style_auto_cpp style_auto_h style_classes_h numbers_cpp lang_auto_cpp lang_auto_h
CONFIG(debug,debug|release):hook.target = Makefile.Debug
CONFIG(release,debug|release):hook.target = Makefile.Release
QMAKE_EXTRA_TARGETS += style_auto_cpp style_auto_h style_classes_h numbers_cpp lang_auto_cpp lang_auto_h hook
PRE_TARGETDEPS += ./GeneratedFiles/style_auto.cpp ./GeneratedFiles/style_auto.h ./GeneratedFiles/style_classes.h ./GeneratedFiles/numbers.cpp ./GeneratedFiles/lang_auto.h ./GeneratedFiles/lang_auto.cpp
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 += \
./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 \
./SourceFiles/audio.cpp \
./SourceFiles/autoupdater.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/dialogswidget.cpp \
./SourceFiles/dropdown.cpp \
./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 \
./SourceFiles/layout.cpp \
2014-08-11 12:50:58 +00:00
./SourceFiles/mediaview.cpp \
./SourceFiles/overviewwidget.cpp \
2015-03-02 15:49:36 +00:00
./SourceFiles/passcodewidget.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/profilewidget.cpp \
./SourceFiles/playerwidget.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/localimageloader.cpp \
./SourceFiles/localstorage.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/logs.cpp \
./SourceFiles/mainwidget.cpp \
./SourceFiles/settings.cpp \
./SourceFiles/settingswidget.cpp \
./SourceFiles/shortcuts.cpp \
./SourceFiles/structs.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/sysbuttons.cpp \
./SourceFiles/title.cpp \
2016-04-07 16:49:15 +00:00
./SourceFiles/basic_types.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/window.cpp \
./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 \
./SourceFiles/mtproto/core_types.cpp \
./SourceFiles/mtproto/dcenter.cpp \
./SourceFiles/mtproto/file_download.cpp \
./SourceFiles/mtproto/rsa_public_key.cpp \
./SourceFiles/mtproto/rpc_sender.cpp \
./SourceFiles/mtproto/scheme_auto.cpp \
./SourceFiles/mtproto/session.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/gui/animation.cpp \
./SourceFiles/gui/boxshadow.cpp \
./SourceFiles/gui/button.cpp \
./SourceFiles/gui/popupmenu.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/gui/countryinput.cpp \
./SourceFiles/gui/emoji_config.cpp \
./SourceFiles/gui/filedialog.cpp \
./SourceFiles/gui/flatbutton.cpp \
./SourceFiles/gui/flatcheckbox.cpp \
./SourceFiles/gui/flatinput.cpp \
./SourceFiles/gui/flatlabel.cpp \
./SourceFiles/gui/flattextarea.cpp \
./SourceFiles/gui/images.cpp \
./SourceFiles/gui/scrollarea.cpp \
./SourceFiles/gui/style_core.cpp \
./SourceFiles/gui/text.cpp \
./SourceFiles/gui/twidget.cpp \
2014-12-21 11:52:55 +00:00
./GeneratedFiles/lang_auto.cpp \
2014-06-14 19:32:11 +00:00
./GeneratedFiles/style_auto.cpp \
./GeneratedFiles/numbers.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/boxes/aboutbox.cpp \
./SourceFiles/boxes/abstractbox.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/boxes/addcontactbox.cpp \
2015-03-02 15:49:36 +00:00
./SourceFiles/boxes/autolockbox.cpp \
./SourceFiles/boxes/backgroundbox.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/boxes/confirmbox.cpp \
./SourceFiles/boxes/connectionbox.cpp \
./SourceFiles/boxes/contactsbox.cpp \
./SourceFiles/boxes/downloadpathbox.cpp \
./SourceFiles/boxes/emojibox.cpp \
2014-12-21 11:52:55 +00:00
./SourceFiles/boxes/languagebox.cpp \
2015-03-02 15:49:36 +00:00
./SourceFiles/boxes/passcodebox.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/boxes/photocropbox.cpp \
./SourceFiles/boxes/photosendbox.cpp \
./SourceFiles/boxes/sessionsbox.cpp \
2015-05-19 16:02:41 +00:00
./SourceFiles/boxes/stickersetbox.cpp \
./SourceFiles/boxes/usernamebox.cpp \
2016-04-07 16:49:15 +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 \
2014-06-14 19:32:11 +00:00
./SourceFiles/intro/introcode.cpp \
./SourceFiles/intro/introphone.cpp \
./SourceFiles/intro/intropwdcheck.cpp \
2014-06-14 19:32:11 +00:00
./SourceFiles/intro/introsignup.cpp \
./SourceFiles/intro/introstart.cpp
2014-06-14 19:32:11 +00:00
HEADERS += \
./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 \
./SourceFiles/audio.h \
./SourceFiles/autoupdater.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/config.h \
./SourceFiles/countries.h \
./SourceFiles/dialogswidget.h \
./SourceFiles/dropdown.h \
./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 \
./SourceFiles/layout.h \
2014-08-11 12:50:58 +00:00
./SourceFiles/mediaview.h \
./SourceFiles/numbers.h \
./SourceFiles/overviewwidget.h \
2015-03-02 15:49:36 +00:00
./SourceFiles/passcodewidget.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/profilewidget.h \
./SourceFiles/playerwidget.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/localimageloader.h \
./SourceFiles/localstorage.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/logs.h \
./SourceFiles/mainwidget.h \
./SourceFiles/settings.h \
./SourceFiles/settingswidget.h \
./SourceFiles/shortcuts.h \
./SourceFiles/structs.h \
./SourceFiles/gui/style.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/sysbuttons.h \
./SourceFiles/title.h \
2016-04-07 16:49:15 +00:00
./SourceFiles/basic_types.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/window.h \
./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 \
./SourceFiles/mtproto/core_types.h \
./SourceFiles/mtproto/dcenter.h \
./SourceFiles/mtproto/file_download.h \
./SourceFiles/mtproto/rsa_public_key.h \
./SourceFiles/mtproto/rpc_sender.h \
./SourceFiles/mtproto/scheme_auto.h \
./SourceFiles/mtproto/session.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/pspecific.h \
./SourceFiles/gui/animation.h \
./SourceFiles/gui/boxshadow.h \
./SourceFiles/gui/button.h \
./SourceFiles/gui/popupmenu.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/gui/countryinput.h \
./SourceFiles/gui/emoji_config.h \
./SourceFiles/gui/filedialog.h \
./SourceFiles/gui/flatbutton.h \
./SourceFiles/gui/flatcheckbox.h \
./SourceFiles/gui/flatinput.h \
./SourceFiles/gui/flatlabel.h \
./SourceFiles/gui/flattextarea.h \
./SourceFiles/gui/images.h \
./SourceFiles/gui/scrollarea.h \
./SourceFiles/gui/style_core.h \
./SourceFiles/gui/text.h \
./SourceFiles/gui/twidget.h \
2014-12-21 11:52:55 +00:00
./GeneratedFiles/lang_auto.h \
2014-06-14 19:32:11 +00:00
./GeneratedFiles/style_auto.h \
./GeneratedFiles/style_classes.h \
./SourceFiles/boxes/aboutbox.h \
./SourceFiles/boxes/abstractbox.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/boxes/addcontactbox.h \
2015-03-02 15:49:36 +00:00
./SourceFiles/boxes/autolockbox.h \
./SourceFiles/boxes/backgroundbox.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/boxes/confirmbox.h \
./SourceFiles/boxes/connectionbox.h \
./SourceFiles/boxes/contactsbox.h \
./SourceFiles/boxes/downloadpathbox.h \
./SourceFiles/boxes/emojibox.h \
2014-12-21 11:52:55 +00:00
./SourceFiles/boxes/languagebox.h \
2015-03-02 15:49:36 +00:00
./SourceFiles/boxes/passcodebox.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/boxes/photocropbox.h \
./SourceFiles/boxes/photosendbox.h \
./SourceFiles/boxes/sessionsbox.h \
2015-05-19 16:02:41 +00:00
./SourceFiles/boxes/stickersetbox.h \
./SourceFiles/boxes/usernamebox.h \
2016-04-07 16:49:15 +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 \
2014-06-14 19:32:11 +00:00
./SourceFiles/intro/introcode.h \
./SourceFiles/intro/introphone.h \
./SourceFiles/intro/intropwdcheck.h \
2014-06-14 19:32:11 +00:00
./SourceFiles/intro/introsignup.h \
./SourceFiles/intro/introstart.h
2014-06-14 19:32:11 +00:00
win32 {
SOURCES += \
./SourceFiles/pspecific_win.cpp
2014-06-14 19:32:11 +00:00
HEADERS += \
./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
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
QMAKE_LFLAGS_RELEASE -= -O1
QMAKE_LFLAGS_RELEASE += -Ofast -flto -g -rdynamic
2016-01-30 19:21:18 +00:00
}
CONFIG(debug, debug|release) {
QMAKE_LFLAGS_DEBUG += -g -rdynamic
}
INCLUDEPATH += ./../../Libraries/QtStatic/qtbase/include/QtGui/5.5.1/QtGui\
./../../Libraries/QtStatic/qtbase/include/QtCore/5.5.1/QtCore\
2014-06-14 19:32:11 +00:00
./../../Libraries/QtStatic/qtbase/include\
/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
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"
LIBS += -ldl -llzma -lopenal -lavformat -lavcodec -lswresample -lswscale -lavutil -lopus -lva
2015-06-21 03:20:56 +00:00
LIBS += ./../../../Libraries/QtStatic/qtbase/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.a \
./../../../Libraries/QtStatic/qtbase/plugins/platforminputcontexts/libibusplatforminputcontextplugin.a \
./../../../Libraries/QtStatic/qtbase/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.a
2016-02-01 10:39:51 +00:00
LIBS += /usr/local/lib/libz.a
LIBS += /usr/local/lib/libxkbcommon.a
2016-02-01 10:39:51 +00:00
LIBS += ./../../../Libraries/breakpad/src/client/linux/libbreakpad_client.a
2014-06-14 19:32:11 +00:00
RESOURCES += \
./SourceFiles/telegram.qrc \
./SourceFiles/telegram_linux.qrc \
./SourceFiles/telegram_emojis.qrc
2014-07-14 05:16:21 +00:00
OTHER_FILES += \
Resources/style_classes.txt \
Resources/style.txt \
2015-01-02 15:20:23 +00:00
Resources/lang.strings \
SourceFiles/langs/lang_it.strings \
SourceFiles/langs/lang_es.strings \
SourceFiles/langs/lang_de.strings \
SourceFiles/langs/lang_nl.strings \
SourceFiles/langs/lang_pt_BR.strings