Skip to content

Commit 33c766c

Browse files
committedJul 25, 2011
Remove the source build check that is not necessary anymore.
1 parent 90eaa87 commit 33c766c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed
 

‎src/app/main.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -479,21 +479,6 @@ int main( int argc, char *argv[] )
479479
QApplication::setStyle( new QPlastiqueStyle );
480480
#endif
481481

482-
// Check to see if qgis was started from the source directory.
483-
// This is done by checking whether qgis binary is in 'src/app'
484-
// directory. If running from there, exit gracefully.
485-
// (QGIS might work incorrectly when run from the sources)
486-
QString appDir = qApp->applicationDirPath();
487-
488-
if ( appDir.endsWith( "/src/app" ) )
489-
{
490-
QMessageBox::critical( 0, "QGIS Not Installed",
491-
"You appear to be running QGIS from the source directory.\n"
492-
"You must install QGIS using make install and run it from the "
493-
"installed directory." );
494-
exit( 1 );
495-
}
496-
497482
QString i18nPath = QgsApplication::i18nPath();
498483

499484
/* Translation file for QGIS.

0 commit comments

Comments
 (0)
Please sign in to comment.