Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt IFW : executable details / properties
Forum Updated to NodeBB v4.3 + New Features

Qt IFW : executable details / properties

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 4 Posters 2.5k 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.
  • C Offline
    C Offline
    CMRO
    wrote on last edited by
    #1

    Hello,

    Using Qt Intaller Framework 3, is there a way to set the built executable details. Those that can be shown with a right click on the executable, then "Properties" and "Details" tab. I would have expect the "Name" and "Version" set in the config.xml file to be set in "Product name" and "Product version".

    Thanks for your help.

    RatzzR 1 Reply Last reply
    1
    • S Offline
      S Offline
      Schenk
      wrote on last edited by
      #2

      I am most interested in that as well.
      See also here: https://forum.qt.io/topic/93883/qtif-adding-version-info-in-windows

      1 Reply Last reply
      0
      • C CMRO

        Hello,

        Using Qt Intaller Framework 3, is there a way to set the built executable details. Those that can be shown with a right click on the executable, then "Properties" and "Details" tab. I would have expect the "Name" and "Version" set in the config.xml file to be set in "Product name" and "Product version".

        Thanks for your help.

        RatzzR Offline
        RatzzR Offline
        Ratzz
        wrote on last edited by Ratzz
        #3

        @CMRO

        As suggested here or here you can set properties to your executable.

        I tried and works fine for me.

        alt text

        Steps followed:
        1: Make a empty .rc file and copy paste the contents .
        2: Copy the .rc file on the project folder.
        3: Add the win32:RC_FILE = Details.rc in the .pro file
        4: Rebuild the application and check the details tab.

        --Alles ist gut.

        1 Reply Last reply
        1
        • S Offline
          S Offline
          Schenk
          wrote on last edited by
          #4

          Do you use the Qt installer framework and the binarycreator.exe?

          RatzzR 1 Reply Last reply
          0
          • S Offline
            S Offline
            Schenk
            wrote on last edited by
            #5

            Can you give an pro-file example? I have a version.h. I tried your suggestion, but it does not work.
            I tried it with an Qt installer example.

            TEMPLATE = aux
            
            INSTALLER = installer
            
            INPUT = $$PWD/config/config.xml $$PWD/packages $$PWD/resources
            example.input = INPUT
            example.output = $$INSTALLER
            example.commands = ../../bin/binarycreator -c $$PWD/config/config.xml -r $$PWD/resources/additional.qrc -p $$PWD/packages ${QMAKE_FILE_OUT}
            example.CONFIG += target_predeps no_link combine
            
            QMAKE_EXTRA_COMPILERS += example
            
            OTHER_FILES = README
            
            win32:RC_FILE += "$$PWD/resources/res.rc"
            
            1 Reply Last reply
            0
            • S Schenk

              Do you use the Qt installer framework and the binarycreator.exe?

              RatzzR Offline
              RatzzR Offline
              Ratzz
              wrote on last edited by
              #6

              @Schenk said in Qt IFW : executable details / properties:

              Do you use the Qt installer framework and the binarycreator.exe?

              U want to output of the QtIFW to show the details or the output of your application to show details?

              --Alles ist gut.

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

                Thanks for your answer Ratzz.

                I actually want the output of QtIFW to have the details. I thinks that what you proposed is for the application.

                RatzzR 1 Reply Last reply
                0
                • C CMRO

                  Thanks for your answer Ratzz.

                  I actually want the output of QtIFW to have the details. I thinks that what you proposed is for the application.

                  RatzzR Offline
                  RatzzR Offline
                  Ratzz
                  wrote on last edited by
                  #8

                  @CMRO

                  May be that is not possible with QtIFW . As suggested here it can only show version in control panel.
                  May be you can change once you use QtIFW and use these
                  https://www.digitalcitizen.life/how-change-metadata-stored-executable-files
                  https://www.codeproject.com/Articles/37133/Simple-Version-Resource-Tool-for-Windows

                  --Alles ist gut.

                  1 Reply Last reply
                  0
                  • SamurayHS Offline
                    SamurayHS Offline
                    SamurayH
                    wrote on last edited by
                    #9
                    This post is deleted!
                    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