Skip to content

Commit

Permalink
Fix compiling without QtWebKit
Browse files Browse the repository at this point in the history
This makes it possible to compile QGIS master for Android.
Hooray!
  • Loading branch information
m-kuhn committed May 22, 2015
1 parent 6075442 commit 6952a38
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 143 deletions.
1 change: 1 addition & 0 deletions src/app/composer/qgscomposer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
#include <QPainter>
#include <QPixmap>
#include <QPrintDialog>
#include <QPrinter>
#include <QSettings>
#include <QSizeGrip>
#include <QSvgGenerator>
Expand Down
1 change: 1 addition & 0 deletions src/app/composer/qgscomposer.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class QUndoView;
class QComboBox;
class QLabel;
class QTreeView;
class QPrinter;

/** \ingroup MapComposer
* \brief A gui for composing a printable map.
Expand Down
7 changes: 0 additions & 7 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,6 @@ SET(QGIS_CORE_SRCS
raster/qgshuesaturationfilter.cpp
)

IF (NOT WITH_QTWEBKIT)
SET(QGIS_CORE_SRCS ${QGIS_CORE_SRCS}
qgswebpage.cpp
qgswebframe.cpp
)
ENDIF(NOT WITH_QTWEBKIT)

IF(ENABLE_MODELTEST)
SET(MODELTEST_SRCS
../../tests/qt_modeltest/modeltest.cpp
Expand Down
52 changes: 0 additions & 52 deletions src/core/qgswebframe.cpp

This file was deleted.

83 changes: 0 additions & 83 deletions src/core/qgswebpage.cpp

This file was deleted.

5 changes: 4 additions & 1 deletion src/core/qgswebpage.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ class QWebPage : public QObject
Q_UNUSED( size );
}

void setLinkDelegationPolicy( LinkDelegationPolicy );
void setLinkDelegationPolicy( LinkDelegationPolicy linkDelegationPolicy )
{
Q_UNUSED( linkDelegationPolicy );
}

void setNetworkAccessManager( QNetworkAccessManager* networkAccessManager )
{
Expand Down

0 comments on commit 6952a38

Please sign in to comment.