Results 1 to 2 of 2

Thread: Qusetion about Qdir::root()

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    jfinn88 Guest

    Default Qusetion about Qdir::root()

    I know it returns the root directory my question is it seem like it returns the dir path for the build file and not the dir of the .pro file ? is this correct?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qusetion about Qdir::root()

    It returns the root directory of the file system. It has nothing to do with your .pro file.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QDir sort by QDir::Type problem
    By tsuibin in forum Qt Programming
    Replies: 1
    Last Post: 19th February 2016, 08:36
  2. How to use? And where to put QDir?
    By JaySDC in forum Qt Quick
    Replies: 12
    Last Post: 21st September 2015, 08:42
  3. QDir::root ()
    By RenanBS in forum Qt Programming
    Replies: 10
    Last Post: 6th June 2014, 18:00
  4. QDir
    By smemamian in forum Newbie
    Replies: 3
    Last Post: 2nd April 2013, 07:55
  5. QToolTip Qusetion
    By chandan in forum Newbie
    Replies: 1
    Last Post: 17th February 2011, 18:00

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.