Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.42k stars 212 forks source link

Unknown CMake command "qt_create_translation" #2749

Open 09eragera09 opened 2 years ago

09eragera09 commented 2 years ago

Steps to reproduce

  1. Git clone latest
  2. 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

Output and Error logs attached CMakeError.log CMakeOutput.log

Bionus commented 2 years ago

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? 🤔

09eragera09 commented 2 years ago

As far as I can tell, they have all been successfully installed and are already the latest version.

image

mstraughan86 commented 2 years ago

I had this issue, solved it with qmake --version which indicated to me that my Anaconda environment actually was overwriting my system installed version.

RustyHorns commented 1 year ago

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