rncbc / qtractor

Qtractor - An Audio/MIDI multi-track sequencer
https://qtractor.org
GNU General Public License v2.0
510 stars 89 forks source link

not providing "FindQt6LinguistTools.cmake" in CMAKE_MODULE_PATH #414

Closed suedwestlicht closed 11 months ago

suedwestlicht commented 11 months ago

Debian 12 Bookworm, latest Qtractor from git

linguist-qt6 is installed.

cmake complains:

CMake Warning at CMakeLists.txt:220 (find_package):
  By not providing "FindQt6LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt6LinguistTools", but CMake did not find one.

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

    Qt6LinguistToolsConfig.cmake
    qt6linguisttools-config.cmake

  Add the installation prefix of "Qt6LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt6LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt6LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.

CMake Error at src/CMakeLists.txt:323 (qt_add_translation):
  Unknown CMake command "qt_add_translation".

Any idea?

rncbc commented 11 months ago

you don't need linguist to build qtractor at all, unless you wish to do the actual translation copy-writing job...

for build what you probably need is to install qt6-l10n-tools .

ps. when on debian please look after debian/control file: it tells you all the minimum build-depencencies needed.

suedwestlicht commented 11 months ago

Thx a lot. debian/control helped.