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.
|
||||
|
||||
=========================================================================*/
|
||||
|
||||
#include "QCMake.h" // include to disable MS warnings
|
||||
#include <QApplication>
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
|
||||
=========================================================================*/
|
||||
|
||||
#include "QCMake.h"
|
||||
#include <QMainWindow>
|
||||
#include "ui_CMakeSetupDialog.h"
|
||||
#include "QCMake.h"
|
||||
|
||||
class QCMakeThread;
|
||||
class CMakeCacheModel;
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
|
||||
#ifndef __QCMake_h
|
||||
#define __QCMake_h
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning ( disable : 4127 )
|
||||
#pragma warning ( disable : 4512 )
|
||||
#endif
|
||||
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
#ifndef QCMakeCacheView_h
|
||||
#define QCMakeCacheView_h
|
||||
|
||||
#include "QCMake.h"
|
||||
#include <QTableView>
|
||||
#include <QAbstractTableModel>
|
||||
#include <QCheckBox>
|
||||
#include <QLineEdit>
|
||||
#include <QItemDelegate>
|
||||
|
||||
#include "QCMake.h"
|
||||
class QCMakeCacheModel;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue