Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32887

add_library cannot create imported target "EntryPointMinGW32"

    XMLWordPrintable

Details

    • Windows
    • 9ded3246e (17.0)

    Description

      add_library cannot create imported target "EntryPointMinGW32"

      Test steps:
      1. Install Creator + Qt + minGW setup from the Online Installer tool
      2. Create a new 'Qt Quick Application'

      Result:
      C:\Users\qt\rta_creator_test_builds\1\untitled\CMakeLists.txt:7: error: add_library cannot create imported target "EntryPointMinGW32" because
      another target with the same name already exists.

      Call stack:
      C:/Users/qt/rta_creator_test_builds/1/untitled/CMakeLists.txt:7 (find_package)
      C:/Users/qt/rta_creator_test_builds/1/untitled/build/Desktop_Qt_6_9_0_MinGW_64_bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:172 (find_package)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/6.9.0/mingw_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:43 (include)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/6.9.0/mingw_64/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/6.9.0/mingw_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:137 (find_dependency)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/Tools/CMake_64/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
      C:/Users/qt/rta_creator_test_builds/1/untitled/build/Desktop_Qt_6_9_0_MinGW_64_bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:188 (find_package)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/6.9.0/mingw_64/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:45 (include)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/6.9.0/mingw_64/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:46 (_qt_internal_find_qt_dependencies)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/6.9.0/mingw_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:137 (find_dependency)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/Tools/CMake_64/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/6.9.0/mingw_64/lib/cmake/Qt6EntryPointPrivate/Qt6EntryPointPrivateConfig.cmake:197 (include)
      C:/Users/qt/RTA/QtCreator_17.0.0-beta1/6.9.0/mingw_64/lib/cmake/Qt6EntryPointPrivate/Qt6EntryPointMinGW32Target.cmake:4 (add_library)

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            jukkanokso Jukka Nokso
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes