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

Windows: qmake generates incorrect path for Qt DLLs in check target

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.1
    • Fix Version/s: 5.8.0 Beta
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Windows 10, Qt 5.6.2, MSVC 2013 x64
    • Commits:
      5dbcced3bff9dffd102d07e913bdfccc6f1d2213

      Description

      When a project has CONFIG += testcase, the test_wrapper.bat that is generated adds the Qt "libs" path to the PATH environment variable. On Windows, for installed Qt builds (i.e. not developer builds), the DLLs live in the "bins" directory so the tests can't run correctly.

      You can reproduce the issue using the attached example project.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                buddenha Oswald Buddenhagen
                Reporter:
                simonburrows Simon Burrows
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes