diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-07-22 22:07:38 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-07-22 22:07:38 (GMT) |
commit | b11f173a57128416ce314796e7b0320ad7c05bf7 (patch) | |
tree | 48ee576d7aad4ab7c828b443f47d235615a064b0 | |
parent | ed7b578fa09155458be48a419f29cc709129984a (diff) | |
download | Qt-b11f173a57128416ce314796e7b0320ad7c05bf7.zip Qt-b11f173a57128416ce314796e7b0320ad7c05bf7.tar.gz Qt-b11f173a57128416ce314796e7b0320ad7c05bf7.tar.bz2 |
Compile in release mode for DFB version > 0.9
Something went wrong with the integrate from 4.5 to master.
Reviewed-by: TrustMe
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp index 67cad6f..0928643 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp @@ -744,7 +744,12 @@ QPixmapData *QDirectFBScreenPrivate::createPixmapData(QPixmapData::PixelType typ return new QDirectFBPixmapData(type); } -#ifndef QT_NO_DEBUG +#ifdef QT_NO_DEBUG +struct FlagDescription; +static const FlagDescription *accelerationDescriptions = 0; +static const FlagDescription *blitDescriptions = 0; +static const FlagDescription *drawDescriptions = 0; +#else struct FlagDescription { const char *name; uint flag; |