We have merged PR 15510 that makes us migrate to Qt 5.12.3. This PR introduces a major change to the way we get Qt on dev machines.
We are now using our own build of Qt binaries and we provide them through VCPKG to developers during the initial steps of cmake like any other external library we are depending on.
You will need to:
- Clear your build folder AND your vcpkg folder.
- Remove the environment variable “QT_CMAKE_PREFIX_PATH” in order for cmake to understand that you want to use the vcpkg delivered version of Qt build by HiFi.
- Do a full cmake pass, vcpkg steps (downloading Qt there), and then you’re ready to build.
EDIT TO ADD: You can keep using your own binaries of qt (now officially supporting 5.12.3) by defining the environment variable QT_CMAKE_PREFIX_PATH to the path of your qt binaries. Then cmake will NOT download the HiFi Qt, and will expect to find the Qt binaries from there.
The rationale for the change:
- 5.12.3 resolves several recurrent bugs.
- Our own binaries for Qt will provide better information from Backtrace.
- One less external library to worry about – automatically taken care of by vcpkg.
Please email firstname.lastname@example.org with any questions. Thank you!