qt5base-lts/tests/auto/corelib/tools/tools.pro

73 lines
1.3 KiB
Prolog
Raw Normal View History

TEMPLATE=subdirs
SUBDIRS=\
collections \
containerapisymmetry \
qalgorithms \
qarraydata \
qarraydata_strictiterators \
qbitarray \
qbytearray \
qbytearraylist \
qbytearraymatcher \
qbytedatabuffer \
qcache \
qchar \
qcollator \
qcommandlineparser \
qcontiguouscache \
qcryptographichash \
qdate \
qdatetime \
qeasingcurve \
qexplicitlyshareddatapointer \
qfreelist \
qhash \
qhash_strictiterators \
qhashfunctions \
qlatin1string \
qline \
qlinkedlist \
qlist \
qlist_strictiterators \
qlocale \
qmakearray \
qmap \
qmap_strictiterators \
qmargins \
qmessageauthenticationcode \
qoffsetstringarray \
qpair \
qpoint \
qpointf \
qqueue \
qrect \
qregexp \
qregularexpression \
qringbuffer \
qscopedpointer \
qscopedvaluerollback \
qset \
qsharedpointer \
qsize \
qsizef \
qstl \
qstring \
qstring_no_cast_from_bytearray \
qstringapisymmetry \
qstringbuilder \
qstringiterator \
qstringlist \
qstringmatcher \
qstringref \
Long live QStringView! QStringView is a simple container for (const QChar*, int) and (const char16_t*, size_t). It acts as a replacement interface type for const QString and const QStringRef, and enables passing all kinds of string-like types to functions otherwise expecting const QString& - without the need to convert to QString first. The use of this new class is guarded by a macro that enables three levels of QStringView support: 1. offer QStringView, overload some functions taking QString with QStringView 2. like 1, but remove all overloads of functions taking QStringRef, leaving only the function taking QStringView. Do this only where QStringRef overloads tradionally existed. 3. like 2, but replace functions taking QString, too. This is done in order to measure the impact of QStringView on code size and execution speed, and to help guide the decision of which level to choose for Qt 6. This first patch adds QStringView with most of its planned constructors, but not much more than iterators and isNull()/isEmpty(). Further patches will add support for QStringView to QStringBuilder, add QStringView overloads of functions taking QString, and add the complete API of const QString to QStringView. [ChangeLog][QtCore][QStringView] New class, superseding const QString and QStringRef as function parameters, accepting a wide variety of UTF-16 string data sources, e.g. u"string", std::u16string{,_view}, and, on Windows, L"string", std::wstring{,_view} without converting to QString first. Change-Id: Iac273e46b2c61ec2c31b3dacebb29500599d6898 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2015-10-22 13:51:14 +00:00
qstringview \
qtextboundaryfinder \
qtime \
qtimezone \
qtimeline \
qvarlengtharray \
qvector \
qvector_strictiterators \
qversionnumber
darwin: SUBDIRS += qmacautoreleasepool