QCoreApplication

There are more constructors available for QCoreApplication as an addition to the standard C++ constructor:

QCoreApplication()

It takes the global $ARGV list. It's a simplified version of QCoreApplication( $ARGV ).

QCoreApplication( list )

It will use the $list variable as a list with arguments.