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. [Solved] Icons disappear when ran application

[Solved] Icons disappear when ran application

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.3k Views 2 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.
  • Q Offline
    Q Offline
    quimnuss
    wrote on last edited by koahnig
    #1

    I'll add this since many of the solutions I've found on the internet didn't solve the issue.

    The icons appeared on qtcreator's designer but not when the application was ran. The solution:

    Build -> run qmake

    qmake has to be ran so the icons are compiled and present. My scenario:

    • using a qrc file added by the qtcreator gui
    • on Windows
    • Action added throught the qtcreator's Designer and then added icon from resource
    Q K 2 Replies Last reply
    0
    • Q quimnuss

      I'll add this since many of the solutions I've found on the internet didn't solve the issue.

      The icons appeared on qtcreator's designer but not when the application was ran. The solution:

      Build -> run qmake

      qmake has to be ran so the icons are compiled and present. My scenario:

      • using a qrc file added by the qtcreator gui
      • on Windows
      • Action added throught the qtcreator's Designer and then added icon from resource
      Q Offline
      Q Offline
      quimnuss
      wrote on last edited by
      #2

      @quimnuss I don't know how to mark as solved, please do.

      1 Reply Last reply
      0
      • Q quimnuss

        I'll add this since many of the solutions I've found on the internet didn't solve the issue.

        The icons appeared on qtcreator's designer but not when the application was ran. The solution:

        Build -> run qmake

        qmake has to be ran so the icons are compiled and present. My scenario:

        • using a qrc file added by the qtcreator gui
        • on Windows
        • Action added throught the qtcreator's Designer and then added icon from resource
        K Offline
        K Offline
        koahnig
        wrote on last edited by koahnig
        #3

        @quimnuss
        How to mark as solved?

        Simply go to the first post where you started. Press the gear wheel on the very right and select the left (Edit) symbol.
        Go to your title which is in your case "Icons disappear when ran application" add there [solved] in the beginning of line.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          quimnuss
          wrote on last edited by
          #4

          AH, there's no flag, understood.

          I don't have enough privileges to edit my post or it might be too soon to do so. Will do as soon as possible.

          thnks!

          K 1 Reply Last reply
          0
          • Q quimnuss

            AH, there's no flag, understood.

            I don't have enough privileges to edit my post or it might be too soon to do so. Will do as soon as possible.

            thnks!

            K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            @quimnuss
            I have added the [Solved] to your post. AFAIK you should have at least the rights to change/edit your own post.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0

            • Login

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