Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76146

[QMAKE] QM_FILES_INSTALL_PATH is ineffective after .pro to .vcproj

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.12.3
    • Build tools: qmake
    • None
    • Windows 10. Visual Studio 2017
    • Windows

    Description

      set

      QM_FILES_INSTALL_PATH=$$OUT_PWD/debug/i18n/

      CONFIG += lrelease

      in the .pro file.

      then qmake -t vcapp xxxx.pro

      the generated .vcxproj

      content:

      <ItemGroup>
          ......
            <Message Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|x64&apos;">lrelease</Message>
            <Outputs Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|x64&apos;">debug\xxxx.qm;%(Outputs)</Outputs>
          </CustomBuild>
        </ItemGroup>
      

      <Outputs> value is wrong. 

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            dreamychi PanHe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes