Wireshark-dev: [Wireshark-dev] Wireshark with QT
From: Akos Vandra <[email protected]>
Date: Sat, 7 Jul 2012 17:05:48 +0200
Hi!

I'm having problems building wireshark with Qt. I'm trying to build on
Ubuntu 10.04LTS x64, with QT 4.7.0, qmake 2.01a, latest svn revision
at the moment, r43597.

I used the following commands to build:

autoconf
./configure --prefix=/home/akos/projects/c/wireshark/bin --with-qt=yes
make -j10

The build fails, even though I think I have all needed dependencies...
I might be missing something though. Building without Qt works.
The last few lines of output are:

Making all in ui/qt
make[2]: Entering directory `/home/akos/projects/c/wireshark/wireshark/ui/qt'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../wiretap    -DINET6
-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DQT_GUI_LIB
-D_FORTIFY_SOURCE=2 -D_U_="__attribute__((unused))"
-I/home/akos/projects/c/wireshark/bin/include -I/usr/local/include
-I/home/akos/projects/c/wireshark/bin/include/pcap
'-DPLUGIN_DIR="/home/akos/projects/c/wireshark/bin/lib/wireshark/plugins/1.9.0"'
 -g -O2 -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds
-Wcast-align -Wformat-security -DQT_SHARED -I/usr/include/qt4
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui   -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -MT
main_window.o -MD -MP -MF .deps/main_window.Tpo -c -o main_window.o
main_window.cpp
main_window.cpp:25: fatal error: ui_main_window.h: No such file or directory
compilation terminated.
make[2]: *** [main_window.o] Error 1
make[2]: Leaving directory `/home/akos/projects/c/wireshark/wireshark/ui/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/akos/projects/c/wireshark/wireshark'
make: *** [all] Error 2
[email protected]:~/projects/c/wireshark/wireshark$

Regards,
  Ákos Vandra