Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. [SOLVED].rc files in Qt Projects

[SOLVED].rc files in Qt Projects

Scheduled Pinned Locked Moved The Lounge
5 Posts 2 Posters 3.0k 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.
  • I Offline
    I Offline
    isaacEnrique
    wrote on 11 Feb 2014, 19:22 last edited by
    #1

    Greetings.

    Where I can find an explanation of what are the .rc files used in Qt projects, how to create them and what is its function in Qt project.

    Thanks in advance for any help and / or suggestions.

    Isaac Pérez
    Programming is understanding.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 11 Feb 2014, 19:35 last edited by
      #2

      RC is a MS Windows resource file, it holds information like company name, product version, application icon, etc. For more information, refer to Microsoft documentation ("link":http://msdn.microsoft.com/en-us/library/windows/desktop/aa381043(v=vs.85).aspx and "link":http://msdn.microsoft.com/en-us/library/windows/desktop/aa380599(v=vs.85).aspx).

      Of course, that thing is platform-specific and will have no effect on Mac, Linux, Android or iOS.

      (Z(:^

      1 Reply Last reply
      0
      • I Offline
        I Offline
        isaacEnrique
        wrote on 12 Feb 2014, 03:22 last edited by
        #3

        So... are the .rc files useless if the Qt project is built for Linux or Mac?

        How that information (company name, application icon, ect) in Qt projects built for Linux or Mac is specified?

        Isaac Pérez
        Programming is understanding.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 12 Feb 2014, 07:14 last edited by
          #4

          [quote author="isaacenrique" date="1392175328"]So... are the .rc files useless if the Qt project is built for Linux or Mac?[/quote]

          Correct.

          [quote author="isaacenrique" date="1392175328"]How that information (company name, application icon, ect) in Qt projects built for Linux or Mac is specified?[/quote]

          On Mac, you need to modify the info.plist file inside the application bundle. On Linux, there is no such system at all.

          On all platforms, you can specify application name, organisation name, etc. to QCoreApplication, but that serves a different purpose.

          (Z(:^

          1 Reply Last reply
          0
          • I Offline
            I Offline
            isaacEnrique
            wrote on 12 Feb 2014, 15:59 last edited by
            #5

            Ok, Thanks you.

            Isaac Pérez
            Programming is understanding.

            1 Reply Last reply
            0

            4/5

            12 Feb 2014, 07:14

            • Login

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