Long live kdToContainer

This is some code I have had in my Qt build for a while now.
Given the barrier to put this into QtCore is too high, maybe
it's useful to publish elsewhere, so here it is.

Change-Id: I519d360920539ee2048536b4e4eeb706fe03d64f
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/94929
Tested-by: Continuous Integration <build@kdab.com>
Reviewed-by: Ivan Čukić <ivan.cukic@kdab.com>
This commit is contained in:
Giuseppe D'Angelo
2021-03-25 16:36:54 +01:00
parent b2178f4f11
commit 6118acf67d
8 changed files with 408 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
CONFIG += testcase
QT = core testlib
SOURCES = ../tst_toContainer.cpp
TARGET = tst_toContainer_cpplatest
CONFIG += c++17 strict_c++
# not 100% ideal as it looks at Qt's config rather than compiler capabilities,
# but qmake is qmake...
contains(QT_CONFIG, c++2a):CONFIG *= c++2a