https://bugs.kde.org/show_bug.cgi?id=500106

Julius Künzel <julius.kuen...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/breeze/-/commit/cd3c4778
                   |                            |a881bf66800542213da51806a9a
                   |                            |4f3b0

--- Comment #4 from Julius Künzel <julius.kuen...@kde.org> ---
Git commit cd3c4778a881bf66800542213da51806a9a4f3b0 by Julius Künzel.
Committed on 24/02/2025 at 19:39.
Pushed by jlskuz into branch 'master'.

Fix Qt6 build regression with MinGW

!476 introduced a find_package call for Qt6 in subdir while it was already
found previously in the toplevel CMakeLists.txt (implicitely via eg.
QtWidgets). With MinGW this failed:

```
CMake Error at
C:/gitlab/craft/windows-mingw_64-gcc/lib/cmake/Qt6EntryPointPrivate/Qt6EntryPointMinGW32Target.cmake:4
(add_library):
add_library cannot create imported target "EntryPointMinGW32" because
another target with the same name already exists.
[...]
Cannot specify link libraries for target "EntryPointMinGW32" which is not
built by this project.
[...]
CMake Warning at
C:/gitlab/craft/windows-mingw_64-gcc/lib/cmake/Qt6/Qt6Config.cmake:181
(find_package):
Found package configuration file:
C:/gitlab/craft/windows-mingw_64-gcc/lib/cmake/Qt6Core/Qt6CoreConfig.cmake
but it set Qt6Core_FOUND to FALSE so package "Qt6Core" is considered to be
NOT FOUND.
Call Stack (most recent call first):
cursors/src/kcursorgen/CMakeLists.txt:2 (find_package)
```

M  +1    -1    CMakeLists.txt
M  +0    -1    cursors/src/kcursorgen/CMakeLists.txt

https://invent.kde.org/plasma/breeze/-/commit/cd3c4778a881bf66800542213da51806a9a4f3b0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to