On Sun, 07 Sep 2014 21:57:43 -0500 (CDT) Daryl F wrote:
Also, with qt4 and qt5 installed this error happens building wireshark:
=======> ERROR: Building '/usr/ports/pkgs/wireshark#1.12.0-1.pkg.tar.gz' failed.
QT5 GUI is broken in Wireshark, git snapshot is recommended for it, if you want it.
Removing qt5 and leaving qt4 works. The resulting wireshark uses qt4 as the port doesn't say specifically not to.
QT4 GUI builds fine, with QT5 installed, using 'sed -i "s:Qt5 Qt:Qt:g" configure ' line in Pkgfile.
Wireshark has no dependency for qt4 or qt5 but if it finds qt installed it tries to use it.
It also prefers gtk3 to gtk2.Btw, gtk3 might be mandatory for Wireshark-2.x
I'm not sure how to proceed. Should I submit a bug report for qt5? Should I also submit a bug report for wireshark?
Prefered upstream tool for switching between QT versions is qtchooser (https://qt.gitorious.org/qt/qtchooser), but to use it, both qt4 and qt5 binaries would have to be suffixed e.g qmake-qt4. qmake-qt5 etc. I made a port for it, and I just might test it one of these days, when qt4 finishes compiling ;) Pedja