Commit c27953b6 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: remove qt warnings from qt with MS compiler

parent efbce258
...@@ -14,7 +14,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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;
......
Supports Markdown
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