Results 1 to 2 of 2

Thread: Passing Command Line Values?

  1. #1
    Join Date
    Feb 2006
    Location
    New Delhi,India
    Posts
    226
    Thanks
    14
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Passing Command Line Values?

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    99
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Passing Command Line Values?

    you can find an example following this link :
    http://cartan.cas.suffolk.edu/moin/O...ngvisitor.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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.