imgbrd-grabber
imgbrd-grabber copied to clipboard
Unknown CMake command "qt_create_translation"
Steps to reproduce
- Git clone latest
- Do
./build.sh
Expected behavior
Grabber should compile successfully and without issues
Context
Running ./build.sh causes the script to crash, with the error of
CMake Error at gui-qml/languages/CMakeLists.txt:14 (qt_create_translation): Unknown CMake command "qt_create_translation".
System information
- OS: Ubuntu 20.04.4 LTS
- Grabber version: Git clone as of 14/07/2022 00:00 IST
Output and Error logs attached CMakeError.log CMakeOutput.log
Strange, this function should be installed with Qt by the build.sh
script here:
apt-get install -qq "qtbase5-dev" "qtscript5-dev" "qtmultimedia5-dev" "qtdeclarative5-dev" "qttools5-dev" "qttools5-dev-tools"
Could it be that the Qt CMake files are in another package? 🤔
As far as I can tell, they have all been successfully installed and are already the latest version.
I had this issue, solved it with qmake --version
which indicated to me that my Anaconda environment actually was overwriting my system installed version.
I had this issue, solved it with
qmake --version
which indicated to me that my Anaconda environment actually was overwriting my system installed version.
How did you solve it from that command?
It give me this but, don't understand what to do next.
QMake version 3.1 Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu