qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.52k stars 2.99k forks source link

VCPKG Qt6 builds with MSVC 2022 - PyQGIS.api.rule not able to load Qt plugins #59173

Open danodom-tcb opened 3 days ago

danodom-tcb commented 3 days ago

What is the bug or the crash?

Not sure what the issue is here, or what's missing.

I am trying to build on Visual Studio 2022 on Windows 11. I am using the VCPKG install instructions that were updated recently in the Install.md file.

image

Steps to reproduce the issue

Run a full build of the QGIS solution that was generated in using the vcpkg instructions.

Versions

latest version of master

Supported QGIS version

New profile

Additional context

No response

danodom-tcb commented 1 day ago

@m-kuhn also, please let me know what needs to be set in terms of environment variables, system paths, etc. and I can double check things on my side, or adjust if needed.

I am going to need to rebuild a build environment from scratch and know the current one has had a lot of trial and error to get where we are currently, but happy to collaborate on helping lock down the process and instructions.