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

windeployqt not working correctly using a subdirs project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.5
    • None
    • Windows 10
    • Windows

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes