Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Qt visual studio 2017 Rcc error

    General and Desktop
    4
    7
    2535
    Loading More Posts
    • 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
      coderboy99 last edited by

      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 Reply Quote 0
      • V
        VRonin last edited by

        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 Reply Quote 1
        • C
          coderboy99 last edited by

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

          J.Hilk 1 Reply Last reply Reply Quote 0
          • J.Hilk
            J.Hilk Moderators @coderboy99 last edited by

            @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

            Qt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121


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

            C 1 Reply Last reply Reply Quote 7
            • V
              VRonin last edited by VRonin

              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 Reply Quote 5
              • C
                coderboy99 @J.Hilk last edited by

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

                1 Reply Last reply Reply Quote 1
                • J
                  JafarUlla last edited by

                  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 Reply Quote 0
                  • First post
                    Last post