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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 Beta
    • 5.6.1
    • Build tools: qmake
    • None
    • Windows 10, Qt 5.6.2, MSVC 2013 x64
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: