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

Unable to build any individual project in qttools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.15
    • Build tools: qmake
    • None

    Description

      When attempting to build any individual tool in qttools, qmake is unable to create a makefile.

      PS C:\Users\dasmith\work\qmlbenchrunner-test\qttools\src\windeployqt> ..\..\..\qtbase\bin\qmake.exe
      Info: creating stash file C:\Users\dasmith\work\qmlbenchrunner-test\qttools\.qmake.stash
      Cannot read C:/Users/dasmith/work/qmlbenchrunner-test/qttools/qttools-config.pri: No such file or directory
      Project ERROR: Could not find feature windeployqt.
      

      The behavior is the same if in any higher directory and calling qmake on the nested project file. qttools-config.pri is always being searched for two directories up.

       
      PS C:\Users\dasmith\work\qmlbenchrunner-test\qttools> ..\qtbase\bin\qmake.exe .\src\windeployqt\
      Cannot read C:/Users/dasmith/work/qttools-config.pri: No such file or directory
      Project ERROR: Could not find feature windeployqt.

       

       This works fine if qmake is run in root qttools directory first, but this didn't used to be required to build subprojects. Is this an intended change in 5.15?

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes