mycroft-gui
mycroft-gui copied to clipboard
can't compile on master branch
Since qt6 support landed the "minimum qt version" is now 6.4.0 -- but none of the dev_setup scripts install qt6, resulting in:
CMake Error at CMakeLists.txt:46 (find_package):
Could not find a configuration file for package "Qt5" that is compatible
with requested version "6.4.0".
The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.15.3
/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.15.3
I tried getting dev_setup.sh working with qt6 but very quickly got into some pretty nasty dependency issues; some packages not available yet on ubuntu, etc.
Was the force to qt6 intentional?
Same problem for me
Mycroft-GUI master branch has be ported to QT6, please use the latest stable QT5 release instead of master branch https://github.com/MycroftAI/mycroft-gui/releases/tag/stable-qt5
I get the same error on Arch where all QT6 dependencies are met
I get the same error on Arch where all QT6 dependencies are met
how are you running cmake, and is arch shipping pure QT6 now or does the distro also ship QT5 along side ?
if you want to build against QT6 you can try the following:
- Make sure all base dependency and packages are already based of Qt6
- Use Clang instead of GCC:
export CC=/usr/bin/clang
andexport CXX=/usr/bin/clang++
- Add the following to the cmake command -DBUILD_WITH_QT6=On
Note: currently skill UI have not been ported to QT6 and port is work in progress. if your distribution is still shipping QT5, download the stable linked version. you can track progress of at least base skills UI being ported to Qt6 here https://github.com/OpenVoiceOS/ovos-gui/issues/2
I was just building with the setup script. But I am confused because I somehow now have the gui installed even though the process failed. I am wondering if installing mycroft-core did so?
mycroft-core does not auto install mycroft-gui, if you downloaded the linked stable version and ran the setup script it would have built against Qt5 and installed it, this depends on what and how your distribution is shipping the base dependencies required by mycroft-gui.