PDA

View Full Version : argument parsing



deeee
26th May 2010, 23:12
hello,

how do you obtain the arguments that were launched with the application, from a file that is not main.cpp ?
I tried almost everything but it keeps saying syntax error...
I read the QApplication documentation file but it doesn't help, their example doesn't even work on my computer, the #include is not right...

help me please
thanks

Lykurg
26th May 2010, 23:21
Have a look at QCoreApplication::arguments().