My current issue is figuring out libpack and Qt. My issue is the instructions are unclear.
"set the FREECAD_LIBPACK_DIR to the libpack directory." Where and how?
"Using Qt5 directory from LibPack in D:/opensource/freecad/lib/cmake/Qt5"
Qt5 from Libpack? I thought it couldn't find libpack? Also, it failed.
"Consider setting Qt5_DIR or [cmake] Qt6_DIR (as needed)."
Again, where and how? Do I set Qt6_DIR someplace = c:/Qt? (also surprised it doesn't know to find it there, given how clever all the rest was.
[main] Configuring project: freecad
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.exe" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SD:/opensource/freecad -Bd:/opensource/freecad/build -G "Visual Studio 17 2022" -T host=x64 -A x64
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
[cmake] -- Compiler: MSVC, version: 19.34.31937.0
[cmake] Libpack NOT found.
[cmake] If you intend to use a Windows libpack, set the FREECAD_LIBPACK_DIR to the libpack directory.
[cmake] -- prefix: C:/Program Files/FreeCAD
[cmake] -- bindir: bin
[cmake] -- datadir: data
[cmake] -- docdir: doc
[cmake] -- includedir: include
[cmake] -- libdir: lib
[cmake] -- cmake: 3.26.0
[cmake] -- Visit: https://github.com/apeltauer/FreeCAD/releases/ for Windows libpack downloads.
[cmake] -- Using Qt5 directory from LibPack in D:/opensource/freecad/lib/cmake/Qt5
[cmake] CMake Error at cMake/FreeCAD_Helpers/ChooseQtVersion.cmake:79 (message):
[cmake] Could not find a valid Qt installation. Consider setting Qt5_DIR or
[cmake] Qt6_DIR (as needed).
[cmake] Call Stack (most recent call first):
[cmake] cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake:65 (ChooseQtVersion)
[cmake] CMakeLists.txt:41 (InitializeFreeCADBuildOptions)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[proc] The command: "C:\Program Files\CMake\bin\cmake.exe" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SD:/opensource/freecad -Bd:/opensource/freecad/build -G "Visual Studio 17 2022" -T host=x64 -A x64 exited with code: 1
[visual-studio] Patch Windows SDK path from C:\Program Files (x86)\Windows Kits\10\bin\x64 to C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64 for D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat