How to fix CMake 'The imported target "Qt6::lprodump" references the file /usr/lib/qt6/libexec/lprodump ...' on Ubuntu


When trying to compile your CMake project, you see an error message such as

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake:131 (message):
  The imported target "Qt6::lprodump" references the file


  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


  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)


sudo apt -y install qt6-tools-dev-tools

Tested on Ubuntu 22.04