Results 1 to 3 of 3

Thread: It's possible to get mime-type associated icons for any file?

  1. #1
    Join Date
    Jun 2008
    Posts
    14
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question It's possible to get mime-type associated icons for any file?

    Hello !
    I'm writing small app with ability to attach any file to message.
    Well, i need to display my attachment files with file type associated icons.
    For example : for .doc - Word icon, for .xls - Excel icon and so on.
    It is possible in Qt4 to find out which icon is associated with the file?
    I'm in WinXP.
    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: It's possible to get mime-type associated icons for any file?

    I think under windows QFileIconProvider returns proper icons for files.

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

    igor71 (5th June 2008)

  4. #3
    Join Date
    Jun 2008
    Posts
    14
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Smile Re: It's possible to get mime-type associated icons for any file?

    Thanks!
    I was looking in *mime* keywords in assistant.

Similar Threads

  1. How to set default icons of different file types?
    By merry in forum Qt Programming
    Replies: 3
    Last Post: 2nd June 2008, 15:24
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  3. dummy question(Error)
    By Masih in forum Qt Programming
    Replies: 12
    Last Post: 19th July 2007, 23:38
  4. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21

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.