mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Disable libheif on windows xp
This commit is contained in:
@ -46,7 +46,11 @@
|
|||||||
#define CXIMAGE_SUPPORT_PSD 1
|
#define CXIMAGE_SUPPORT_PSD 1
|
||||||
|
|
||||||
#ifndef BUILDING_WASM_MODULE
|
#ifndef BUILDING_WASM_MODULE
|
||||||
|
#ifdef SUPPORT_LIB_HEIF_SOURCES
|
||||||
#define CXIMAGE_SUPPORT_HEIF 1
|
#define CXIMAGE_SUPPORT_HEIF 1
|
||||||
|
#else
|
||||||
|
#define CXIMAGE_SUPPORT_HEIF 0
|
||||||
|
#endif
|
||||||
#define CXIMAGE_SUPPORT_RAW 1
|
#define CXIMAGE_SUPPORT_RAW 1
|
||||||
#else
|
#else
|
||||||
#define CXIMAGE_SUPPORT_HEIF 0
|
#define CXIMAGE_SUPPORT_HEIF 0
|
||||||
|
|||||||
@ -14,8 +14,6 @@ DEFINES += \
|
|||||||
MNG_STORE_CHUNKS\
|
MNG_STORE_CHUNKS\
|
||||||
MNG_ERROR_TELLTALE
|
MNG_ERROR_TELLTALE
|
||||||
|
|
||||||
include($$CORE_ROOT_DIR/Common/3dParty/heif/heif.pri)
|
|
||||||
|
|
||||||
core_linux {
|
core_linux {
|
||||||
DEFINES += HAVE_UNISTD_H HAVE_FCNTL_H
|
DEFINES += HAVE_UNISTD_H HAVE_FCNTL_H
|
||||||
QMAKE_CXXFLAGS += -Wno-narrowing
|
QMAKE_CXXFLAGS += -Wno-narrowing
|
||||||
@ -287,8 +285,15 @@ SOURCES += \
|
|||||||
$$LIB_GRAPHICS_PRI_PATH/raster/PICT/PICFile.cpp \
|
$$LIB_GRAPHICS_PRI_PATH/raster/PICT/PICFile.cpp \
|
||||||
$$LIB_GRAPHICS_PRI_PATH/raster/PICT/pic.cpp
|
$$LIB_GRAPHICS_PRI_PATH/raster/PICT/pic.cpp
|
||||||
|
|
||||||
SOURCES += \
|
!build_xp {
|
||||||
$$LIB_GRAPHICS_PRI_PATH/raster/heif/heif.cpp
|
CONFIG += support_heif
|
||||||
|
}
|
||||||
|
|
||||||
|
support_heif {
|
||||||
|
DEFINES += SUPPORT_LIB_HEIF_SOURCES
|
||||||
|
include($$CORE_ROOT_DIR/Common/3dParty/heif/heif.pri)
|
||||||
|
SOURCES += $$LIB_GRAPHICS_PRI_PATH/raster/heif/heif.cpp
|
||||||
|
}
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
$$LIB_GRAPHICS_PRI_PATH/cximage/jasper/base/jas_cm.c \
|
$$LIB_GRAPHICS_PRI_PATH/cximage/jasper/base/jas_cm.c \
|
||||||
|
|||||||
Reference in New Issue
Block a user