Skip to content
Permalink
Browse files

codecs qt plugins not in qt5, remove from Mac bundle check

  • Loading branch information
kyngchaos authored and nyalldawson committed Mar 9, 2020
1 parent 1c9e032 commit e0d803c730f0bc72da169cd52ad4efecbf158576
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/app/main.cpp
@@ -1110,8 +1110,7 @@ int main( int argc, char *argv[] )
// An app bundled with QGIS_MACAPP_BUNDLE > 0 is considered a release bundle.
QString relLibPath( QDir::cleanPath( QCoreApplication::applicationDirPath().append( "/../PlugIns" ) ) );
// Note: relLibPath becomes the defacto QT_PLUGINS_DIR of a release app bundle
if ( QFile::exists( relLibPath + QStringLiteral( "/imageformats" ) )
&& QFile::exists( relLibPath + QStringLiteral( "/codecs" ) ) )
if ( QFile::exists( relLibPath + QStringLiteral( "/imageformats" ) ) )
{
// We are in a release app bundle.
// Strip QT_PLUGINS_DIR because it will crash a launched release app bundle, since

0 comments on commit e0d803c

Please sign in to comment.
You can’t perform that action at this time.