Results 1 to 2 of 2

Thread: argument parsing

  1. #1
    Join Date
    May 2010
    Posts
    30
    Qt products
    Qt4

    Default argument parsing

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: argument parsing


Similar Threads

  1. Trouble passing an argument
    By benlyboy in forum Newbie
    Replies: 5
    Last Post: 9th May 2010, 23:49
  2. QThread and method with pointer argument
    By kaszewczyk in forum Newbie
    Replies: 2
    Last Post: 11th November 2009, 14:51
  3. QMap as function argument...
    By cydside in forum Qt Programming
    Replies: 5
    Last Post: 18th April 2009, 18:59
  4. Character from argument disappears
    By Pepe in forum Qt Programming
    Replies: 13
    Last Post: 20th June 2007, 00:48
  5. default argument compiler warning
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 27th March 2007, 15:57

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
  •  
Qt is a trademark of The Qt Company.