Opened 12 months ago
Closed 2 months ago
#68666 closed defect (fixed)
ipe @7.2.11: error: no member named 'button' in 'QTabletEvent'
Reported by: | matan-bebop (Andrii) | Owned by: | jjstickel (Jonathan Stickel) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | sonoma | Cc: | |
Port: | ipe |
Description (last modified by matan-bebop (Andrii))
There is a compiler error while building the port.
I first tried ipe +qt4 -qt5, which proceeds to compiling without the Xcode installed. Still, the build fails. Then I installed Xcode–no luck as well.
+qt5 requires Xcode, unlike +qt4. It also fails to build.
Attachments (1)
Change History (7)
Changed 12 months ago by matan-bebop (Andrii)
comment:1 Changed 12 months ago by matan-bebop (Andrii)
Description: | modified (diff) |
---|---|
Summary: | ipe-7.2.11 +qt4 -qt5 fails to build on Sonoma → ipe-7.2.11: fails to build on Sonoma |
comment:2 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | sonoma added |
---|---|
Summary: | ipe-7.2.11: fails to build on Sonoma → ipe @7.2.11: error: no member named 'button' in 'QTabletEvent' |
Version: | → 2.8.1 |
comment:3 Changed 6 months ago by barracuda156
Yeah, it fails for me also here:
/opt/local/bin/g++-mp-13 -arch ppc -fPIC -Wall -g -Os -fPIC -DIPEUI_QT -fPIC -std=c++14 -I../include -I../ipecairo -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -DQT_SHARED -I/opt/local/libexec/qt4/include -I/opt/local/libexec/qt4/include/QtGui -I/opt/local/libexec/qt4/include -I/opt/local/libexec/qt4/include/QtCore -c -o ../../build/obj/ipecanvas/ipecanvas_qt.o ipecanvas_qt.cpp ipecanvas_qt.cpp: In member function 'virtual void ipe::Canvas::tabletEvent(QTabletEvent*)': ipecanvas_qt.cpp:256:40: error: 'class QTabletEvent' has no member named 'button' 256 | ipeDebug("TabletPress: %d %d", ev->button(), ev->pointerType()); | ^~~~~~ ipecanvas_qt.cpp:264:30: error: 'class QTabletEvent' has no member named 'button' 264 | iTool->mouseButton(ev->button() | iAdditionalModifiers, true); | ^~~~~~ ipecanvas_qt.cpp:266:48: error: 'class QTabletEvent' has no member named 'button' 266 | iObserver->canvasObserverMouseAction(ev->button() | | ^~~~~~ ipecanvas_qt.cpp: In member function 'virtual void ipe::Canvas::wheelEvent(QWheelEvent*)': ipecanvas_qt.cpp:293:18: error: 'class QWheelEvent' has no member named 'angleDelta' 293 | QPoint p = ev->angleDelta(); | ^~~~~~~~~~ make[1]: *** [../../build/obj/ipecanvas/ipecanvas_qt.o] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_ipe/ipe/work/ipe-7.2.11/src/ipecanvas' make: *** [ipecanvas] Error 2
- S. Also this file has a wrong include:
src/ipelib/ipebitmap_unix.cpp
.
Changing it to #include <Carbon/Carbon.h>
fixes the build, but then it fails on QTabletEvent
issue.
comment:4 Changed 6 months ago by barracuda156
And also src/include/ipeattributes.h
misses #include <cstdint>
.
comment:5 Changed 2 months ago by jjstickel (Jonathan Stickel)
comment:6 Changed 2 months ago by jjstickel (Jonathan Stickel)
Owner: | set to jjstickel |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The log says the problem is:
Maybe this is a problem already solved by the developers of ipe and updating the port to a newer version would help. I appear to have assigned that ticket to myself but forgot about it and am not working on it.