Get rid of QT_USE_BUNDLED_LIBPNG
In fact, this is an extra info no one ever cares about. We already have properly configured INCLUDEPATH to look for png.h. Change-Id: I27fec4d474570683c6c371dff34472a7c650fe65 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
This commit is contained in:
parent
7c22e14300
commit
1ab7880d73
1
src/3rdparty/libpng.pri
vendored
1
src/3rdparty/libpng.pri
vendored
@ -1,4 +1,3 @@
|
||||
DEFINES *= QT_USE_BUNDLED_LIBPNG
|
||||
DEFINES += PNG_ARM_NEON_OPT=0
|
||||
INCLUDEPATH += $$PWD/libpng
|
||||
SOURCES += $$PWD/libpng/png.c \
|
||||
|
@ -43,13 +43,8 @@
|
||||
#include <qvariant.h>
|
||||
#include <qvector.h>
|
||||
|
||||
#ifdef QT_USE_BUNDLED_LIBPNG
|
||||
#include <../../3rdparty/libpng/png.h>
|
||||
#include <../../3rdparty/libpng/pngconf.h>
|
||||
#else
|
||||
#include <png.h>
|
||||
#include <pngconf.h>
|
||||
#endif
|
||||
|
||||
#if PNG_LIBPNG_VER >= 10400 && PNG_LIBPNG_VER <= 10502 \
|
||||
&& defined(PNG_PEDANTIC_WARNINGS_SUPPORTED)
|
||||
|
Loading…
Reference in New Issue
Block a user