Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix windows build
  • Loading branch information
jef-n committed Nov 22, 2014
1 parent 802a4ac commit f273edb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/app/main.cpp
Expand Up @@ -29,6 +29,9 @@
#include <QString>
#include <QStringList>
#include <QStyle>
#if QT_VERSION < 0x050000
#include <QPlastiqueStyle>
#endif
#include <QTranslator>
#include <QImageReader>
#include <QMessageBox>
Expand Down Expand Up @@ -753,8 +756,10 @@ int main( int argc, char *argv[] )
if ( !style.isNull() )
QApplication::setStyle( style );
#ifdef Q_WS_WIN
#if QT_VERSION < 0x050000
else
QApplication::setStyle( new QPlastiqueStyle );
#endif
#endif

/* Translation file for QGIS.
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsmaptopixelgeometrysimplifier.cpp
Expand Up @@ -275,7 +275,7 @@ bool QgsMapToPixelSimplifier::simplifyWkbGeometry(
// approximate the geometry's shape by its bounding box
// (rect for linear ring / one segment for line string)
unsigned char* targetTempWkb = targetWkb;
int targetWkbTempSize = targetWkbSize;
size_t targetWkbTempSize = targetWkbSize;

sourceWkb = sourcePrevWkb;
targetWkb = targetPrevWkb;
Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsrendererv2.h
Expand Up @@ -18,6 +18,7 @@

#include "qgis.h"
#include "qgsrectangle.h"
#include "qgsrendercontext.h"

#include <QList>
#include <QString>
Expand All @@ -28,7 +29,6 @@
#include <QDomElement>

class QgsSymbolV2;
class QgsRenderContext;
class QgsFeature;
class QgsFields;
class QgsVectorLayer;
Expand Down

0 comments on commit f273edb

Please sign in to comment.