Skip to content

Commit

Permalink
Fix Qt5 build
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 3, 2016
1 parent 2354677 commit 281117d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 205 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsogrutils.cpp
Expand Up @@ -235,7 +235,7 @@ QgsFeatureList QgsOgrUtils::stringToFeatureList( const QString& string, const Qg
if ( string.isEmpty() )
return features;

QString randomFileName = QString( "/vsimem/%1" ).arg( QUuid::createUuid() );
QString randomFileName = QString( "/vsimem/%1" ).arg( QUuid::createUuid().toString() );

// create memory file system object from string buffer
QByteArray ba = string.toUtf8();
Expand Down Expand Up @@ -279,7 +279,7 @@ QgsFields QgsOgrUtils::stringToFields( const QString& string, QTextCodec* encodi
if ( string.isEmpty() )
return fields;

QString randomFileName = QString( "/vsimem/%1" ).arg( QUuid::createUuid() );
QString randomFileName = QString( "/vsimem/%1" ).arg( QUuid::createUuid().toString() );

// create memory file system object from buffer
QByteArray ba = string.toUtf8();
Expand Down
203 changes: 0 additions & 203 deletions src/core/qgsogrutils.cpp.bom

This file was deleted.

0 comments on commit 281117d

Please sign in to comment.