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. how to set app-ico ?
Forum Updated to NodeBB v4.3 + New Features

how to set app-ico ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 199 Views
  • 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
    cuijg
    wrote last edited by
    #1

    0effb4be-08c7-4bdb-aedf-de55b67de2e1-image.png
    033527df-5673-48af-b792-abe9cfb22070-image.png
    9c9603ed-5726-4c4a-82ab-39298c7aa809-image.png

    After I set it up according to the tutorial, the app still cannot display the icon.
    refer to:https://doc.qt.io/qt-6/appicon.html#setting-the-application-icon-on-macos

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cuijg
      wrote last edited by
      #2

      I found that without changing anything, after repeated rebuilds, sometimes the generated app shows the icon, sometimes it doesn't,,, it's like there's a cache somewhere

      J.HilkJ 1 Reply Last reply
      0
      • C cuijg

        I found that without changing anything, after repeated rebuilds, sometimes the generated app shows the icon, sometimes it doesn't,,, it's like there's a cache somewhere

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote last edited by
        #3

        @cuijg said in how to set app-ico ?:

        last edited by
        #2
        I found that without changing anything, after repeated rebuilds, sometimes the generated app shows the icon, sometimes it doesn't,,, it's like there's a cache somewhere

        this one. Have you tried deleting the shadow build folder ?


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        C 1 Reply Last reply
        0
        • J.HilkJ J.Hilk

          @cuijg said in how to set app-ico ?:

          last edited by
          #2
          I found that without changing anything, after repeated rebuilds, sometimes the generated app shows the icon, sometimes it doesn't,,, it's like there's a cache somewhere

          this one. Have you tried deleting the shadow build folder ?

          C Offline
          C Offline
          cuijg
          wrote last edited by
          #4

          @J.Hilk What is a "shadow build folder"?

          J.HilkJ 1 Reply Last reply
          0
          • C cuijg

            @J.Hilk What is a "shadow build folder"?

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote last edited by
            #5

            @cuijg
            the build folder, shadow build because your not building inside your source file but all generated files are placed in a different folder

            f433cbd5-4812-44e1-a90a-7d4e980dbf7d-image.png


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            J 1 Reply Last reply
            0
            • J.HilkJ J.Hilk

              @cuijg
              the build folder, shadow build because your not building inside your source file but all generated files are placed in a different folder

              f433cbd5-4812-44e1-a90a-7d4e980dbf7d-image.png

              J Offline
              J Offline
              Jyothi
              wrote last edited by
              #6

              @J.Hilk said in how to set app-ico ?:

              shadow build because your not building inside your source file but all generated files are placed in a different folder

              As @J.Hilk said, I also think the issue is same, image is not in the shadow build folder
              @cuijg you can uncheck the shadow build checkbox and clean, build, run.

              1 Reply Last reply
              0
              • C Offline
                C Offline
                cuijg
                wrote last edited by
                #7

                I found that the info.plist file is sometimes generated and sometimes not generated. I don't know why

                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