Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.2
-
None
-
Building for: linux-g++-64
Compiler: gcc 11.3.1
-
-
7544d91ae (dev), 7265ab189 (6.6), 55f6a0e0b (6.5)
Description
Hey QtBase Maintainer,
I'm trying to compile and install Qt Base 6.5.2 from Source, all fine no issue with that. Also the installation succeeded but it misses all include files in target folder.
What I did:
1. Downloading the QtBase package
$ wget http://download.qt.io/archive/qt/6.5/6.5.2/submodules/qtbase-everywhere-src-6.5.2.tar.xz
2. Call configure after extracting the tarball as followed
$ mkdir build-qtbase && cd build-qtbase $ ./../qtbase-everywhere-src-6.5.2/configure -platform linux-g++-64 -prefix /services/lib/qt_6.5.2-0/ -release -no-opengl -nomake tests -nomake examples
3. Compile the QtBase Sources
$ cmake --build . --parallel
4. And finally install it in my defined target folder /services/lib/qt_6.5.2-0
cmake --install .
If I now check the installed data nearly all include files are missing.
As an example: Take the QString class which requires the qstring.h. In the -prefix path, you do not find it:
$ ls qt_6.5.2-0/include/QtCore/QString qt_6.5.2-0/include/QtCore/QString
$ cat qt_6.5.2-0/include/QtCore/QString
#include "qstring.h"
$ ls qt_6.5.2-0/include/QtCore/*.h qt_6.5.2-0/include/QtCore/qtcoreversion.h
The include file exists on source folder but was not installed on -prefix.
find qtbase-everywhere-src-6.5.2/ -name qstring.h qtbase-everywhere-src-6.5.2/src/corelib/text/qstring.h qtbase-everywhere-src-6.5.2/include/QtCore/qstring.h
This issue exists for all other classes as well.
I repeated the same steps with QtBase LTS 6.2.4, did not observed any problem. All as expected and complete. The include files are all present in target folder:
$ find /services/lib/qt_6.2.4-0/ -name qstring.h /services/lib/qt_6.2.4/include/QtCore/qstring.h
The difference is clearly visible with simple counting
QT 6.5
$ find /services/lib/qt_6.5.2-0/ -name *.h | wc -l 901
vs. QT 6.2
$ find /services/lib/qt_6.2.4-0/ -name *.h | wc -l 2006
I'm thankful for any help
Br Sven