From 2ea724c24128046693693f8943add041ab2e45f8 Mon Sep 17 00:00:00 2001 From: Mirco Miranda Date: Tue, 5 Nov 2024 12:17:52 +0000 Subject: [PATCH] Rename SCT plugin for OSS-FUZZ To make OSS fuzz build script happy, the test folder and the cpp file must have the same name. --- src/imageformats/CMakeLists.txt | 2 +- src/imageformats/{scitex.cpp => sct.cpp} | 2 +- src/imageformats/{scitex.json => sct.json} | 0 src/imageformats/{scitex_p.h => sct_p.h} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/imageformats/{scitex.cpp => sct.cpp} (99%) rename src/imageformats/{scitex.json => sct.json} (100%) rename src/imageformats/{scitex_p.h => sct_p.h} (96%) diff --git a/src/imageformats/CMakeLists.txt b/src/imageformats/CMakeLists.txt index 9f8bc1c..34389d1 100644 --- a/src/imageformats/CMakeLists.txt +++ b/src/imageformats/CMakeLists.txt @@ -107,7 +107,7 @@ kimageformats_add_plugin(kimg_rgb SOURCES rgb.cpp) ################################## -kimageformats_add_plugin(kimg_sct SOURCES scitex.cpp) +kimageformats_add_plugin(kimg_sct SOURCES sct.cpp) ################################## diff --git a/src/imageformats/scitex.cpp b/src/imageformats/sct.cpp similarity index 99% rename from src/imageformats/scitex.cpp rename to src/imageformats/sct.cpp index 18e87ad..3b2a19a 100644 --- a/src/imageformats/scitex.cpp +++ b/src/imageformats/sct.cpp @@ -5,7 +5,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later */ -#include "scitex_p.h" +#include "sct_p.h" #include "scanlineconverter_p.h" #include "util_p.h" diff --git a/src/imageformats/scitex.json b/src/imageformats/sct.json similarity index 100% rename from src/imageformats/scitex.json rename to src/imageformats/sct.json diff --git a/src/imageformats/scitex_p.h b/src/imageformats/sct_p.h similarity index 96% rename from src/imageformats/scitex_p.h rename to src/imageformats/sct_p.h index 04daaa3..b5e9b81 100644 --- a/src/imageformats/scitex_p.h +++ b/src/imageformats/sct_p.h @@ -32,7 +32,7 @@ private: class ScitexPlugin : public QImageIOPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QImageIOHandlerFactoryInterface" FILE "scitex.json") + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QImageIOHandlerFactoryInterface" FILE "sct.json") public: Capabilities capabilities(QIODevice *device, const QByteArray &format) const override;