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

MacPorts noreply at macports.org
Sat Apr 27 16:32:01 UTC 2019


#58406: qwt60 @6.0.2_1: qt5 build fails with qwt_clipper.cpp:232:9: error: use of
undeclared identifier 'qMemCopy'
--------------------+-----------------------
 Reporter:  kencu   |      Owner:  michaelld
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  qwt60
--------------------+-----------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/58406>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list