fix crash problem in QCoreApplication::arguments

The constructor of QApplication takes a reference to int,
so argc must not be a local variable.

Fixes #28.