Wireshark-dev: Re: [Wireshark-dev] error: ‘qInitResources_about__init_variable__’ defined but n

From: Gerlof Fokkema <gerlof.fokkema@xxxxxxxxx>
Date: Thu, 15 Oct 2015 10:32:03 +0000


Op do 15 okt. 2015 om 10:44 schreef Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>:
On Thu, Oct 15, 2015 at 10:29 AM, Gerlof Fokkema <gerlof.fokkema@xxxxxxxxx> wrote:
Hello,

Yes I have, and then I get a different error:






In file included from about_dialog.cpp:25:0:
./ui_about_dialog.h:13:25: fatal error: QtGui/QAction: No such file or directory
compilation terminated.

This error is however quite logical, since the file QAction has moved from QtGui to QtWidgets in qt5.
qt4: /usr/include/qt4/QtGui/QAction
qt5: /usr/include/qt/QtWidgets/QAction

Thus this error is simply due to wireshark not being compatible with qt5 yet.
Note that replacing QtGui/QAction by QtWidgets/QAction results in a whole different set of errors, sadly it's not that simple ;).
Wireshark is compatible with qt5
you have clean the build (make distclean) after installing qt5 ?

After a distclean the qt5 version does build indeed.
My apologies, didn't notice that these headers were automatically generated.

I now have a working latest version of wireshark, now to test whether this qt version crashes less often than the GTK version :).

Kind regards,
Gerlof Fokkema