Results 1 to 4 of 4

Thread: Argument count is >0 when there are no arguments?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Argument count is >0 when there are no arguments?

    Usually first argument is program name, test if count <= 1.
    Last edited by stampede; 8th April 2011 at 15:24. Reason: too slow ;)

  2. The following user says thank you to stampede for this useful post:

    april26 (8th April 2011)

  3. #2
    Join Date
    Mar 2011
    Location
    Johannesburg, South Africa
    Posts
    13
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Argument count is >0 when there are no arguments?

    You are correct, when the arguments are ==1 it works as it should! thanks for your help!

Similar Threads

  1. Count files of a directory
    By radu_d in forum Qt Programming
    Replies: 6
    Last Post: 27th March 2012, 03:17
  2. QString resize() or count()
    By nagabathula in forum Qt Programming
    Replies: 6
    Last Post: 27th December 2010, 12:55
  3. QThread count in Qt applications.
    By hashimov in forum Qt Programming
    Replies: 21
    Last Post: 22nd October 2010, 13:41
  4. Count indexes in QListView
    By been_1990 in forum Qt Programming
    Replies: 5
    Last Post: 17th December 2009, 19:21
  5. [QGLWidget] Count FPS
    By Macok in forum Qt Programming
    Replies: 0
    Last Post: 13th April 2009, 14:01

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.