Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Regular Contributor
prathipa84
Posts: 55
Registered: ‎03-14-2012
My Carrier: none

no matching function for call to 'operator new(unsigned int, QPainterPath::Element*)

Hello,

While executing the command "make" command in command prompt, I got te error 

 

../../Qt/4.8.0/include/QtCore/../../src/corelib/tools/qvector.h: In member funct
ion 'void QVector<T>::realloc(int, int) [with T = QPainterPath::Element]':
../../Qt/4.8.0/include/QtCore/../../src/corelib/tools/qvector.h:337: instantia
ted from 'void QVector<T>::detach_helper() [with T = QPainterPath::Element]'
../../Qt/4.8.0/include/QtCore/../../src/corelib/tools/qvector.h:147: instantia
ted from 'void QVector<T>::detach() [with T = QPainterPath::Element]'
../../Qt/4.8.0/include/QtCore/../../src/corelib/tools/qvector.h:247: instantia
ted from 'T* QVector<T>::begin() [with T = QPainterPath::Element]'
../../Qt/4.8.0/include/QtCore/../../src/corelib/tools/qvector.h:260: instantia
ted from 'T& QVector<T>::first() [with T = QPainterPath::Element]'
../../Qt/4.8.0/include/QtGui/../../src/gui/painting/qpainterpath.h:394: instan
tiated from here
../../Qt/4.8.0/include/QtCore/../../src/corelib/tools/qvector.h:532: error: no m
atching function for call to 'operator new(unsigned int, QPainterPath::Element*)
'
<built-in>:0: note: candidates are: void* operator new(unsigned int)
../../Qt/4.8.0/include/QtCore/../../src/corelib/tools/qvector.h:537: error: no m
atching function for call to 'operator new(unsigned int, QPainterPath::Element*)
'
<built-in>:0: note: candidates are: void* operator new(unsigned int)

 

Help me if anybody knows solution for this problem.

Thanks,

Prathipa

Please use plain text.
Developer
BGmot
Posts: 956
Registered: ‎11-24-2011
My Carrier: x

Re: no matching function for call to 'operator new(unsigned int, QPainterPath::Element*)

Post your code or what exactly are you trying to 'make'?

Please use plain text.