Wireshark mailing list archives

Re: QT with cmake


From: Peter Wu <peter () lekensteyn nl>
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 () lekensteyn nl> 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

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: