Results 1 to 3 of 3

Thread: Extract/Use another exe's icon

  1. #1
    Join Date
    Jan 2012
    Location
    Canary Islands, Spain
    Posts
    86
    Thanks
    4
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Extract/Use another exe's icon

    Hi, im trying to use an external executable's icon, but cant't find a way to do it. I've see some apps that can do it but not coded with Qt.
    It's possible do this with Qt? I only need use the icon.
    thansk

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Extract/Use another exe's icon

    Nothing to do with Qt.

    Assuming you are talking about Windows and you want to do this at runtime you can only do this with Windows API calls. Probably a combination of LoadIcon() after LoadImage() to open the other exe file.

  3. #3
    Join Date
    Jan 2012
    Location
    Canary Islands, Spain
    Posts
    86
    Thanks
    4
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Extract/Use another exe's icon

    thanks for the answer, time to lear win API

Similar Threads

  1. Can you extract a tarball with Qt?
    By jshafferman in forum Qt Programming
    Replies: 1
    Last Post: 8th December 2010, 23:26
  2. Replies: 0
    Last Post: 17th March 2010, 13:25
  3. Qt extract from xml with DOM
    By Leoha_Zveri in forum Qt Programming
    Replies: 0
    Last Post: 4th October 2009, 10:59
  4. Couple of questions: main window icon + toolbar icon
    By bpackard in forum Qt Programming
    Replies: 0
    Last Post: 20th March 2008, 19:03
  5. How To Extract A File
    By deekayt in forum General Programming
    Replies: 7
    Last Post: 5th December 2006, 18:27

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.