It solved the issue.
I already thought this was a problem with a pointer, but spend a whole day without finding anything.
Thank you very much ars!
Long time ago I had a similar problem. Looking at QApplication documentation you will find the following prototype:
QApplication(int &argc, char ** argv)
Note the reference for argc. Change your...
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.