Beta version 1.8.5: Fix build for Linux.

This commit is contained in:
John Preston 2019-09-08 23:15:42 +03:00
parent b98e02f326
commit 12a020cd09
6 changed files with 19 additions and 6 deletions

View File

@ -14,6 +14,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "mainwindow.h"
#include "storage/localstorage.h"
#include <QtCore/QProcess>
QStringList qt_make_filter_list(const QString &filter);
namespace Platform {

View File

@ -9,6 +9,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "platform/platform_file_utilities.h"
#include <QtGui/QWindow>
#include <QtWidgets/QFileDialog>
extern "C" {
#undef signals
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION

View File

@ -9,6 +9,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtCore/QObject>
class QLibrary;
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
extern "C" {
#undef signals

View File

@ -7,7 +7,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include <QtCore/QLibrary>
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
extern "C" {
#undef signals
#ifdef TDESKTOP_USE_AYATANA_INDICATORS

View File

@ -16,8 +16,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/application.h"
#include "lang/lang_keys.h"
#include "storage/localstorage.h"
#include <vector>
#include <QtDBus>
#include <QtWidgets/QMenu>
#include <QtWidgets/QAction>
namespace Platform {
namespace {

View File

@ -18,7 +18,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/crash_reports.h"
#include "core/update_checker.h"
#include <QtGui/QGuiApplication>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDesktopWidget>
#include <QtCore/QStandardPaths>
#include <QtCore/QProcess>
#include <QtCore/QVersionNumber>
#include <qpa/qplatformnativeinterface.h>
#include <sys/stat.h>
#include <sys/types.h>
@ -28,10 +33,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <pwd.h>
#include <iostream>
#include <QProcess>
#include <QVersionNumber>
#include <qpa/qplatformnativeinterface.h>
using namespace Platform;
using Platform::File::internal::EscapeShell;