[qt] Only build core platform as part of main maplibre-native repo (#1740)

This commit is contained in:
Tadej Novak
2023-11-21 17:13:04 +01:00
committed by GitHub
parent 98860f4cd2
commit 3aacc0aae8
59 changed files with 97 additions and 6288 deletions

View File

@@ -78,11 +78,13 @@ TEST(Image, JPEGTile) {
EXPECT_EQ(256u, image.size.height);
}
#if !defined(__QT__) // WebP support is not enabled in Qt by default
TEST(Image, WebPTile) {
PremultipliedImage image = decodeImage(util::read_file("test/fixtures/image/tile.webp"));
EXPECT_EQ(256u, image.size.width);
EXPECT_EQ(256u, image.size.height);
}
#endif // !defined(__QT__)
TEST(Image, Resize) {
AlphaImage image({0, 0});