Проблема:
Під час спроби скомпілювати ваш проєкт CMake ви бачите таке повідомлення про помилку
qt_lconvert_error.txt
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake:131 (message):
The imported target "Qt6::lconvert" references the file
"/usr/lib/qt6/bin/lconvert"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake:47 (include)
/usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
cMake/FreeCAD_Helpers/SetupQt.cmake:33 (find_package)
CMakeLists.txt:82 (include)Рішення
install_qt6_l10n_tools.sh
sudo apt -y install qt6-l10n-toolsПеревірено на Ubuntu 22.04
Якщо ця стаття допомогла вам, будь ласка, подумайте про те, щоб купити мені каву або зробити пожертву через PayPal на підтримку досліджень та публікації нових статей на TechOverflow