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. Problem processing translations in VS2017
Forum Updated to NodeBB v4.3 + New Features

Problem processing translations in VS2017

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

    1>------ Build started: Project: DeepSkyStacker, Configuration: Release x64 ------
    1>Reading Qt configuration (C:\Qt\5.12.8\msvc2017_64\bin\qmake.exe)
    1>C:\Users\amonra\AppData\Local\QtMsBuild\rcc\qtrcc.targets(116,5): error MSB3073: The command ""ERROR: Qt install dir not found\bin\rcc.exe" --list "i18n\translations.qrc" > ".\x64\Release\rcc_list.txt" 2> nul" exited with code 123.
    1>Done building project "DeepSkyStacker.vcxproj" -- FAILED.

    Clearly something that should be set isn't! What do I need to configure?

    ade6b3e6-9f8a-4756-81a9-238daade26a7-image.png

    Thanks
    David

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

      I do hope someone is able to help with this problem, it is preventing me from performing any builds at all.

      I imagine it's some problem with Qt VS Tools 2.4.3 but what do I know?

      Anyone here who knows VS Tools?

      PS This probably belongs in the Tools Forum rather than General ...
      Thanks again
      David

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

        This problem seems to stem from this code:

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

        I hope that gives one of you the clue you need - I'll keep digging....

        Looking at the VS defined macros I see:

        b9a03b33-80e3-4bcb-ae7f-93deb489d5e1-image.png

        If someone can tell me how to manually set the macros that are currently set to ERROR: Qt Install dir not found...

        Well if only someone had said the setting this EV would solve it...

        89b48ca2-1aa8-4237-8acb-be4a617dc39b-image.png

        David

        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