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

Error when compiling Wireshark 2.2.7

0

Have not had this issue with any previous versions and now when compiling from source on CentOS 7.3 I receive this error:

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); ^ make[2]: [simple_dialog.o] Error 1 make[2]: Leaving directory /tmp/wireshark-2.2.7/ui/qt' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/tmp/wireshark-2.2.7' make: [all] Error 2

Any idea what the problem may be?

asked 01 Jun '17, 17:00

Danny%20Michael's gravatar image

Danny Michael
6113
accept rate: 0%

It's a QT thing. I compiled using --without-qt and it works fine.

(01 Jun '17, 17:23) Danny Michael
1

What version of Qt comes with CentOS 7.3? Perhaps Wireshark assumes a later version.

Was this built using autotools (running the configure script and doing make) or with CMake (running the cmake command and doing make)?

(01 Jun '17, 21:47) Guy Harris ♦♦

It was run with autotools. It seems Pascal has found the solution. Thank you both for your input.

(02 Jun '17, 06:11) Danny Michael

One Answer:

1

answered 02 Jun '17, 04:25

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%