Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] QT with cmake

From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Tue, 21 Oct 2014 14:48:28 +0200
On Tuesday 21 October 2014 14:11:25 Dario Lombardo wrote:
> On Tue, Oct 21, 2014 at 1:20 PM, Peter Wu <peter@xxxxxxxxxxxxx> wrote:
> 
> >
> > What distro are you using? For Debian/Ubuntu you need to install
> > qttools5-dev.
> >
> 
> It is exactly what I'm using (ubuntu 14.04). I've installed  qttools5-dev
> and compilation made few steps ahead, but then stopped with
> 
> Scanning dependencies of target qtui
> [ 79%] Building CXX object ui/qt/CMakeFiles/qtui.dir/about_dialog.cpp.o
> In file included from
> /home/dario/Projects/wireshark/ui/qt/about_dialog.cpp:25:0:
> /home/dario/Projects/wireshark/ui/qt/ui_about_dialog.h:13:25: fatal error:
> QtGui/QAction: No such file or directory
>  #include <QtGui/QAction>
>                          ^
> compilation terminated.
> make[2]: *** [ui/qt/CMakeFiles/qtui.dir/about_dialog.cpp.o] Error 1
> make[1]: *** [ui/qt/CMakeFiles/qtui.dir/all] Error 2
> make: *** [all] Error 2

Have you tried to clear your build dir? The QtGui/QAction file is located in the
qt4 include directory, in qt5 it is located at QtWidgets/QAction.

-- 
Kind regards,
Peter
https://lekensteyn.nl