|
||||
File indexing completed on 2025-01-18 10:07:40
0001 // Copyright (C) 2016 The Qt Company Ltd. 0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 0003 0004 #ifndef QTVERSION_H 0005 #define QTVERSION_H 0006 0007 #if 0 0008 #pragma qt_class(QtVersion) 0009 #pragma qt_sync_stop_processing 0010 #endif 0011 0012 #ifndef __ASSEMBLER__ 0013 0014 #include <QtCore/qcompilerdetection.h> 0015 #include <QtCore/qtconfigmacros.h> 0016 #include <QtCore/qtcoreexports.h> 0017 0018 QT_BEGIN_NAMESPACE 0019 0020 /* 0021 * If we're compiling C++ code: 0022 * - and this is a non-namespace build, declare qVersion as extern "C" 0023 * - and this is a namespace build, declare it as a regular function 0024 * (we're already inside QT_BEGIN_NAMESPACE / QT_END_NAMESPACE) 0025 * If we're compiling C code, simply declare the function. If Qt was compiled 0026 * in a namespace, qVersion isn't callable anyway. 0027 */ 0028 #if !defined(QT_NAMESPACE) && defined(__cplusplus) && !defined(Q_QDOC) 0029 extern "C" 0030 #endif 0031 /* defined in qlibraryinfo.cpp */ 0032 Q_CORE_EXPORT Q_DECL_CONST_FUNCTION const char *qVersion(void) Q_DECL_NOEXCEPT; 0033 0034 QT_END_NAMESPACE 0035 0036 #endif // __ASSEMBLER__ 0037 0038 #endif // QTVERSION_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |