Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.0 Beta4
-
None
Description
When building a qt for android with CMAKE_INSTALL_PREFIX=/usr & INSTALL_INCLUDEDIR=include/x86_64-linux-gnu/qt-android-6.4-arm64-v8a, some headers are still installed directly at the root of usr/include.
Not sure if this is intended, but it seems weird because it may override existing header files in /usr/include. Also, it doesn't honor INSTALL_INCLUDEDIR=include/x86_64-linux-gnu/qt-android-6.4-arm64-v8a
To reproduce, configure QT this way:
-DCMAKE_INSTALL_PREFIX=/usr \ -DINSTALL_BINDIR=lib/qt-android-6.4-arm64-v8a/bin \ -DINSTALL_LIBDIR=lib/x86_64-linux-gnu/qt-android-6.4-arm64-v8a \ -DINSTALL_LIBEXECDIR=lib/x86_64-linux-gnu/qt-android-6.4-arm64-v8a/libexec \ -DINSTALL_ARCHDATADIR=lib/x86_64-linux-gnu/qt-android-6.4-arm64-v8a \ -DINSTALL_EXAMPLESDIR=lib/x86_64-linux-gnu/qt-android-6.4-arm64-v8a/examples \ -DINSTALL_DATADIR=share/qt-android-6.4-arm64-v8a \ -DINSTALL_DESCRIPTIONSDIR=share/qt-android-6.4-arm64-v8a/modules \ -DINSTALL_DOCDIR=share/qt-android-6.4-arm64-v8a/doc \ -DINSTALL_SYSCONFDIR=lib/qt-android-6.4-arm64-v8a/etc/xdg \ -DINSTALL_INCLUDEDIR=include/x86_64-linux-gnu/qt-android-6.4-arm64-v8a \ -DINSTALL_PLUGINSDIR=lib/x86_64-linux-gnu/qt-android-6.4-arm64-v8a/plugins \ -DINSTALL_TESTSDIR=lib/x86_64-linux-gnu/qt-android-6.4-arm64-v8a/tests \ -DINSTALL_TRANSLATIONSDIR=share/qt-android-6.4-arm64-v8a/translations \ -DINSTALL_MKSPECSDIR=lib/x86_64-linux-gnu/qt-android-6.4-arm64-v8a/mkspecs \ -DINSTALL_PUBLICBINDIR=lib/qt-android-6.4-arm64-v8a/bin \ -DBUILD_WITH_PCH=OFF \ -DQT_QMAKE_TARGET_MKSPEC=android-clang \ -DANDROID_SDK_ROOT=/builds/bastif/qt-android/android-sdk \ -DCMAKE_TOOLCHAIN_FILE=/builds/bastif/qt-android/r23c/android-ndk-r23c/build/cmake/android.toolchain.cmake \ -DANDROID_ABI=arm64-v8a \ -DQT_USE_CCACHE=ON -DQT_HOST_PATH=/usr -DQT_HOST_PATH_CMAKE_DIR=/usr/lib/x86_64-linux-gnu/qt-android-6.4-host/cmake -DCMAKE_BUILD_TYPE=Release \ -DWARNINGS_ARE_ERRORS=OFF \ -DBUILD_qtwayland=OFF \ -DBUILD_qtwebengine=OFF \ -DFEATURE_clang=ON \ -DFEATURE_clangcpp=ON \ -DTEST_libclang=ON \ -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
Files installed into /usr/headers are:
/usr/include/QtFreetypeDepends /usr/include/QtHarfbuzzDepends /usr/include/autohint.h /usr/include/cffotypes.h /usr/include/cfftypes.h /usr/include/compiler-macros.h /usr/include/freetype.h /usr/include/ft2build.h /usr/include/ftadvanc.h /usr/include/ftbbox.h /usr/include/ftbdf.h /usr/include/ftbitmap.h /usr/include/ftbzip2.h /usr/include/ftcache.h /usr/include/ftcalc.h /usr/include/ftchapters.h /usr/include/ftcid.h /usr/include/ftcolor.h /usr/include/ftconfig.h /usr/include/ftdebug.h /usr/include/ftdriver.h /usr/include/ftdrv.h /usr/include/fterrdef.h /usr/include/fterrors.h /usr/include/ftfntfmt.h /usr/include/ftgasp.h /usr/include/ftgloadr.h /usr/include/ftglyph.h /usr/include/ftgxval.h /usr/include/ftgzip.h /usr/include/fthash.h /usr/include/ftheader.h /usr/include/ftimage.h /usr/include/ftincrem.h /usr/include/ftlcdfil.h /usr/include/ftlist.h /usr/include/ftlogging.h /usr/include/ftlzw.h /usr/include/ftmac.h /usr/include/ftmemory.h /usr/include/ftmm.h /usr/include/ftmodapi.h /usr/include/ftmoderr.h /usr/include/ftmodule.h /usr/include/ftobjs.h /usr/include/ftoption.h /usr/include/ftotval.h /usr/include/ftoutln.h /usr/include/ftparams.h /usr/include/ftpfr.h /usr/include/ftpsprop.h /usr/include/ftrender.h /usr/include/ftrfork.h /usr/include/ftserv.h /usr/include/ftsizes.h /usr/include/ftsnames.h /usr/include/ftstdlib.h /usr/include/ftstream.h /usr/include/ftstroke.h /usr/include/ftsynth.h /usr/include/ftsystem.h /usr/include/fttrace.h /usr/include/fttrigon.h /usr/include/fttypes.h /usr/include/ftvalid.h /usr/include/ftwinfnt.h /usr/include/hb-blob.h /usr/include/hb-buffer.h /usr/include/hb-common.h /usr/include/hb-deprecated.h /usr/include/hb-face.h /usr/include/hb-font.h /usr/include/hb-ot-font.h /usr/include/hb-ot-layout.h /usr/include/hb-ot-math.h /usr/include/hb-ot-shape.h /usr/include/hb-ot-tag.h /usr/include/hb-ot-var.h /usr/include/hb-ot.h /usr/include/hb-set.h /usr/include/hb-shape-plan.h /usr/include/hb-shape.h /usr/include/hb-unicode.h /usr/include/hb-version.h /usr/include/hb.h /usr/include/integer-types.h /usr/include/mac-support.h /usr/include/otsvg.h /usr/include/psaux.h /usr/include/pshints.h /usr/include/public-macros.h /usr/include/sfnt.h /usr/include/svbdf.h /usr/include/svcfftl.h /usr/include/svcid.h /usr/include/svfntfmt.h /usr/include/svginterface.h /usr/include/svgldict.h /usr/include/svgxval.h /usr/include/svkern.h /usr/include/svmetric.h /usr/include/svmm.h /usr/include/svotval.h /usr/include/svpfr.h /usr/include/svpostnm.h /usr/include/svprop.h /usr/include/svpscmap.h /usr/include/svpsinfo.h /usr/include/svsfnt.h /usr/include/svttcmap.h /usr/include/svtteng.h /usr/include/svttglyf.h /usr/include/svwinfnt.h /usr/include/t1tables.h /usr/include/t1types.h /usr/include/ttnameid.h /usr/include/tttables.h /usr/include/tttags.h /usr/include/tttypes.h /usr/include/wofftypes.h
Attachments
Issue Links
- relates to
-
QTBUG-104856 Non-Qt headers in 6.3.1\msvc2019_64\include
-
- Closed
-