summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qmetatype/tst_qmetatype_libs.h
blob: 673fc9083c0941d8daf85041118249f796cb0919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) 2022 Intel Corporation
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef TST_QMETATYPE_LIBS_H
#define TST_QMETATYPE_LIBS_H

#include <qmetatype.h>

#include <stdlib.h>         // for div_t

// void:        builtin metatype, special
// int:         builtin metatype, primitive type
// QString:     builtin metatype, class
// QCollator:   not builtin, class, Q_CORE_EXPORT
// div_t:       not builtin, class, no export
#define FOR_EACH_METATYPE_LIBS(F)           \
    F(void, QMetaType::Void)                \
    F(int, QMetaType::Int)                  \
    F(QString, QMetaType::QString)          \
    F(QCollator, QMetaType::UnknownType)    \
    F(div_t, QMetaType::UnknownType)        \
    /**/

#endif // TST_QMETATYPE_LIBS_H