Results 1 to 2 of 2

Thread: Qusetion about Qdir::root()

  1. #1
    Join Date
    Jun 2016
    Posts
    99
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11

    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,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.