<div dir="ltr">Hi,<div><br></div><div>This is introduced by <a href="https://github.com/qgis/QGIS/pull/56284">https://github.com/qgis/QGIS/pull/56284</a>.</div><div>It looks like the Qt5Keychain cmake config contains paths from the system where it was built originally.</div><div><br></div><div>Ideally this should be fixed in the Qt5Keychain package of OSGeo4W.</div><div>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.</div><div><br></div><div>Right now the easiest workaround for you is probably to just revert this commit.</div><div><br></div><div>Kind regards</div><div>Matthias</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 11, 2024 at 11:32 AM Paul N via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, <div>During cmake-gui configuration on windows 10, I am getting this error on master branch compilation.<br><div><br></div><div><p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/OSGeo4W/apps/Qt5/lib/cmake/Qt5Keychain/Qt5KeychainLibraryDepends.cmake:73 (message):<br>  The imported target "qt5keychain" references the file<br><br>     "D:/src/osgeo4w/src/qtkeychain/osgeo4w/install/apps/Qt5/lib/qt5keychain.lib"<br><br>  but this file does not exist.  Possible reasons include:<br><br>  * The file was deleted, renamed, or moved to another location.<br><br>  * An install or uninstall procedure did not complete successfully.<br><br>  * The installation package was faulty and contained<br><br>     "C:/OSGeo4W/apps/Qt5/lib/cmake/Qt5Keychain/Qt5KeychainLibraryDepends.cmake"<br><br>  but not all the files it references.<br><br>Call Stack (most recent call first):<br>  C:/OSGeo4W/apps/Qt5/lib/cmake/Qt5Keychain/Qt5KeychainConfig.cmake:35 (include)<br>  CMakeLists.txt:574 (find_package)<br></span></p><p style="margin:0px"><span style="color:rgb(255,0,0)"><br></span></p><p style="margin:0px">On other branches, compilation i.e 3.34.3 is not giving any error. Any fix for this?</p><p style="margin:0px"><br></p><p style="margin:0px">Regards</p><p style="margin:0px">Paul P</p></div></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>