Don't use QT_ARCH to detect ARM or OpenGL ES 2 on ARM
Use Q_PROCESSOR_ARM instead of QT_ARCH_ARM. On maemo6, don't use QT_ARCH==armv6 to conditionally include egl code. Instead check for opengles2 in QT_CONFIG, which is detected by the configure script. Change-Id: Ib3062fbd81c3a3acd318df32c49ad133a5b0d07c Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
cd5a8fc69d
commit
ea1037a7d0
@@ -996,7 +996,7 @@ void tst_QVideoSurfaceFormat::debugOperator()
|
||||
" frameWidth = QVariant(int, %6) \n"
|
||||
" viewport = QVariant(QRect, QRect(0,1 800x600) ) \n"
|
||||
" scanLineDirection = QVariant(QVideoSurfaceFormat::Direction, ) \n"
|
||||
#if defined(QT_ARCH_ARM) // from qglobal.h
|
||||
#if defined(Q_PROCESSOR_ARM) // from qglobal.h
|
||||
" frameRate = QVariant(float, %7) \n"
|
||||
#else
|
||||
" frameRate = QVariant(double, %7) \n"
|
||||
|
||||
Reference in New Issue
Block a user