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.
=========================================================================*/
#include "QCMake.h" // include to disable MS warnings
#include <QApplication>
#include "cmSystemTools.h"

View File

@ -15,9 +15,9 @@
=========================================================================*/
#include "QCMake.h"
#include <QMainWindow>
#include "ui_CMakeSetupDialog.h"
#include "QCMake.h"
class QCMakeThread;
class CMakeCacheModel;

View File

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

View File

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