PDA

View Full Version : Passing Command Line Values?



Kapil
29th March 2006, 08:12
Hi,

In Qt How do i pass command line values to a form... and print out check statements using cout to the console window...

Is it necessary for me to take input through the GUI only...
How to take input from the command prompt...

Thanking you,
Kapil

Everall
29th March 2006, 08:26
you can find an example following this link :
http://cartan.cas.suffolk.edu/moin/OopDocbook?page=derivingvisitor.html

ArgumentList is part of a library that gets the console arguments.
You can download it from the same website. Look for the utils.tar.gz file.

Once you have the arguments, you can do what ever you like with them.

Cheers