summaryrefslogtreecommitdiffstats
path: root/src/corelib/Qt6CoreResourceInit.in.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2023-08-08 18:30:57 +0000
committerAlexandru Croitor <alexandru.croitor@qt.io>2023-08-09 00:34:15 +0000
commitbc88bb34caf1185a25eda77ee022843c0ca988b0 (patch)
tree36530ad5ab2f93f49f792a715cc307f96b8a4d9a /src/corelib/Qt6CoreResourceInit.in.cpp
parentbb11f7a9fa576b679fc64b09abadebf90dfbe9a1 (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.cpp14
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;
-}