> what are the alternatives for argv() and argc(); Have you tried QCoreApplication::arguments() function ? http://doc.trolltech.com/4.5/qcoreapplication.html#arguments