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

From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Tue, 21 Oct 2014 14:11:25 +0200


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