Wireshark-dev: Re: [Wireshark-dev] QT with cmake
From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Tue, 21 Oct 2014 13:20:34 +0200
On Tuesday 21 October 2014 13:12:18 Dario Lombardo wrote:
> Well... after installing some other qt5 packages I get
> 
> CMake Error at ui/qt/CMakeLists.txt:306 (QT5_ADD_TRANSLATION):
>   Unknown CMake command "QT5_ADD_TRANSLATION".

On Arch Linux, the package qt5-tools provides the following file which defines
that function:
/usr/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake

What distro are you using? For Debian/Ubuntu you need to install qttools5-dev.

Kind regards,
Peter