From 47d5d349d8f5bc590ca7cdf30bf13b69bddf3225 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 20 Jan 2012 11:22:09 +0100 Subject: Remove QBool and use bool instead. QBool was introduced with Qt-4.0, to detect Qt3-like code like if (c.contains(d) == 2) and break compilation on such constructs. This isn't necessary anymore, given that such code couldn't possibly compile in Qt4 times. And QBool was confusing developers, and creating compile errors (e.g. QVariant doesn't have support for it), so better remove it for Qt 5. Change-Id: I6642f43f5e12b872f98abb56600186179f072b09 Reviewed-by: Lars Knoll --- src/tools/uic/qclass_lib_map.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/uic/qclass_lib_map.h b/src/tools/uic/qclass_lib_map.h index 19664d4d01..9ef0e2fa7d 100644 --- a/src/tools/uic/qclass_lib_map.h +++ b/src/tools/uic/qclass_lib_map.h @@ -54,7 +54,6 @@ QT_CLASS_LIB(QtMsgHandler, QtCore, qglobal.h) QT_CLASS_LIB(QGlobalStatic, QtCore, qglobal.h) QT_CLASS_LIB(QGlobalStatic, QtCore, qglobal.h) QT_CLASS_LIB(QGlobalStaticDeleter, QtCore, qglobal.h) -QT_CLASS_LIB(QBool, QtCore, qglobal.h) QT_CLASS_LIB(QTypeInfo, QtCore, qglobal.h) QT_CLASS_LIB(QTypeInfo, QtCore, qglobal.h) QT_CLASS_LIB(QFlag, QtCore, qglobal.h) -- cgit v1.2.3