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:
parent
e026f767c9
commit
e80b661952
@ -51,8 +51,6 @@
|
||||
#include <QTextBrowser>
|
||||
#include <QBoxLayout>
|
||||
|
||||
#include <private/qpixmapdata_p.h>
|
||||
|
||||
extern QPixmap cached(const QString &img);
|
||||
|
||||
ArthurFrame::ArthurFrame(QWidget *parent)
|
||||
@ -83,11 +81,6 @@ ArthurFrame::ArthurFrame(QWidget *parent)
|
||||
// QPalette pal = palette();
|
||||
// pal.setBrush(backgroundRole(), m_tile);
|
||||
// setPalette(pal);
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
QPixmap xRenderPixmap(1, 1);
|
||||
m_prefer_image = xRenderPixmap.handle()->classId() == QPlatformPixmap::X11Class && !xRenderPixmap.x11PictureHandle();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@ build_all:!build_pass {
|
||||
CONFIG += release
|
||||
}
|
||||
TARGET = demo_shared
|
||||
QT += gui-private widgets
|
||||
QT += widgets
|
||||
|
||||
SOURCES += \
|
||||
arthurstyle.cpp\
|
||||
|
Loading…
x
Reference in New Issue
Block a user