Results 1 to 7 of 7

Thread: QDir and problems with #ifdef OS

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    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: QDir and problems with #ifdef OS

    Qt Code:
    1. QDir dir();
    To copy to clipboard, switch view to plain text mode 
    This is declaration of function named "dir", that takes no parameters and returns QDir object
    I guess you mean
    Qt Code:
    1. QDir dir;
    To copy to clipboard, switch view to plain text mode 

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

    ranko_6 (19th February 2011)

Similar Threads

  1. #ifdef QT?
    By ComServant in forum Newbie
    Replies: 2
    Last Post: 27th August 2010, 21:54
  2. QListView and QDir
    By Yayati.Ekbote in forum Qt Programming
    Replies: 5
    Last Post: 26th March 2010, 11:45
  3. Help with QDir model
    By allstar in forum Qt Programming
    Replies: 1
    Last Post: 15th December 2007, 15:31
  4. qdir and entrylist
    By mattia in forum Newbie
    Replies: 1
    Last Post: 28th November 2007, 10:13
  5. Is it me or QDir?
    By Morea in forum Qt Programming
    Replies: 1
    Last Post: 29th June 2007, 23:06

Tags for this Thread

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.