Hello forum,
I am trying to port an application from visual studio 2012 to Qt. The compilation worked fine both with visual studio and Qt. But I am having different value in the argc argument in Qt and this value is changing the program logic entirely - eventually results in program exception set by the application. The argc value is supposed to get the value 1, but I am getting 2 and the argv array is containing 67 'C'. I am not sure what is actually causing this issue.
Qt Code:
int main(int argc, char* argv[]) { // the argc value here is different in two development environments return 0; }To copy to clipboard, switch view to plain text mode
Any hint folks ?
Thanks
Bookmarks