ENH: remove qt warnings from qt with MS compiler

This commit is contained in:
Bill Hoffman 2007-11-03 12:50:02 -04:00
parent efbce2580b
commit c27953b62f
4 changed files with 7 additions and 3 deletions

View File

@ -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"

View File

@ -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;

View File

@ -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>

View File

@ -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;