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

qt_add_qml_module: TARGET dependency causes build failure

XMLWordPrintable

    • afe28ca1c (dev), 83f6edd09 (6.10), c5cb7c956 (6.9), 7102e3338 (tqtc/lts-6.8)

      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 

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

            alexandru.croitor Alexandru Croitor
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: