Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt visual studio 2017 Rcc error
Forum Update on Monday, May 27th 2025

Qt visual studio 2017 Rcc error

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 5 Posters 3.4k 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.
  • C Offline
    C Offline
    coderboy99
    wrote on last edited by
    #1

    I am using qt vs tool, visual studio 2017 and qt 5.0.2. I dont get any debug error but a build failed message and this error:

    1>------ Build started: Project: matest, Configuration: Debug x64 ------
    1>Rcc'ing matest.qrc...
    1>Qt resource compiler
    1>C:\Qt\5.0.2\msvc2012_64\bin\rcc.exe: Unknown option: '--name'
    1>Usage: C:\Qt\5.0.2\msvc2012_64\bin\rcc.exe [options] <inputs>
    1>Options:
    1> -o file write output to file rather than stdout
    1> -name name create an external initialization function with name
    1> -threshold level threshold to consider compressing files
    1> -compress level compress input files by level
    1> -root path prefix resource access path with root path
    1> -no-compress disable all compression
    1> -binary output a binary file for use as a dynamic resource
    1> -namespace turn off namespace macros
    1> -project Output a resource file containing all
    1> files from the current directory
    1> -version display version
    1> -help display this information
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      I fear it's just a version issue, can you try with Qt 5.11 or Qt 5.9. If either works, you should submit a bug report

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      1
      • C Offline
        C Offline
        coderboy99
        wrote on last edited by
        #3

        i fear that i cant download qt 5.11 because of size (30G). is there alternative solution?

        J.HilkJ 1 Reply Last reply
        0
        • C coderboy99

          i fear that i cant download qt 5.11 because of size (30G). is there alternative solution?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @coderboy99 don't just check the checkbox next to 5.11,

          expand the tree and select only the msvc version you need. however, in 5.11 the MSVC2013 support was removed from the code base -> you'll only get msvc2015 and 2017 precompiled files

          those are defenitly not compatible with msvc2012


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          C 1 Reply Last reply
          7
          • VRoninV Offline
            VRoninV Offline
            VRonin
            wrote on last edited by VRonin
            #5

            Good spot @J-Hilk

            visual studio 2017
            C:\Qt\5.0.2\msvc2012_64\bin\rcc.exe

            Seems like you are mixing up versions of Visual Studio

            because of size (30G)

            1 version of Qt for 1 compiler is around 1.5GB depending on the addons you chose

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply
            5
            • J.HilkJ J.Hilk

              @coderboy99 don't just check the checkbox next to 5.11,

              expand the tree and select only the msvc version you need. however, in 5.11 the MSVC2013 support was removed from the code base -> you'll only get msvc2015 and 2017 precompiled files

              those are defenitly not compatible with msvc2012

              C Offline
              C Offline
              coderboy99
              wrote on last edited by
              #6

              @J.Hilk @VRonin Thank you for your help it worked !

              1 Reply Last reply
              1
              • J Offline
                J Offline
                JafarUlla
                wrote on last edited by
                #7

                Hello, I am getting this error, I am using vs2017.

                Severity Code Description Project File Line Suppression State Error 1 rcc (C:\Qt\5.13.2\msvc2017_64\bin\rcc.exe) mumble
                E:\NybSys\BitBucket\PTT_Multicast\04_Mumble_All_Working\Mumble Server\mumble-master\mumble-master\themes\MumbleTheme.qrc 1

                Can any body help me please.

                1 Reply Last reply
                0
                • OeschiO Offline
                  OeschiO Offline
                  Oeschi
                  wrote on last edited by
                  #8

                  I get the same error as coderboy99 but with a different QT version: I am using qt vs tool, visual studio 2017 and qt 4.8.6. I get a build failed message and this error:

                  1>------ Build started: Project: orientation, Configuration: Debug x64 ------
                  1>Rcc'ing image.qrc...
                  1>Qt resource compiler
                  1>C:\Qt\VS2017\4.8.6-64\bin\rcc.exe: Unknown option: '--name'
                  1>Usage: C:\Qt\VS2027\4.8.6-64\bin\rcc.exe [options] <inputs>

                  How can I solve this?

                  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