diff options
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/jasper/jasper.cpp | 40 | ||||
-rw-r--r-- | config.tests/jasper/jasper.pro | 6 | ||||
-rw-r--r-- | config.tests/libmng/libmng.cpp | 44 | ||||
-rw-r--r-- | config.tests/libmng/libmng.pro | 6 | ||||
-rw-r--r-- | config.tests/libtiff/libtiff.cpp | 52 | ||||
-rw-r--r-- | config.tests/libtiff/libtiff.pro | 6 | ||||
-rw-r--r-- | config.tests/libwebp/libwebp.cpp | 52 | ||||
-rw-r--r-- | config.tests/libwebp/libwebp.pro | 6 |
8 files changed, 0 insertions, 212 deletions
diff --git a/config.tests/jasper/jasper.cpp b/config.tests/jasper/jasper.cpp deleted file mode 100644 index f038139..0000000 --- a/config.tests/jasper/jasper.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Copyright (C) 2016 Petroules Corporation. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the config.tests in the Qt ImageFormats module. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <string.h> -#include <jasper/jasper.h> - -int main(int, char **) -{ - // This version of Jasper is broken, according to the old Qt Solutions docs - if (strcmp(JAS_VERSION, "1.900.0") == 0) - return 1; - - return 0; -} diff --git a/config.tests/jasper/jasper.pro b/config.tests/jasper/jasper.pro deleted file mode 100644 index 77d3689..0000000 --- a/config.tests/jasper/jasper.pro +++ /dev/null @@ -1,6 +0,0 @@ -SOURCES = jasper.cpp -CONFIG -= qt dylib -mac:CONFIG -= app_bundle -win32:CONFIG += console -msvc: LIBS += libjasper.lib -else: LIBS += -ljasper diff --git a/config.tests/libmng/libmng.cpp b/config.tests/libmng/libmng.cpp deleted file mode 100644 index 65dd7a1..0000000 --- a/config.tests/libmng/libmng.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the config.tests in the Qt ImageFormats module. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <stdio.h> -#include <libmng.h> - -int main(int, char **) -{ - mng_handle hMNG; - mng_cleanup(&hMNG); - -#if defined(MNG_VERSION_MAJOR) -#if MNG_VERSION_MAJOR < 1 || (MNG_VERSION_MAJOR == 1 && MNG_VERSION_MINOR == 0 && MNG_VERSION_RELEASE < 9) -#error System libmng version is less than 1.0.9. -#endif -#endif - - return 0; -} diff --git a/config.tests/libmng/libmng.pro b/config.tests/libmng/libmng.pro deleted file mode 100644 index adc096e..0000000 --- a/config.tests/libmng/libmng.pro +++ /dev/null @@ -1,6 +0,0 @@ -SOURCES = libmng.cpp -CONFIG -= qt dylib -mac:CONFIG -= app_bundle -win32:CONFIG += console -unix|mingw: LIBS += -lmng -else:win32: LIBS += libmng.lib diff --git a/config.tests/libtiff/libtiff.cpp b/config.tests/libtiff/libtiff.cpp deleted file mode 100644 index beace21..0000000 --- a/config.tests/libtiff/libtiff.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the config.tests of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <tiffio.h> - -#if !defined(TIFF_VERSION) && defined(TIFF_VERSION_CLASSIC) -// libtiff 4.0 splits it into TIFF_VERSION_CLASSIC and TIFF_VERSION_BIG -# define TIFF_VERSION TIFF_VERSION_CLASSIC -#endif - -#if !defined(TIFF_VERSION) -# error "Required libtiff not found" -#elif TIFF_VERSION < 42 -# error "unsupported tiff version" -#endif - -int main(int, char **) -{ - tdata_t buffer = _TIFFmalloc(128); - _TIFFfree(buffer); - - // some libtiff implementations where TIFF_VERSION >= 42 do not - // have TIFFReadRGBAImageOriented(), so let's check for it - TIFFReadRGBAImageOriented(0, 0, 0, 0, 0, 0); - - return 0; -} diff --git a/config.tests/libtiff/libtiff.pro b/config.tests/libtiff/libtiff.pro deleted file mode 100644 index f7ac4c1..0000000 --- a/config.tests/libtiff/libtiff.pro +++ /dev/null @@ -1,6 +0,0 @@ -SOURCES = libtiff.cpp -CONFIG -= qt dylib -mac:CONFIG -= app_bundle -win32:CONFIG += console -unix|mingw: LIBS += -ltiff -else:win32: LIBS += libtiff.lib diff --git a/config.tests/libwebp/libwebp.cpp b/config.tests/libwebp/libwebp.cpp deleted file mode 100644 index 720b72b..0000000 --- a/config.tests/libwebp/libwebp.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the config.tests in the Qt ImageFormats module. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <webp/decode.h> -#include <webp/encode.h> -#include <webp/demux.h> - -#if WEBP_ABI_IS_INCOMPATIBLE(WEBP_DECODER_ABI_VERSION, 0x0203) || WEBP_ABI_IS_INCOMPATIBLE(WEBP_ENCODER_ABI_VERSION, 0x0202) -#error "Incompatible libwebp version" -#endif - -int main(int, char **) -{ - WebPDecoderConfig config; - WebPDecBuffer *output_buffer = &config.output; - WebPBitstreamFeatures *bitstream = &config.input; - WebPPicture picture; - picture.use_argb = 0; - WebPConfig config2; - config2.lossless = 0; - WebPData data = {}; - WebPDemuxer *demuxer = WebPDemux(&data); - WebPIterator iter; - iter.frame_num = 0; - - return 0; -} diff --git a/config.tests/libwebp/libwebp.pro b/config.tests/libwebp/libwebp.pro deleted file mode 100644 index bcbedf8..0000000 --- a/config.tests/libwebp/libwebp.pro +++ /dev/null @@ -1,6 +0,0 @@ -SOURCES = libwebp.cpp -CONFIG -= qt dylib -mac:CONFIG -= app_bundle -win32:CONFIG += console -unix|mingw: LIBS += -lwebp -lwebpdemux -else:win32: LIBS += libwebp.lib libwebpdemux.lib |