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

windeployqt (for WinRT/WinPhone) broken since Qt 5.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0
    • 5.5.0
    • None
    • Qt 5.5 (latest git), Visual Studio 2013 Ultimate (Update 4), Windows 8.1
    • WinRT
    • 32849f4997e13f540a6c99c9a644239e19839d73

    Description

      The current windeployqt version generates invalid Visual Studio project files.

      The command

      E:\qt_built\qt55_winrt_x86\bin\qmake -tp vc testproject.pro "CONFIG+=windeployqt"
      

      results in the following error when opening the project file in Visual Studio 2013:

      ---------------------------
      Microsoft Visual Studio
      ---------------------------
      The item metadata "%(FullPath)" cannot be applied to the path "C:\LIBPATH:e:\qt_built\qt55_winrt_x86\lib". The given path's format is not supported.
      ---------------------------
      OK   
      ---------------------------
      

      The file can be opened after manually removing all strings "C:\LIBPATH:" in the project file.

      Later the linker fails with the following error:

      1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(846,9): error APPX1101: Payload contains two or more files with the same destination path 'Qt5Core.dll'. Source files: 
      1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(846,9): error APPX1101: E:\qt_built\qt55_winrt_x86\lib\Qt5Core.dll
      1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(846,9): error APPX1101: C:\Users\developer\Documents\Qt\testproject\Qt5Core.dll
      

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            DanielSt Peter Staab
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes