ENH: remove qt warnings from qt with MS compiler
This commit is contained in:
parent
efbce2580b
commit
c27953b62f
|
@ -14,7 +14,7 @@
|
||||||
PURPOSE. See the above copyright notices for more information.
|
PURPOSE. See the above copyright notices for more information.
|
||||||
|
|
||||||
=========================================================================*/
|
=========================================================================*/
|
||||||
|
#include "QCMake.h" // include to disable MS warnings
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
=========================================================================*/
|
=========================================================================*/
|
||||||
|
|
||||||
|
#include "QCMake.h"
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include "ui_CMakeSetupDialog.h"
|
#include "ui_CMakeSetupDialog.h"
|
||||||
#include "QCMake.h"
|
|
||||||
|
|
||||||
class QCMakeThread;
|
class QCMakeThread;
|
||||||
class CMakeCacheModel;
|
class CMakeCacheModel;
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
|
|
||||||
#ifndef __QCMake_h
|
#ifndef __QCMake_h
|
||||||
#define __QCMake_h
|
#define __QCMake_h
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning ( disable : 4127 )
|
||||||
|
#pragma warning ( disable : 4512 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
|
@ -18,13 +18,13 @@
|
||||||
#ifndef QCMakeCacheView_h
|
#ifndef QCMakeCacheView_h
|
||||||
#define QCMakeCacheView_h
|
#define QCMakeCacheView_h
|
||||||
|
|
||||||
|
#include "QCMake.h"
|
||||||
#include <QTableView>
|
#include <QTableView>
|
||||||
#include <QAbstractTableModel>
|
#include <QAbstractTableModel>
|
||||||
#include <QCheckBox>
|
#include <QCheckBox>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
#include <QItemDelegate>
|
#include <QItemDelegate>
|
||||||
|
|
||||||
#include "QCMake.h"
|
|
||||||
class QCMakeCacheModel;
|
class QCMakeCacheModel;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue