diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-08-08 18:30:57 +0000 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-08-09 00:34:15 +0000 |
| commit | bc88bb34caf1185a25eda77ee022843c0ca988b0 (patch) | |
| tree | 36530ad5ab2f93f49f792a715cc307f96b8a4d9a /src/corelib/Qt6CoreResourceInit.in.cpp | |
| parent | bb11f7a9fa576b679fc64b09abadebf90dfbe9a1 (diff) | |
Revert "CMake: Place resources into static libraries, not object libraries"
This reverts commit ce8874fc3b0bab2066080315c8774b30c038862c.
Reason for revert: Doesn't handle resource names that are invalid identifiers
Change-Id: Idf24bd9797284ce9de382a8e233d56c799a09099
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/Qt6CoreResourceInit.in.cpp')
| -rw-r--r-- | src/corelib/Qt6CoreResourceInit.in.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/corelib/Qt6CoreResourceInit.in.cpp b/src/corelib/Qt6CoreResourceInit.in.cpp deleted file mode 100644 index 0234ec8232d..00000000000 --- a/src/corelib/Qt6CoreResourceInit.in.cpp +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (C) 2023 The Qt Company Ltd. -// SPDX-License-Identifier: BSD-3-Clause - -// This file was generated by the qt_add_resources command. - -#include <QtCore/qtsymbolmacros.h> - -QT_DECLARE_EXTERN_RESOURCE(@RESOURCE_NAME@); - -namespace { - struct resourceReferenceKeeper { - resourceReferenceKeeper() { QT_KEEP_RESOURCE(@RESOURCE_NAME@); } - } resourceReferenceKeeperInstance; -} |
