diff --git a/src/imageformats/configure.json b/src/imageformats/configure.json index 7c60f8684c872a481e83369132a0a219f1da9f00..2e3b10130e049b167238c0a9bb26656ca2515b78 100644 --- a/src/imageformats/configure.json +++ b/src/imageformats/configure.json @@ -169,8 +169,7 @@ "disable": "input.tiff == 'no'", "condition": "features.imageformatplugin", "output": [ - "privateFeature", - { "type": "define", "negative": true, "name": "QT_NO_IMAGEFORMAT_TIFF" } + "privateFeature" ] }, "system-tiff": { @@ -185,8 +184,7 @@ "disable": "input.webp == 'no'", "condition": "features.imageformatplugin", "output": [ - "privateFeature", - { "type": "define", "negative": true, "name": "QT_NO_IMAGEFORMAT_WEBP" } + "privateFeature" ] }, "system-webp": { diff --git a/src/plugins/imageformats/tiff/main.cpp b/src/plugins/imageformats/tiff/main.cpp index 915f47e872982ba6b0c12046e482b50828c804d8..2c34097e2c35c7ff13976eaea4e069a7b2597cc2 100644 --- a/src/plugins/imageformats/tiff/main.cpp +++ b/src/plugins/imageformats/tiff/main.cpp @@ -42,9 +42,6 @@ #ifndef QT_NO_IMAGEFORMATPLUGIN -#ifdef QT_NO_IMAGEFORMAT_TIFF -#undef QT_NO_IMAGEFORMAT_TIFF -#endif #include "qtiffhandler_p.h" QT_BEGIN_NAMESPACE diff --git a/src/plugins/imageformats/webp/main.cpp b/src/plugins/imageformats/webp/main.cpp index 064f3abf875bb6c2fffcbf9e732ec14f8dd92245..7e9405b0dc95acf092a2f98cd39621acfee40d8d 100644 --- a/src/plugins/imageformats/webp/main.cpp +++ b/src/plugins/imageformats/webp/main.cpp @@ -42,9 +42,6 @@ #ifndef QT_NO_IMAGEFORMATPLUGIN -#ifdef QT_NO_IMAGEFORMAT_WEBP -#undef QT_NO_IMAGEFORMAT_WEBP -#endif #include "qwebphandler_p.h" #include <qiodevice.h>