Simplify bundled libjpeg build

Move the config headers of the bundled libjpeg back into its source
directory, where they originally live, to avoid having to trick with
the include path to find them.
The goal is unification across maintained Qt branches, making version
updates simpler.

Pick-to: 6.1 6.0 5.15 5.12
Change-Id: I5b574446bbd264b0a1cb3efceb4c1cb7203cac7d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
bb10
Eirik Aavitsland 2021-04-30 10:39:12 +02:00
parent e2bdff3555
commit 5df88b85c6
4 changed files with 1 additions and 2 deletions

View File

@ -165,4 +165,4 @@ for i in $FILES; do
copy_file "$i" "src/$i"
done
echo Done. $TARGET_DIR/jconfig.h and jconfigint.h may need manual updating.
echo Done. $TARGET_DIR/src/jconfig.h and jconfigint.h may need manual updating.

View File

@ -90,7 +90,6 @@ qt_internal_extend_target(QJpegPlugin CONDITION NOT QT_FEATURE_system_jpeg
../../../3rdparty/libjpeg/src/jsimd_none.c
../../../3rdparty/libjpeg/src/jutils.c
INCLUDE_DIRECTORIES
../../../3rdparty/libjpeg
../../../3rdparty/libjpeg/src
)