![](https://secure.gravatar.com/avatar/f40b961fd497e2471960f7150d986610.jpg?s=120&d=mm&r=g)
I tried building a simple hello world example (attached) with qt5 and got an error from qmake-qt5: $ ls hello.cpp testqt5.pro $ qmake-qt5 Project ERROR: Unknown module(s) in QT: widgets gui core The attached patch fixes qt5 but it isn't very precise. It simply doesn't remove as many files from the compiled qt5 but I cannot narrow down which file(s) are really fixing the problem. Also, with qt4 and qt5 installed this error happens building wireshark: prt-get: updating /usr/ports/opt/wireshark prt-get: starting build Sun Sep 7 16:03:05 2014 =======> Building '/usr/ports/pkgs/wireshark#1.12.0-1.pkg.tar.gz'. [snip] CXX packet_list.o In file included from main_window_slots.cpp:33:0: ui_main_window.h:13:25: fatal error: QtGui/QAction: No such file or directory #include <QtGui/QAction> ^ compilation terminated. Makefile:1351: recipe for target 'main_window_slots.o' failed make[2]: *** [main_window_slots.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/crux/wireshark/src/wireshark-1.12.0/ui/qt' Makefile:3894: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/crux/wireshark/src/wireshark-1.12.0' Makefile:2030: recipe for target 'all' failed make: *** [all] Error 2 =======> ERROR: Building '/usr/ports/pkgs/wireshark#1.12.0-1.pkg.tar.gz' failed. Removing qt5 and leaving qt4 works. The resulting wireshark uses qt4 as the port doesn't say specifically not to. Wireshark has no dependency for qt4 or qt5 but if it finds qt installed it tries to use it. I'm not sure how to proceed. Should I submit a bug report for qt5? Should I also submit a bug report for wireshark? Am I the only one using qt5? wxpython-3.0.0 requires qt5 but other ports won't work with qt5 so a way must be devised to make it possible to have both installed I think. -Daryl