Commit c6a2da24 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: It compiles fine without depreated methods

parent 2cf2d4d0
......@@ -40,6 +40,10 @@ include(ECMOptionalAddSubdirectory)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
ecm_optional_add_subdirectory(svn)
ecm_optional_add_subdirectory(git)
......
......@@ -21,7 +21,7 @@
#define PULLDIALOG_H
#include <QDialog>
#include <QHash>
class QComboBox;
class QDialogButtonBox;
......
......@@ -21,7 +21,7 @@
#define PUSHDIALOG_H
#include <QDialog>
#include <QHash>
class QCheckBox;
class QComboBox;
class QDialogButtonBox;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment