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.

inside custom component

Native Development

Reply
Highlighted
Regular Contributor
Posts: 55
Registered: ‎03-14-2012
My Device: RDJ21WW
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

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
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'?