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 change my gui icon to custom
Forum Updated to NodeBB v4.3 + New Features

how to change my gui icon to custom

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 857 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.
  • J Offline
    J Offline
    JohnLocke
    wrote on last edited by
    #1

    qtf.png
    Using Qt QApplication
    need to change my gui icon to custom

    p.s please give me 1 reputation to post more then once in 10 minutes, I accumulate questions and post it together
    thanks in advance

    jsulmJ 1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher referenced this topic on
    • J JohnLocke

      qtf.png
      Using Qt QApplication
      need to change my gui icon to custom

      p.s please give me 1 reputation to post more then once in 10 minutes, I accumulate questions and post it together
      thanks in advance

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @JohnLocke See https://doc.qt.io/qt-6/qguiapplication.html#windowIcon-prop and https://doc.qt.io/qt-6/appicon.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JohnLocke
        wrote on last edited by
        #3

        My second topic is not dupe
        https://forum.qt.io/topic/152836/qt-creator-custom-icon

        1. Change Icon for Mainwindow
        2. change icon for Qt Creator itself
        Christian EhrlicherC 1 Reply Last reply
        0
        • J JohnLocke

          My second topic is not dupe
          https://forum.qt.io/topic/152836/qt-creator-custom-icon

          1. Change Icon for Mainwindow
          2. change icon for Qt Creator itself
          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @JohnLocke said in how to change my gui icon to custom:

          change icon for Qt Creator itself

          Why will you change the icon of an executable?
          You can change the icon of a link to the executable on your desktop but this has nothing to do with Qt. if you want another icon for the executable you have to recompile that executable with your icon.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1
          • J Offline
            J Offline
            JohnLocke
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • J Offline
              J Offline
              JohnLocke
              wrote on last edited by JohnLocke
              #6

              I've installed two version of Qt, but still if open two different versions it open both with one icon and one shorcuts on favorites tab ubuntu (but each windows corresponds for diffrent version 6.6.0/6.4.3 accordingly)

              I need to open it in separate windows, in separate favorites tab, with separate icon

              How to ammend below? qtf.png
              6.6.0

              [Desktop Entry]
              Type=Application
              Exec="/home/supernova/QtGui/Tools/QtCreator/bin/qtcreator" %F
              Name=Qt Creator
              GenericName=The IDE of choice for Qt development.
              Icon=QtProject-qtcreator
              StartupWMClass=qtcreator
              Terminal=false
              Categories=Development;IDE;Qt;
              MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs;
              

              6.4.3

              [Desktop Entry]
              Type=Application
              Exec=qtcreator %F
              Name=Qt Creator
              GenericName=C++ IDE for developing Qt applications
              X-KDE-StartupNotify=true
              Icon=/home/supernova/server/icons/gcg.png
              StartupWMClass=qtcreator
              Terminal=false
              Categories=Development;IDE;Qt;
              MimeType= text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;
              
              Pl45m4P 1 Reply Last reply
              1
              • J JohnLocke

                I've installed two version of Qt, but still if open two different versions it open both with one icon and one shorcuts on favorites tab ubuntu (but each windows corresponds for diffrent version 6.6.0/6.4.3 accordingly)

                I need to open it in separate windows, in separate favorites tab, with separate icon

                How to ammend below? qtf.png
                6.6.0

                [Desktop Entry]
                Type=Application
                Exec="/home/supernova/QtGui/Tools/QtCreator/bin/qtcreator" %F
                Name=Qt Creator
                GenericName=The IDE of choice for Qt development.
                Icon=QtProject-qtcreator
                StartupWMClass=qtcreator
                Terminal=false
                Categories=Development;IDE;Qt;
                MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs;
                

                6.4.3

                [Desktop Entry]
                Type=Application
                Exec=qtcreator %F
                Name=Qt Creator
                GenericName=C++ IDE for developing Qt applications
                X-KDE-StartupNotify=true
                Icon=/home/supernova/server/icons/gcg.png
                StartupWMClass=qtcreator
                Terminal=false
                Categories=Development;IDE;Qt;
                MimeType= text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;
                
                Pl45m4P Offline
                Pl45m4P Offline
                Pl45m4
                wrote on last edited by Pl45m4
                #7

                @JohnLocke said in how to change my gui icon to custom:

                I've installed two version of Qt, but still if open two different versions it open both with one icon and one shorcuts on favorites tab ubuntu

                The Qt version has nothing to do with whether you have QtCreator installed twice or not. You can use the same QtCreator with both Qt versions.


                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
                2

                • Login

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