Build fix for examples.

Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>

Change-Id: I36f5a4088a39673a8e74a4d53ac83a42696af096
Reviewed-on: http://codereview.qt.nokia.com/2095
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint 2011-07-25 10:07:13 +02:00
parent e026f767c9
commit e80b661952
2 changed files with 1 additions and 8 deletions

View File

@ -51,8 +51,6 @@
#include <QTextBrowser> #include <QTextBrowser>
#include <QBoxLayout> #include <QBoxLayout>
#include <private/qpixmapdata_p.h>
extern QPixmap cached(const QString &img); extern QPixmap cached(const QString &img);
ArthurFrame::ArthurFrame(QWidget *parent) ArthurFrame::ArthurFrame(QWidget *parent)
@ -83,11 +81,6 @@ ArthurFrame::ArthurFrame(QWidget *parent)
// QPalette pal = palette(); // QPalette pal = palette();
// pal.setBrush(backgroundRole(), m_tile); // pal.setBrush(backgroundRole(), m_tile);
// setPalette(pal); // setPalette(pal);
#ifdef Q_WS_X11
QPixmap xRenderPixmap(1, 1);
m_prefer_image = xRenderPixmap.handle()->classId() == QPlatformPixmap::X11Class && !xRenderPixmap.x11PictureHandle();
#endif
} }

View File

@ -11,7 +11,7 @@ build_all:!build_pass {
CONFIG += release CONFIG += release
} }
TARGET = demo_shared TARGET = demo_shared
QT += gui-private widgets QT += widgets
SOURCES += \ SOURCES += \
arthurstyle.cpp\ arthurstyle.cpp\