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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.8.0 Beta
    • 5.6.1
    • Build tools: qmake
    • None
    • Windows 10, Qt 5.6.2, MSVC 2013 x64
    • 5dbcced3bff9dffd102d07e913bdfccc6f1d2213

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes