Am Monday 10 January 2011 schrieb Oliver Stieber:

> Ok, I'll see if I can find that out. It there a way of getting the build
> flags out of QT or writing a little test app too see what happens? (or even
> just doing strings on a core QT library?)
attached, first line is gcc command, but given the latter intel reg. xrestop, 
i doubt this is the case.

Thomas

// gcc -o testGraphicsSystem -L /usr/lib/qt/ -lQtCore -lQtGui -I /usr/include/QtGui -I /usr/include/QtCore testGraphicsSystem.cpp

#include <QApplication>
#include <QPaintEngine>
#include <QPainter>
#include <QPixmap>
#include <QtDebug>

int main (int argc, char **argv)
{
    QApplication a(argc, argv); // required
    QPixmap pix(1,1);
    QPainter p(&pix);
    qDebug() << p.paintEngine()->type() << bool(p.paintEngine()->type() == QPaintEngine::Raster);    
}
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to