Skip to content
Permalink
Browse files

don't use QUUid::Id128, doesn't exist in Qt 5.9

  • Loading branch information
troopa81 authored and nyalldawson committed Feb 19, 2021
1 parent 7ec50da commit 669cead1a64997201e00205f2c854d801c70209f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/qgsoracleprovider.cpp
@@ -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
// if needed, and will remove it later
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
{

0 comments on commit 669cead

Please sign in to comment.