Skip to content

Commit

Permalink
don't use QUUid::Id128, doesn't exist in Qt 5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Jan 12, 2021
1 parent 5874f5d commit 805509a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Expand Up @@ -2997,7 +2997,7 @@ QgsVectorLayerExporter::ExportError QgsOracleProvider::createEmptyLayer(
// It's not possible to create a table without any column, so we add a fake one // It's not possible to create a table without any column, so we add a fake one
// if needed, and will remove it later // if needed, and will remove it later
const QString fakeColumn = geometryColumn.isEmpty() && !hasPrimaryKey ? const QString fakeColumn = geometryColumn.isEmpty() && !hasPrimaryKey ?
QString( "fake_column_%1" ).arg( QUuid::createUuid().toString( QUuid::Id128 ) ) : QString(); QString( "fake_column_%1" ).arg( QUuid::createUuid().toString() ) : QString();


try try
{ {
Expand Down

0 comments on commit 805509a

Please sign in to comment.