Results 1 to 3 of 3

Thread: Qt4 + C++ + MacOs + Path

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Posts
    32
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Qt4 + C++ + MacOs + Path

    Hi guy ... i have a questions:

    why when i use qt and write this istruction of system call

    lstat("./name_Dir",&buf) or lstat("./Name_file", &buf) or mkdir("./name_dir")

    don't work ...

    whereas if i use


    lstat("/User/nameuser/desktop/name_dir",&buf) or mkdir("/User/nameuser/desktop/name_dir")

    work... !!!???!!!???

    I don't need the absolute path, and as if it didn't read "./" or "../" please help me
    Last edited by zeeb100; 5th February 2009 at 18:43.

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.