summaryrefslogtreecommitdiffstats
path: root/src/corelib/Qt6CoreResourceInit.in.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/Qt6CoreResourceInit.in.cpp')
-rw-r--r--src/corelib/Qt6CoreResourceInit.in.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/corelib/Qt6CoreResourceInit.in.cpp b/src/corelib/Qt6CoreResourceInit.in.cpp
new file mode 100644
index 0000000000..3f1757362d
--- /dev/null
+++ b/src/corelib/Qt6CoreResourceInit.in.cpp
@@ -0,0 +1,14 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR 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;
+}