i want to create an object of type QApplication which needs the main functions arguments argc and argv as an input:
QApplication app(argc, argv);
Why are you concerning your self with the size of the text in argv, I would just let the compiler do it:
int argc = 1; char* argv[] = {"Hello Qt!"}; // exactly as it is defined in main