diff options
author | Kai Köhne <[email protected]> | 2023-05-22 14:19:39 +0200 |
---|---|---|
committer | Kai Köhne <[email protected]> | 2023-06-08 16:15:02 +0000 |
commit | eed17b3634a99b6f6f751830c6443094dd6b600b (patch) | |
tree | 138356d409d211733899296e81c3b4b2fe044320 /tests/manual/examples/opengl/qopenglwidget/main.cpp | |
parent | 7626736a5f068ba7bf835266d6b4c48299def97f (diff) |
Examples: Remove unnecessary Q_INIT_RESOURCE calls
Explicit calls to Q_INIT_RESOURCE are only needed for
resources embedded in static libraries. See also
https://doc.qt.io/qt-6/resources.html#explicit-loading-and-unloading-of-embedded-resources
Pick-to: 6.5 6.6
Change-Id: I06a24d1c04369eedc78ca60a6ca02ce33907d9e7
Reviewed-by: Joerg Bornemann <[email protected]>
Diffstat (limited to 'tests/manual/examples/opengl/qopenglwidget/main.cpp')
-rw-r--r-- | tests/manual/examples/opengl/qopenglwidget/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/manual/examples/opengl/qopenglwidget/main.cpp b/tests/manual/examples/opengl/qopenglwidget/main.cpp index 04f1c57f087..1614649a5a1 100644 --- a/tests/manual/examples/opengl/qopenglwidget/main.cpp +++ b/tests/manual/examples/opengl/qopenglwidget/main.cpp @@ -11,7 +11,6 @@ int main( int argc, char ** argv ) { - Q_INIT_RESOURCE(texture); QApplication a( argc, argv ); QCoreApplication::setApplicationName("Qt QOpenGLWidget Example"); |