Last active
August 29, 2015 13:56
-
-
Save azbesthu/8845408 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ORIGINAL: | |
void QQuickWebEngineView::geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) | |
{ | |
QQuickItem::geometryChanged(newGeometry, oldGeometry); | |
Q_FOREACH(QQuickItem *child, childItems()) { | |
Q_ASSERT( | |
#if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)) | |
qobject_cast<RenderWidgetHostViewQtDelegateQuick *>(child) || | |
#endif | |
qobject_cast<RenderWidgetHostViewQtDelegateQuickPainted *>(child)); | |
child->setSize(newGeometry.size()); | |
} | |
} | |
PREPROCESSED: | |
void QQuickWebEngineView::geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) | |
{ | |
QQuickItem::geometryChanged(newGeometry, oldGeometry); | |
for (const QForeachContainerBase &_container_ = qForeachContainerNew(childItems()); qForeachContainer(&_container_, true ? 0 : qForeachPointer(childItems()))->condition(); ++qForeachContainer(&_container_, true ? 0 : qForeachPointer(childItems()))->i) for (QQuickItem *child = *qForeachContainer(&_container_, true ? 0 : qForeachPointer(childItems()))->i; qForeachContainer(&_container_, true ? 0 : qForeachPointer(childItems()))->brk; --qForeachContainer(&_container_, true ? 0 : qForeachPointer(childItems()))->brk) { | |
((!(#if (0x050200 >= ((5<<16)|(2<<8)|(0))) qobject_cast<RenderWidgetHostViewQtDelegateQuick *>(child) || #endif qobject_cast<RenderWidgetHostViewQtDelegateQuickPainted *>(child))) ? qt_assert("#if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)) qobject_cast<RenderWidgetHostViewQtDelegateQuick *>(child) || #endif qobject_cast<RenderWidgetHostViewQtDelegateQuickPainted *>(child)","api\\qquickwebengineview.cpp",451) : qt_noop()); | |
#line 452 "api\\qquickwebengineview.cpp" | |
child->setSize(newGeometry.size()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
B -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISA
BLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_NO_EXCEPTIONS -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LI
B -DQT_QUICK_LIB -DQT_QML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"." -I"api" -I"..\core"
-I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtWebEngine" -I"C:\Qt5.2.0-qtwe-dev-sourc
e\qt5\qtbase\include\QtWebEngine\5.2.0" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtWebEngine\5.2.0\QtWebEngine" -I"tmp" -I"C:\Qt5.2.
0-qtwe-dev-source\qt5\qtbase\include\QtQuick" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtQml" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtba
se\include\QtNetwork" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtGui" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtANGLE" -I"C
:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtCore" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtQuick\5.2.0" -I"C:\Qt5.2.0-qtwe-dev-
source\qt5\qtbase\include\QtQuick\5.2.0\QtQuick" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtQml\5.2.0" -I"C:\Qt5.2.0-qtwe-dev-source
\qt5\qtbase\include\QtQml\5.2.0\QtQml" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtGui\5.2.0" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbas
e\include\QtGui\5.2.0\QtGui" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include\QtCore\5.2.0" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\include
\QtCore\5.2.0\QtCore" -I".moc\debug" -I"C:\Qt5.2.0-qtwe-dev-source\qt5\qtbase\mkspecs\win32-msvc2010" -Fo.obj\debug\ @C:\Users\ADMINI~1\AppD
ata\Local\Temp\2\nmBE3D.tmp
qquickwebengineview.cpp
api\qquickwebengineview.cpp(451) : error C2121: '#' : invalid character : possibly the result of a macro expansion
api\qquickwebengineview.cpp(451) : error C2059: syntax error : 'if'
api\qquickwebengineview.cpp(451) : error C2121: '#' : invalid character : possibly the result of a macro expansion
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.