Skip to content

Commit

Permalink
Fix qgis_bench
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 28, 2018
1 parent e8f3dbd commit 2f214c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/bench/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ int main( int argc, char *argv[] )
QgsApplication::setOrganizationDomain( QStringLiteral( "qgis.org" ) );
QgsApplication::setApplicationName( QStringLiteral( "QGIS3" ) );

QgsApplication::init();
QgsApplication::initQgis();

QgsProviderRegistry::instance( QgsApplication::pluginPath() );

#ifdef Q_OS_MACX
Expand Down

0 comments on commit 2f214c6

Please sign in to comment.