Opened 3 years ago
Last modified 3 years ago
#20498 new defect
PATH_SDK_QT5_INC auto-detects to .../QtGui
| Reported by: | guanx | Owned by: | |
|---|---|---|---|
| Component: | other | Version: | VirtualBox 6.1.26 |
| Keywords: | Cc: | ||
| Guest type: | other | Host type: | Linux |
Description
When building VirtualBox from source, ./configure sets PATH_SDK_QT5_INC to "/usr/include/qt5/QtGui" in "AutoConfig.kmk", which causes numerous compile errors. The correct path should be "/usr/include/qt5".
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
This smells like a temporary regression in the "detect system Qt" logic which should be fixed with 6.1.28 again. Purely in the configure script. https://www.virtualbox.org/changeset/90377/vbox/trunk/configure is the change which should fix this if applied to 6.1.26.
Note:
See TracTickets
for help on using tickets.


Hi guanx,
./configure uses pkg-config QtCore --cflags in order to detect Qt header files location. Are you sure everything is properly installed in your build environment? Which distribution are you using as a build host?