Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Distribute QT RCC
Forum Update on Monday, May 27th 2025

Distribute QT RCC

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 3 Posters 1.2k 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.
  • M Offline
    M Offline
    MTirelli
    wrote on last edited by MTirelli
    #1

    Hi,
    is possible to distribute with my software the RCC compiler and some DLL (libgcc_s_dw2-1.dll, libstdc++-6.dll, libwinpthread-1.dll)?

    Thanks

    Pablo J. RoginaP 1 Reply Last reply
    0
    • M MTirelli

      Hi,
      is possible to distribute with my software the RCC compiler and some DLL (libgcc_s_dw2-1.dll, libstdc++-6.dll, libwinpthread-1.dll)?

      Thanks

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @MTirelli regarding the DLLs I'd say sometimes it's required! given that the user receiving your app doesn't have them installed, and since all those particular libraries are run-time support libraries.

      Regarding the RCC compiler, why do you want to distribute it?
      Please remember that:

      The rcc tool is used to embed resources into a Qt application during the build process. It works by generating a C++ source file containing data specified in a Qt resource (.qrc) file.

      so the results from RCC compilation ends up into the executable file of your Qt application

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      M 1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Pablo-J-Rogina You can create external binary resources with rcc. But it's indeed a surprising requirement.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        Pablo J. RoginaP 1 Reply Last reply
        3
        • SGaistS SGaist

          @Pablo-J-Rogina You can create external binary resources with rcc. But it's indeed a surprising requirement.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @SGaist said in Distribute QT RCC:

          create external binary resources

          I didn't know about it, thank you for pointing it out.

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • Pablo J. RoginaP Pablo J. Rogina

            @MTirelli regarding the DLLs I'd say sometimes it's required! given that the user receiving your app doesn't have them installed, and since all those particular libraries are run-time support libraries.

            Regarding the RCC compiler, why do you want to distribute it?
            Please remember that:

            The rcc tool is used to embed resources into a Qt application during the build process. It works by generating a C++ source file containing data specified in a Qt resource (.qrc) file.

            so the results from RCC compilation ends up into the executable file of your Qt application

            M Offline
            M Offline
            MTirelli
            wrote on last edited by MTirelli
            #5

            @Pablo-J-Rogina

            Regarding the RCC compiler, why do you want to distribute it?

            My Java application create some basically .qrc files that will be used into QT application, so i must convert this files into a .rcc using the RCC

            Thanks for the reply

            Pablo J. RoginaP 1 Reply Last reply
            0
            • M MTirelli

              @Pablo-J-Rogina

              Regarding the RCC compiler, why do you want to distribute it?

              My Java application create some basically .qrc files that will be used into QT application, so i must convert this files into a .rcc using the RCC

              Thanks for the reply

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @MTirelli

              i must convert this files into a .rcc using the RCC

              could that step be done at compile time? So to avoid distributing the RCC compiler?

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              M 1 Reply Last reply
              0
              • Pablo J. RoginaP Pablo J. Rogina

                @MTirelli

                i must convert this files into a .rcc using the RCC

                could that step be done at compile time? So to avoid distributing the RCC compiler?

                M Offline
                M Offline
                MTirelli
                wrote on last edited by
                #7

                @Pablo-J.-Rogina

                No, is not possible

                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