Strangely enough, Qt Creator passes an empty string as the second argument to GUI application.
Steps to reproduce:
- Create an empty Qt Widgets Application
- Compile the project
- Debug the app and check argc in main which equals to 2
- The second argument is an empty string which you can check in argv