AcademySoftwareFoundation / xstudio

xSTUDIO is a modern, high performance and feature rich playback and review application designed for organisations and individuals in the post production, VFX and Animation industries.
Apache License 2.0
627 stars 78 forks source link

Error building on Windows Qt and Cmake vcpkg #108

Open jonbragado opened 2 months ago

jonbragado commented 2 months ago
CMake Error at build/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.       C:\xstudio-windows\build/vcpkg/scripts/buildsystems/vcpkg.cmake 857     

I have tried to find by reading online documentation how to pass that module and where to put it. In the CMakePresets.json file i have put the path to the Qt5_DIR thinking it would be enough.

0- Where should I put the file or whatever this thing is asking? I'd appreciate precise instructions, as I am not a coder. 1- Does it have to be built with Qt5? Seems the download for that version is not available anymore. 2- I installed Qt6 with Qt5 compatibility. Would this be enough? If not where would you find the installer it only allows version 6.

Thanks,

jonbragado commented 1 month ago

Can anyone help on this issue please?

mpkepic commented 1 month ago

The download for Qt is still available, you just need to enable the archived versions in the installer, go back through the installer and check the filters on the installer and make sure to have it refresh.