Hi, I am trying to get 2.05 to compile on Debian 8.5. I have had a bit of a ride, but I got all of it working (command line from compile directory with sudo runs wireshark fine)
I am now trying to compile as a dpkg.. Had a few errors which I have managed to workaround / fix (libcap version changed etc) but I am really stuck on:
The directory is in /usr/include/..., I have installed QTWidgets etc. Any ideas anyone? asked 19 Aug '16, 03:28 DarrenWright edited 19 Aug '16, 03:52 grahamb ♦ |
One Answer:
The beginning of that file, on my machine, says:
so it's not our file, it's a file generated by "Qt User Interface Compiler", i.e. the "Qt User Interface Compiler version 5.5.0" means it's the version of
It's a member in Qt 4, but not in Qt 5.
The answer to that question is "yes, because the GTK+ UI is deprecated, we don't support Qt 3 or earlier, and there is no Qt 6, so you should either build it on Qt 4 or Qt 5." If you build it on Qt 4, you should make sure you have all the Qt build tools for Qt 4 installed, including If you build it on Qt 5, you should make sure you have all the Qt build tools for Qt 5 installed, including If you have both of them installed, the wrong one might be used. There's a comment in the
so the configure script at least tries to make sure the right version is used. For CMake, we may rely on Qt to set up the right "find Qt and its tools" stuff, and that might be failing. answered 19 Aug '16, 15:06 Guy Harris ♦♦ |
Hmm. According to QT Docs: In Qt5, QAction header is in QtWidgets include sub-directory, not in QtGui (that's true for Qt4).
Soo. Updated the ui_bluetooth_hci_summary_dialog.h to QTWidget instead of QTGui, now I have new problems :/
/home/steve/Downloads/wireshark-2.0.5/ui/qt/ui_bluetooth_hci_summary_dialog.h:146:132: error: ‘UnicodeUTF8’ is not a member of ‘QApplication’ BluetoothHciSummaryDialog->setWindowTitle(QApplication::translate("BluetoothHciSummaryDialog", "Bluetooth HCI Summary", 0, QApplication::UnicodeUTF8
Stupid question: Should Wireshark be built on QT4 or QT5??