Skip to content


Browse files Browse the repository at this point in the history
Remove the source build check that is not necessary anymore.
  • Loading branch information
wonder-sk committed Jul 25, 2011
1 parent 90eaa87 commit 33c766c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/app/main.cpp
Expand Up @@ -479,21 +479,6 @@ int main( int argc, char *argv[] )
QApplication::setStyle( new QPlastiqueStyle );

// Check to see if qgis was started from the source directory.
// This is done by checking whether qgis binary is in 'src/app'
// directory. If running from there, exit gracefully.
// (QGIS might work incorrectly when run from the sources)
QString appDir = qApp->applicationDirPath();

if ( appDir.endsWith( "/src/app" ) )
QMessageBox::critical( 0, "QGIS Not Installed",
"You appear to be running QGIS from the source directory.\n"
"You must install QGIS using make install and run it from the "
"installed directory." );
exit( 1 );

QString i18nPath = QgsApplication::i18nPath();

/* Translation file for QGIS.
Expand Down

0 comments on commit 33c766c

Please sign in to comment.