[Qt] Make it possible to disable libwebp and libjpeg-turbo at build time
Pull less dependencies.
This commit is contained in:
@@ -78,13 +78,13 @@ TEST(Image, JPEGTile) {
|
||||
EXPECT_EQ(256, image.height);
|
||||
}
|
||||
|
||||
#if !defined(__ANDROID__) && !defined(__APPLE__)
|
||||
#if !defined(__ANDROID__) && !defined(__APPLE__) && !defined(QT_IMAGE_DECODERS)
|
||||
TEST(Image, WebPTile) {
|
||||
PremultipliedImage image = decodeImage(util::read_file("test/fixtures/image/tile.webp"));
|
||||
EXPECT_EQ(256, image.width);
|
||||
EXPECT_EQ(256, image.height);
|
||||
}
|
||||
#endif // !defined(__ANDROID__) && !defined(__APPLE__)
|
||||
#endif // !defined(__ANDROID__) && !defined(__APPLE__) && !defined(QT_IMAGE_DECODERS)
|
||||
|
||||
TEST(Image, Premultiply) {
|
||||
UnassociatedImage rgba { 1, 1 };
|
||||
|
||||
Reference in New Issue
Block a user