Skip to content

Commit

Permalink
Replace QtGui include with individual includes
Browse files Browse the repository at this point in the history
Qt 5 splits QtGui into Gui and Widgets components. Including the
individual includes will solve this problem.
  • Loading branch information
simonsonc committed Apr 3, 2014
1 parent b9a539e commit 8679c6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/plugins/compass/compass.h
Expand Up @@ -20,8 +20,6 @@
#ifndef _COMPASS_H__
#define _COMPASS_H__

#include <QtGui>
#include <QtCore>
#include <QtSensors/QCompass>
#include <QObject>

Expand Down
3 changes: 2 additions & 1 deletion src/plugins/topology/checkDock.cpp
Expand Up @@ -15,7 +15,8 @@
* *
***************************************************************************/

#include <QtGui>
#include <QMessageBox>
#include <QProgressDialog>

#include "checkDock.h"

Expand Down
4 changes: 3 additions & 1 deletion src/plugins/topology/rulesDialog.cpp
Expand Up @@ -15,7 +15,9 @@
* *
***************************************************************************/

#include <QtGui>
#include <QDebug>
#include <QTableWidgetItem>

#include <qgsvectordataprovider.h>
#include <qgsvectorlayer.h>
#include <qgsmaplayer.h>
Expand Down

0 comments on commit 8679c6d

Please sign in to comment.