Version MITK-2018.4.99
The Ubuntu and Debian libqt5webengine-data package uses the /usr/share/qt5 directory to create resource and translation directories. CMake/mitkInstallRules.cmake (lines 140 and 143) sets these directory paths in $ {_ qmake_path}, that is, in /usr/lib /x86_64-linux-gnu/qt5/bin .
I have created a MITK project using MITK-ProjectTemplate. When I execute make package in my superbuild/build project directory I get these errors:
CMake Error at /home/jose/mitk/qtprojects/new_Amos/AmosWorkbenchproject-superbuild/AmosWorkbenchproject-build/cmake_install.cmake:102 (file):
file INSTALL cannot find "/usr/lib/x86_64-linux-gnu/qt5/bin/../resources": No such file or directory.
CMake Error at /home/jose/mitk/qtprojects/new_Amos/AmosWorkbenchproject-superbuild/AmosWorkbenchproject-build/cmake_install.cmake:106 (file):
file INSTALL cannot find "/usr/lib/x86_64-linux-gnu/qt5/bin/../translations/qtwebengine_locales": No such file or directory.