ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] wireshark 2.2.7 compilation failure on ubuntu 16.04.2

From: "Conor Lennon" <conorlennon@xxxxxxxxxx>
Date: Fri, 02 Jun 2017 11:49:43 +0100
Hi,

I have a fully updated ubuntu 16.04.2 64 bit installation.
I downloaded the wireshark 2.2.7 release source code package and unpacked it.
I ran ./autogen.sh, followed by ./configure, followed by make

$ ./configure
...
Build wireshark : yes (with Qt4 v4.8.7)
...

$ make
...
CXX show_packet_bytes_dialog.o
CXX simple_dialog.o
simple_dialog.cpp: In constructor ‘SimpleDialog::SimpleDialog(QWidget*, ESD_TYPE_E, int, const char*, __va_list_tag*)’: simple_dialog.cpp:93:54: error: ‘setTextInteractionFlags’ was not declared in this scope
setTextInteractionFlags(Qt::TextSelectableByMouse);
^
Makefile:1790: recipe for target 'simple_dialog.o' failed
make[2]: *** [simple_dialog.o] Error 1



configuring with --with-qt=no followed by make works.

2.2.6 was fine.

Any thoughts?
Regards,
Conor