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
Forum Updated to NodeBB v4.3 + New Features

[SOLVED].rc files in Qt Projects

Scheduled Pinned Locked Moved The Lounge
5 Posts 2 Posters 3.1k 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.
  • I Offline
    I Offline
    isaacEnrique
    wrote on 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
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on 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 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
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on 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 last edited by
            #5

            Ok, Thanks you.

            Isaac Pérez
            Programming is understanding.

            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