This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Can’t build wireshark from source - ui_about_dialog.h:13:25: fatal error: QtGui/QAction: No such file or directory

0

I have installed latest versions of both GTK3+ as well as Qt (v5.4.0 installed /opt folder). I would like to build Wireshark 1.12.3 for my Linux Mint box with the newer Qt interface. Running into nothing but trouble. Does't help that I'm a newbie when it comes to troubleshooting build issues.

When I run ./configure --with-qt=yes --with-gtk3=yes, it completes just fine. When I follow up with a 'make' it fails with the following error:

make[2]: Entering directory /home/marlon/Downloads/wireshark-1.12.3/ui/qt' CXX about_dialog.o In file included from about_dialog.cpp:25:0: ui_about_dialog.h:13:25: fatal error: QtGui/QAction: No such file or directory #include <QtGui/QAction> ^ compilation terminated. make[2]: *** [about_dialog.o] Error 1 make[2]: Leaving directory/home/User/Downloads/wireshark-1.12.3/ui/qt' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/home/User/Downloads/wireshark-1.12.3' make: [all] Error 2

Anyone know how to resolve this?

asked 19 Jan '15, 12:36

iThrive's gravatar image

iThrive
6224
accept rate: 0%


One Answer:

0

Qt support in 1.12.X version is very partial (lacks many features, has many bugs, ...) and not maintained (all the Qt work happens in 1.99.X versions). If you really want so play with Qt GUI, I highly suggest you to checkout the latest code from Git (see https://www.wireshark.org/develop.html) and compile this.

answered 19 Jan '15, 12:39

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%