diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-08-24 13:02:42 +0200 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2022-08-29 11:02:05 +0800 |
commit | f5be5c6b14acb84ba1dac954c0284ded467f1542 (patch) | |
tree | 56e48a2178f2d5f679e8be9146d43ba38668c3da /src/corelib/global/qglobal.cpp | |
parent | 52162eebe5339f53df4b3afb026e163e64b44ae2 (diff) |
Move qSharedBuild() from qglobal.h to qlibraryinfo.h
[ChangeLog][Potentially Source-Incompatible Changes] qSharedBuild() is
moved from qglobal.h to qlibraryinfo.h, '#include <QtCore/QLibraryInfo>'
needs to be added where it's used.
Task-number: QTBUG-99313
Change-Id: Ic64561a8eb129ba2934e2770ca02119de208a2a5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Yuhang Zhao <2546789017@qq.com>
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r-- | src/corelib/global/qglobal.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index bcd0292cdb..57892b4109 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -807,15 +807,6 @@ const char *qVersion() noexcept return QT_VERSION_STR; } -bool qSharedBuild() noexcept -{ -#ifdef QT_SHARED - return true; -#else - return false; -#endif -} - /***************************************************************************** System detection routines *****************************************************************************/ |