Results 1 to 3 of 3

Thread: create symbolic link with Qt4

  1. #1
    Join Date
    Feb 2006
    Location
    de
    Posts
    10
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default create symbolic link with Qt4

    Hi,

    appologies for the question, but I could not found a solution even asking big 'G'. (read, for me now it appears not to be possible...)

    Is it possible to create a symbolic link (ext3 fs) from within Qt4, resp. with Qt4 classes/functions, QFile/QDir or alike?

    Thanks for your answers,
    Helge

  2. #2
    Join Date
    Jan 2006
    Location
    India
    Posts
    115
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Lightbulb Re: create symbolic link with Qt4

    What about
    Qt Code:
    1. bool QFile::link ( const QString & linkName )
    To copy to clipboard, switch view to plain text mode 
    and
    Qt Code:
    1. bool QFile: link ( const QString & fileName, const QString & linkName )
    To copy to clipboard, switch view to plain text mode 

  3. The following user says thank you to yogeshm02 for this useful post:

    alan (27th March 2008)

  4. #3
    Join Date
    Feb 2006
    Location
    de
    Posts
    10
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: create symbolic link with Qt4

    Aaarrgghhh !

    Indeed, that easy! I should have spotted this myself.

    Probably concentrated too much on the 'symbolic' part.
    Found even the function for gtk+.
    And made an error when searching in Qt Assistant:
    I searched for 'symbolic' in the 'Index' tab (no results) and not the 'Search' tab: my bad.

    Thank you very much!

    Helge

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.