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

Invalid TargetExt in QtCore.vcxproj and other vcxproj files created by configure.exe (Visual Studio 2010 error MSB3073)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.8.4
    • 4.8.3
    • Build System
    • None
    • Windows, Microsoft Visual Studio 2010
    • 8869b3b30a29b1dd4218b3f5ac0bec9dd936b664

    Description

      Using qt-everywhere-opensource-src-4.8.3.tar.gz, we are unable to build Qt DLL's (QtCore, QtGui, etc.) from the Visual C++ 2010 solution file, "projects.sln", generated by configure.exe. When we tried to do so, we got warnings like this:

      warning MSB8012: TargetPath(...\src\corelib\..\..\lib\QtCored44.dll) does not match the Linker's OutputFile property value (...\lib\QtCored4.dll).

      And errors like this:

      6>PostBuildEvent:
      6> Description: Copy QtCored4.dll to ..\..\bin
      6> The system cannot find the file specified.
      error MSB3073: The command "copy "...\src\corelib\..\..\lib\QtCored44.dll"
      "..\..\bin"

      Clearly "QtCored44.dll" should have been "QtCored4.dll"! I think this is caused by an invalid specification of de XML tag 'TargetExt', in the vcxproj files generated by configure.exe. For example, in ...\src\corelib\QtCore.vcxproj (hereby attached):

      <TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">4.dll</TargetExt>

      I think the version number ('4') should not be part of the TargetExt.

      Note that we did not have any problem building the previous version of Qt (4.8.2) like this.

      Attachments

        For Gerrit Dashboard: QTBUG-27554
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            niels_dekker Niels Dekker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes