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

Objects of target "lib1" referenced but is not one of the allowed target types (EXECUTABLE, SHARED, MODULE)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.7.0 FF
    • 6.7.0 FF
    • Tools: Linguist
    • None
    • c29029c4c (dev)

    Description

      CMake Error at C:/Users/qt/work/install/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2946 (file):
        Error evaluating generator expression:
          $<TARGET_RUNTIME_DLLS:lib1>
        Objects of target "lib1" referenced but is not one of the allowed target
        types (EXECUTABLE, SHARED, MODULE).
      Call Stack (most recent call first):
        C:/Users/qt/work/install/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2761:EVAL:1 (_qt_internal_write_target_deploy_info)
        CMakeLists.txt:DEFERRED
      

      Build log: https://testresults.qt.io/logs/qt/qttools/565d31d6b02654143ff21282aa074d6be3c28aaf/WindowsWindows_10_22H2x86_64WindowsWindows_10_22H2x86_64MSVC2019qtci-windows-10_22H2-x86_64-51-02f7f4DebugAndRelease_Sccache_UseConfigure_WarningsAreErrors/cce2d61ea98684e8380fc2b57b07d21269318e1b/test_1704945834/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qttools/tasks/1704945825

      Tested changes (refs/builds/qtci/dev/1701756673):
      https://codereview.qt-project.org/c/qt/qttools/+/523167/2 Update dependencies on 'dev' in qt/qttools

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes