All pastes #2076406 Raw Edit

Unnamed

public text v1 · immutable
#2076406 ·published 2011-06-07 21:27 UTC
rendered paste body
bassy@Spline:~/BalticStuff$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp
In file included from main.cpp:1:0:
graphics.h: In member function ‘void Widget::DrawDataPoints(QPainter&)’:
graphics.h:222:33: error: base operand of ‘->’ has non-pointer type ‘QPainter’
graphics.h:223:11: error: base operand of ‘->’ has non-pointer type ‘QPainter’
graphics.h:224:11: error: base operand of ‘->’ has non-pointer type ‘QPainter’
graphics.h:225:11: error: base operand of ‘->’ has non-pointer type ‘QPainter’
graphics.h:225:38: error: no matching function for call to ‘QTransform::map(<unresolved overloaded function type>)’
/usr/include/qt4/QtGui/qtransform.h:141:18: note: candidates are: QPoint QTransform::map(const QPoint&) const
/usr/include/qt4/QtGui/qtransform.h:142:18: note:                 QPointF QTransform::map(const QPointF&) const
/usr/include/qt4/QtGui/qtransform.h:143:18: note:                 QLine QTransform::map(const QLine&) const
/usr/include/qt4/QtGui/qtransform.h:144:18: note:                 QLineF QTransform::map(const QLineF&) const
/usr/include/qt4/QtGui/qtransform.h:145:18: note:                 QPolygonF QTransform::map(const QPolygonF&) const
/usr/include/qt4/QtGui/qtransform.h:146:18: note:                 QPolygon QTransform::map(const QPolygon&) const
/usr/include/qt4/QtGui/qtransform.h:147:18: note:                 QRegion QTransform::map(const QRegion&) const
/usr/include/qt4/QtGui/qtransform.h:148:18: note:                 QPainterPath QTransform::map(const QPainterPath&) const
/usr/include/qt4/QtGui/qtransform.h:152:10: note:                 void QTransform::map(int, int, int*, int*) const
/usr/include/qt4/QtGui/qtransform.h:153:10: note:                 void QTransform::map(qreal, qreal, qreal*, qreal*) const
graphics.h:226:11: error: base operand of ‘->’ has non-pointer type ‘QPainter’
make: *** [main.o] Error 1
bassy@Spline:~/BalticStuff$