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

5.12.9 build failure

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
11 Posts 3 Posters 1.4k Views 2 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.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by
    #1

    I just installed 5.12.9 and tried to build by project.

    Two problems:

    1. a whole load of VS2017 macros are still pointing to 5.12.8 even though that is no longer on the machine:

    33074fad-5f54-432f-89c7-01f48d34656e-image.png

    1. Build is failing:

    C:\Users\amonra\AppData\Local\QtMsBuild\rcc\qtrcc.targets(116,5): error MSB3073: The command ""\rcc.exe" --list "i18n\translations.qrc" > ".\x64\Debug\rcc_list.txt" 2> nul" exited with code 9009.

    David

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      9009 seems to mean file not found
      https://stackoverflow.com/questions/1351830/what-does-exited-with-code-9009-mean-during-this-build

      So i think your VS is confused about paths.

      1 Reply Last reply
      0
      • PerdrixP Offline
        PerdrixP Offline
        Perdrix
        wrote on last edited by
        #3

        The only change I made was to uninstall 5.12.8 (big mistake clearly) and install 5.12.9 and 5.15.0

        Both are failing to build the file i18n/translations.qrc in the project (5.12.9 under VS2017, 5.15.0 under VS2019).

        So what debug info can I gather to help me (or you) to fix this?

        David

        mrjjM 1 Reply Last reply
        0
        • PerdrixP Perdrix

          The only change I made was to uninstall 5.12.8 (big mistake clearly) and install 5.12.9 and 5.15.0

          Both are failing to build the file i18n/translations.qrc in the project (5.12.9 under VS2017, 5.15.0 under VS2019).

          So what debug info can I gather to help me (or you) to fix this?

          David

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Perdrix
          I dont know VS that well.
          It seems to have empty path for rcc
          ""\rcc.exe"
          so that list has an entry ?

          Do you use the Qt plugin ?

          1 Reply Last reply
          0
          • PerdrixP Offline
            PerdrixP Offline
            Perdrix
            wrote on last edited by
            #5

            Yes I'm using the plugin.

            Maybe something amiss in qtrcc.targets file?

            ```
            

            <!--// Parse QRC -->
            <PropertyGroup>
            <QtRccExeQuoted Condition="'$(QtVsProjectSettings)' == 'true'">"$(QtToolsPath)\rcc.exe"</QtRccExeQuoted>
            <QtRccExeQuoted Condition="'$(QtVsProjectSettings)' != 'true'">"%(QtRcc.QTDIR)\bin\rcc.exe"</QtRccExeQuoted>
            <QtRccQuoted>"%(QtRcc.Identity)"</QtRccQuoted>
            <RccListQuoted>"$(IntDir)rcc_list.txt"</RccListQuoted>
            </PropertyGroup>
            <Exec Condition="'@(QtRcc)' != ''"
            Command="$(QtRccExeQuoted) --list $(QtRccQuoted) > $(RccListQuoted) 2> nul"/>
            <ReadLinesFromFile Condition="'@(QtRcc)' != '' AND Exists('$(IntDir)rcc_list.txt')"

            mrjjM 1 Reply Last reply
            0
            • PerdrixP Perdrix

              Yes I'm using the plugin.

              Maybe something amiss in qtrcc.targets file?

              ```
              

              <!--// Parse QRC -->
              <PropertyGroup>
              <QtRccExeQuoted Condition="'$(QtVsProjectSettings)' == 'true'">"$(QtToolsPath)\rcc.exe"</QtRccExeQuoted>
              <QtRccExeQuoted Condition="'$(QtVsProjectSettings)' != 'true'">"%(QtRcc.QTDIR)\bin\rcc.exe"</QtRccExeQuoted>
              <QtRccQuoted>"%(QtRcc.Identity)"</QtRccQuoted>
              <RccListQuoted>"$(IntDir)rcc_list.txt"</RccListQuoted>
              </PropertyGroup>
              <Exec Condition="'@(QtRcc)' != ''"
              Command="$(QtRccExeQuoted) --list $(QtRccQuoted) > $(RccListQuoted) 2> nul"/>
              <ReadLinesFromFile Condition="'@(QtRcc)' != '' AND Exists('$(IntDir)rcc_list.txt')"

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi
              If QtToolsPath is empty
              then the ""\rcc.exe" could make sense.
              But i have sadly no idea where to set it.

              1 Reply Last reply
              0
              • PerdrixP Offline
                PerdrixP Offline
                Perdrix
                wrote on last edited by
                #7

                I eventually worked out how to set QtToolsPath

                5ff4464e-d891-4cf2-8485-9785fec1ac9b-image.png

                And it fixed the problem

                BUT I SHOULDN'T NEED TO DO THAT!!!!! BUG I THINK

                1 Reply Last reply
                1
                • micostaM Offline
                  micostaM Offline
                  micosta
                  wrote on last edited by
                  #8

                  Hi,

                  Can you check the Qt Settings property page? It’s likely that it’s still pointing to the uninstalled version of Qt.

                  BR,
                  --Miguel

                  1 Reply Last reply
                  1
                  • PerdrixP Offline
                    PerdrixP Offline
                    Perdrix
                    wrote on last edited by
                    #9

                    No it isn't. There seem to be an AWFUL lot of Qt related macros defined with many of them pointing the same locations. Some rationalisation might help!

                    D.

                    micostaM 1 Reply Last reply
                    0
                    • PerdrixP Perdrix

                      No it isn't. There seem to be an AWFUL lot of Qt related macros defined with many of them pointing the same locations. Some rationalisation might help!

                      D.

                      micostaM Offline
                      micostaM Offline
                      micosta
                      wrote on last edited by
                      #10

                      All properties related to Qt build settings should depend or be relative to the value of Qt Settings > Qt Installation. If this is not the case, then there might be a bug or some use case that we overlooked. Could you please post a screenshot of the Qt Settings property? Or better still open an issue in https://bugreports.qt.io/projects/QTVSADDINBUG and attach a sample project file. That would really help us to fix whatever might be wrong in this case. Thanks.

                      1 Reply Last reply
                      1
                      • PerdrixP Offline
                        PerdrixP Offline
                        Perdrix
                        wrote on last edited by
                        #11

                        https://bugreports.qt.io/browse/QTVSADDINBUG-800

                        1 Reply Last reply
                        1

                        • Login

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