@Dougf9 Thanks for your interest. The last time I checked the library compiled for Windows in the GitHub runners.
1- If you want to compile the library after you download the source code from github, go inside the project root folder and do
cmake --workflow --preset default-develop.
Or use a IDE with CMake Presets support.
2- You can also download the releases for Windows here.
how do I tell my Qt project where it is ->
To consume the project target as explained here
Add this to your CMake/Qt project
include(FetchContent)
FetchContent_Declare(
EstervQrCode
GIT_REPOSITORY https://github.com/EddyTheCo/Esterv.Utils.QrCode.git
GIT_TAG v2.0.0
FIND_PACKAGE_ARGS 2.0 COMPONENTS QrDec QrGen QtQrDec QtQrGen CONFIG
)
FetchContent_MakeAvailable(EstervQrCode)
target_link_libraries(YOUR_PROJECT_TARGET PRIVATE Esterv::QrGen Esterv::QtQrGen Esterv::QrDec Esterv::QtQrDec)
This will try to find the library on your system using find_package. If it is not found, it will download the source from Git Hub and compile the library when you build your project. So you do not need to manually download the library or compile it.
The library can be found by find_package in the build directory from step 1 or from the place you installed the releases in step 2.
Then you can use the QML types or the C++ API that in somehow is explained here
I appreciate any feedback from Windows developers.