Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is almost certainly caused by changing the definition of qreal.

The QMatrix4x4 constructor in question takes a qreal *. Since the QT library was compiled with one definition of qreal, and you've now changed the header to have a different definition, the linker is now looking for the wrong function in the QT library.

The lesson here is that you shouldn't modify the installed headers.

If you REALLY, REALLY, REALLY want to change the definition of qreal, you'll need to build all of QT from source with your changes. Beware that if you install a modified version of QT as the default, anything that was linked against the stock version will probably no longer work.