VirtualBox

Opened 6 years ago

Last modified 4 years ago

#17420 new defect

Regression: Cannot compile VirtualBox 5.2.4 on Ubuntu 16.04, Qt5 not found

Reported by: core-it-admin Owned by:
Component: other Version: VirtualBox 5.2.4
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

Even with the qt5 package installed on Ubuntu 16.04, the VirtualBox 5.2.4 configure script does not find Qt5. This is a regression since VirtualBox 5.1.

Change History (5)

comment:1 by Socratis, 6 years ago

Logs? Messages? Errors? Installed packages? Anything? Something...

comment:2 by core-it-admin, 6 years ago

Will report this issue on the mailing list (with more details)

comment:3 by Wayne Sallee, 5 years ago

I ran into the same problem.

I found the answer at http://matshao.com/2019/04/11/VirtualBox-Exploitation-1

The problem is that the config file has the following lines:

QT5DIR_PKGCONFIG=1
QT5MAJ=5
QT5MIN=6

This states that the minimum qt version that config will allow is 5.6, but the error does not tell you that, and the virtualbox web site does not tell you that.

If you change "QT5MIN=6" in the config file to "QT5MIN=4" or what ever qt5.<version> you have, the config will work. But You could have other problems, as it would be better to upgrade qt5 to 5.6 or above.

It's too bad that virtualbox does not tell us that the minimum qt version is 5.6

Wayne Sallee
Wayne@ WayneSallee.com

Last edited 5 years ago by Wayne Sallee (previous) (diff)

comment:4 by Wayne Sallee, 5 years ago

Furthermore

https://www.virtualbox.org/wiki/Linux%20build%20instructions
states
"Prerequisites
You need: "
"Qt 4.x.y (with x >= 4, including the OpenGL part, required for VBox version > 3.0)"

But I see nowhere in the code where Virtualbox will build with qt4. What I see is that "--build-headless" and "WITH_QT5=0" is one in the same.

Wayne Sallee
Wayne@ WayneSallee.com

Last edited 5 years ago by Wayne Sallee (previous) (diff)

comment:5 by Wayne Sallee, 4 years ago

It's too bad that this has still not been fixed.

Wayne Sallee
Wayne@ WayneSallee.com

Last edited 4 years ago by Wayne Sallee (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use