Wireshark-dev: [Wireshark-dev] Wireshark 2.4.1 build errors (with Qt 4)
From: "Kilian, Jens" <jens.kilian@xxxxxxxxxxxxx>
Date: Thu, 31 Aug 2017 05:51:46 +0000
Is Wireshark v2.4.1 supposed to support Qt 4 still? I get the following compile errors when trying to build it in RedHat EL 7.2: main_window.cpp:786:46: required from here /usr/include/QtCore/qmetatype.h:169:80: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QToolBar*>' static inline int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); } ^ main_window_slots.cpp:499:62: required from here /usr/include/QtCore/qmetatype.h:169:80: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QToolBar*>' static inline int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); } ^ rtp_player_dialog.cpp:207:104: required from here /usr/include/QtCore/qmetatype.h:169:80: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<RtpAudioStream*>' static inline int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); } ^ rtp_player_dialog.cpp:277:95: required from here /usr/include/QtCore/qmetatype.h:169:80: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QCPGraph*>' wireless_timeline.cpp: In member function 'virtual void WirelessTimeline::mousePressEvent(QMouseEvent*)': wireless_timeline.cpp:118:31: error: 'class QMouseEvent' has no member named 'localPos' start_x = last_x = event->localPos().x(); ^ wireless_timeline.cpp: In member function 'virtual void WirelessTimeline::mouseMoveEvent(QMouseEvent*)': wireless_timeline.cpp:127:27: error: 'class QMouseEvent' has no member named 'localPos' qreal offset = event->localPos().x() - last_x; ^ wireless_timeline.cpp:128:21: error: 'class QMouseEvent' has no member named 'localPos' last_x = event->localPos().x(); ^ wireless_timeline.cpp: In member function 'virtual void WirelessTimeline::mouseReleaseEvent(QMouseEvent*)': wireless_timeline.cpp:144:27: error: 'class QMouseEvent' has no member named 'localPos' qreal offset = event->localPos().x() - start_x; ^ wireless_timeline.cpp:151:36: error: 'class QMouseEvent' has no member named 'localPos' guint num = find_packet(event->localPos().x()); ^ wireless_timeline.cpp: In member function 'virtual void WirelessTimeline::paintEvent(QPaintEvent*)': wireless_timeline.cpp:483:31: error: 'class QPaintDevice' has no member named 'devicePixelRatio' float ratio = p.device()->devicePixelRatio(); ^ wireshark_application.cpp: In constructor 'WiresharkApplication::WiresharkApplication(int&, char**)': wireshark_application.cpp:850:24: error: 'QGuiApplication' has not been declared QPalette gui_pal = QGuiApplication::palette(); ^ Best regards, Jens.
- Follow-Ups:
- Re: [Wireshark-dev] Wireshark 2.4.1 build errors (with Qt 4)
- From: Michael Mann
- Re: [Wireshark-dev] Wireshark 2.4.1 build errors (with Qt 4)
- Prev by Date: Re: [Wireshark-dev] Adding pcap-ng pipe support to dumpcap
- Next by Date: [Wireshark-dev] Some updates to the Profinet plugin
- Previous by thread: [Wireshark-dev] Wireshark 2.2.9 is now available
- Next by thread: Re: [Wireshark-dev] Wireshark 2.4.1 build errors (with Qt 4)
- Index(es):
- Get Wireshark
- Download
- Code of Conduct