Hi,

This is introduced by https://github.com/qgis/QGIS/pull/56284.
It looks like the Qt5Keychain cmake config contains paths from the system
where it was built originally.

Ideally this should be fixed in the Qt5Keychain package of OSGeo4W.
If this is not possible, we'll probably have to re-add a small wrapper
cmake script to fix the find logic specifically for OSGeo4W.

Right now the easiest workaround for you is probably to just revert this
commit.

Kind regards
Matthias

On Sun, Feb 11, 2024 at 11:32 AM Paul N via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> Hi,
> During cmake-gui configuration on windows 10, I am getting this error on
> master branch compilation.
>
> CMake Error at
> C:/OSGeo4W/apps/Qt5/lib/cmake/Qt5Keychain/Qt5KeychainLibraryDepends.cmake:73
> (message):
> The imported target "qt5keychain" references the file
>
>
> "D:/src/osgeo4w/src/qtkeychain/osgeo4w/install/apps/Qt5/lib/qt5keychain.lib"
>
> but this file does not exist. Possible reasons include:
>
> * The file was deleted, renamed, or moved to another location.
>
> * An install or uninstall procedure did not complete successfully.
>
> * The installation package was faulty and contained
>
> "C:/OSGeo4W/apps/Qt5/lib/cmake/Qt5Keychain/Qt5KeychainLibraryDepends.cmake"
>
> but not all the files it references.
>
> Call Stack (most recent call first):
> C:/OSGeo4W/apps/Qt5/lib/cmake/Qt5Keychain/Qt5KeychainConfig.cmake:35
> (include)
> CMakeLists.txt:574 (find_package)
>
>
> On other branches, compilation i.e 3.34.3 is not giving any error. Any fix
> for this?
>
>
> Regards
>
> Paul P
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to