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

qt_add_qml_module: TARGET dependency causes build failure

    XMLWordPrintable

Details

    Description

      In the attached project, we run into a configure failure because (I assume) we try to defer running qmltyperegistrar to run at the project root level, but there we don't have access to the tool target.

       

      Adding a find_package call in the top CML.txt fixes it, but might not always be feasible in larger projects.

       

      The original project was provided by grecko 

      Attachments

        1. QTBUG-138559.tar.gz
          1 kB
          Fabian Kosmale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes