Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Change application icon after build?
Forum Updated to NodeBB v4.3 + New Features

Change application icon after build?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 284 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Charlez Kwan
    wrote on last edited by
    #1

    Is it possible to change the application icon after building?
    (user select custom image as the application icon)

    Pl45m4P 1 Reply Last reply
    0
    • C Charlez Kwan

      Is it possible to change the application icon after building?
      (user select custom image as the application icon)

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @Charlez-Kwan

      The icon of the executable or just the window icon? The latter can be changed at runtime with
      setWindowIcon()

      https://doc.qt.io/qt-5/qwidget.html#windowIcon-prop


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      4
      • B Offline
        B Offline
        Bonnie
        wrote on last edited by Bonnie
        #3

        What do you mean "application icon"? The icon shows in the window title or the icon of the executable file?
        And what do you mean "after building"?

        Anyway I'll leave you a documentation link which may be helpful:
        https://doc.qt.io/qt-5/appicon.html

        1 Reply Last reply
        3

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved