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

windeployqt not working correctly using a subdirs project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.5
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10
    • Platform/s:
      Windows

      Description

      The windeployqt.prf spec does not work correctly when using the "subdirs" template, as it won’t create the "windeployqt" target for the nested Makefiles.

      This should be fixed probably by checking for contains(TEMPLATE, subdirs) in the script, as it is e.g. done in the equivalent androiddeployqt spec.

      Steps to reproduce:

      1. Create a project using the "subdirs" template with two or more subprojects
      2. Add CONFIG += windeployqt
      3. Run qmake followed by jom windeployqt

      This will result in an "Error: Target windeployqt doesn't exist." for the subprojects.

        Attachments

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

          Activity

            People

            Assignee:
            owolff Oliver Wolff
            Reporter:
            fseiffert Frederik Seiffert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes