Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to specify Vendor name, size and version
Forum Updated to NodeBB v4.3 + New Features

How to specify Vendor name, size and version

Scheduled Pinned Locked Moved Mobile and Embedded
17 Posts 7 Posters 10.0k 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.
  • Q Offline
    Q Offline
    qwertyuiopearendil
    wrote on last edited by
    #1

    Hi All,
    i'm creating the sis file with smart installer for my app and i'd like to know how and where should i specify vendor name, application size and version.
    I've seen that i can simply use:
    @VERSION = 1.0.0@
    I've read it in another article 1 minutes ago
    But now i' not able to understand where and how specify app size and vendor name.
    Thanks to all

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stukdev
      wrote on last edited by
      #2

      UPDATE: I read now you have mobile app so i don't know if this can work. Sorry.

      Example, create a file called my.rc, the file my.rc is composed by this:
      @
      IDI_ICON1 ICON DISCARDABLE "logo64.ico"

      1 VERSIONINFO
      FILEVERSION 1,0,0,0
      PRODUCTVERSION 1,0,0,0
      FILEOS 0x50004
      FILETYPE 0x1
      {
      BLOCK "StringFileInfo"
      {
      BLOCK "040904E4"
      {
      VALUE "CompanyName", "mycompany name"
      VALUE "FileDescription", "myprogram 1.0"
      VALUE "FileVersion", "1.0.0.0"
      VALUE "ProductName", "myprogram"
      VALUE "ProductVersion", "1.0.0.0"
      VALUE "OriginalFilename", "myapp.exe"
      }
      }
      }@
      the
      @IDI_ICON1 ICON DISCARDABLE "logo64.ico"@ is for add icon image to the executable.
      Than in your .pro file write this line:
      @
      RC_FILE = myapp.rc
      @

      This "link":http://msdn.microsoft.com/en-us/library/aa381058(v=vs.85).aspx can help you.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giesbert
        wrote on last edited by
        #3

        This is the Microsoft sollution. The rc is the microsoft resource format. If you can use it for mobile apps that run on another system then MS Windows Mobile, it will not help. It's a pure MS solution...

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

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

          This don't work for linux?

          [quote author="Gerolf Reinwardt" date="1292616750"]This is the Microsoft sollution. The rc is the microsoft resource format. If you can use it for mobile apps that run on another system then MS Windows Mobile, it will not help. It's a pure MS solution...[/quote]

          1 Reply Last reply
          0
          • G Offline
            G Offline
            giesbert
            wrote on last edited by
            #5

            Afaik not. That's why we created a custom solution for Linux in my old department. You can put the text somewhere as static text in yout binaries, but the RC compiler is a windows specific thing. Also this version SDK to read the versions. That's why you find it on msdn (Microsoft developer network).

            If you look "here":http://doc.qt.nokia.com/4.6.2/appicon.html you can guess that it's only windows. I didn#t find some place that explicitly states that, but I'm pretty sure it is :-) Otherwise we would have used it some time ago...

            Nokia Certified Qt Specialist.
            Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

            1 Reply Last reply
            0
            • X Offline
              X Offline
              xsacha
              wrote on last edited by
              #6

              This is for Symbian, right?
              You just edit the .PRO or .PKG files.

              For vendorinfo, I use:
              @
              vendorinfo =
              "%{"Sacha"}"
              ":"Sacha""
              @

              For icon, I use:
              @
              ICON = app.svg
              @

              Note: Has to be an SVG (Tiny?).

              • Sacha
              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                Which platform are you targeting? xsacha already provided some clue on how to set this in symbian. In Maemo you will need to change the packaging scripts (as each package generated may be using a different version which may or may not differ from the version of the project).

                1 Reply Last reply
                0
                • X Offline
                  X Offline
                  xsacha
                  wrote on last edited by
                  #8

                  [quote author="qwertyuiopearendil" date="1292610149"]Hi All,
                  i'm creating the sis file with smart installer for my app and i'd like to know how and where should i specify vendor name, application size and version.[/quote]
                  From the O.P., a sis file. Must mean Symbian?

                  • Sacha
                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    koshui
                    wrote on last edited by
                    #9

                    [quote author="xsacha" date="1292644822"]Note: Has to be an SVG (Tiny?).[/quote]

                    Yes, it has to be tiny.
                    http://wiki.forum.nokia.com/index.php/How_to_create_application_icon(SVG)_in_S60_3rd_edition

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      giesbert
                      wrote on last edited by
                      #10

                      The link does not work, as the breakets break the link :-(

                      Nokia Certified Qt Specialist.
                      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        koshui
                        wrote on last edited by
                        #11

                        [quote author="Gerolf Reinwardt" date="1292756704"]The link does not work, as the breakets break the link :-([/quote]

                        Tried to cheat with percentage encoding, but this forum is too smart to fall for that.
                        I trust resourceful persons to find a way to access the link ;)

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          giesbert
                          wrote on last edited by
                          #12

                          I also did, but first I only clicked on it... :-(
                          But I managed :-)

                          Nokia Certified Qt Specialist.
                          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            stukdev
                            wrote on last edited by
                            #13

                            The link work for me. ?!

                            [quote author="Gerolf Reinwardt" date="1292756704"]The link does not work, as the breakets break the link :-([/quote]

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              giesbert
                              wrote on last edited by
                              #14

                              If you copy it completly (including _in_S60_3rd_edition), it works.

                              Nokia Certified Qt Specialist.
                              Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                              1 Reply Last reply
                              0
                              • V Offline
                                V Offline
                                vsorokin
                                wrote on last edited by
                                #15

                                Working link:

                                "How to create application icon SVG in S60 3rd edition":http://wiki.forum.nokia.com/index.php/How_to_create_application_icon(SVG)_in_S60_3rd_edition

                                Use Url-encoding symbols for difficult link :)

                                --
                                Vasiliy

                                1 Reply Last reply
                                0
                                • G Offline
                                  G Offline
                                  giesbert
                                  wrote on last edited by
                                  #16

                                  could you shortly describe, how you encoded the symbols?

                                  EDIT: sorry, I had to read it twice.... Now it's clear. You mean the link function from the forum editor, right? this quotaions marks double point thing...

                                  Nokia Certified Qt Specialist.
                                  Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                                  1 Reply Last reply
                                  0
                                  • V Offline
                                    V Offline
                                    vsorokin
                                    wrote on last edited by
                                    #17

                                    Gerolf, and % 28 % 29 for Parenthesises

                                    --
                                    Vasiliy

                                    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