Opened 5 years ago

Last modified 5 years ago

#58406 assigned defect

qwt60 @6.0.2_1: qt5 build fails with qwt_clipper.cpp:232:9: error: use of undeclared identifier 'qMemCopy'

Reported by: kencu (Ken) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: qwt60

Description

This is on Mojave with the current qt5.12. I'm not sure if earlier qt5 versions still support the deprecated qMemCopy

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -Os -std=gnu++11  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/local/libexec/qt5/lib/QtSvg.framework/Headers -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -Imoc -I/System/Library/Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/AGL.framework/Headers/ -I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o obj/qwt_clipper.o qwt_clipper.cpp
qwt_clipper.cpp:232:9: error: use of undeclared identifier 'qMemCopy'
        qMemCopy( p.data(), points1.data(), points1.size() * sizeof( Point ) );
        ^

Looking down further in the log, there appear to be errors from uses of other deprecated and now gone qt functions as well.

Attachments (1)

qwt60.fail.log (96.3 KB) - added by kencu (Ken) 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by kencu (Ken)

Attachment: qwt60.fail.log added

comment:1 Changed 5 years ago by kencu (Ken)

qwt61 +qt5 seems to be fine on Mojave with qt5.12 however.

Note: See TracTickets for help on using tickets.