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

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Fri, 2 Jun 2017 13:28:32 -0400


On Fri, Jun 2, 2017 at 9:04 AM, Kilian, Jens <jens.kilian@xxxxxxxxxxxxx> wrote:
> 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

I have the same problem on RedHat Enterprise Linux release 7.2.  Qt5 is not available.

FWIW you can get Qt5 on RHEL7 by enabling the EPEL repository.

Otherwise you'll have to do as Stig suggested:

> You can safely remove this call in simple_dialog.cpp until the next release.