OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

openroad build can't find_package(Qt5)

Open WS-Snyder opened this issue 3 years ago • 1 comments

cmake .. indicates that Qt5 can't be found; tho Qt5 and qtcreator are working fine. There is no findqt5.cmake but there is a findqt4.cmake from a previous install. research indicates that qt5 no longer uses findxxx.cmake. Is there a way to force the build to create a gui version, maybe using the qtpaths shell command?

WS-Snyder avatar Apr 05 '22 04:04 WS-Snyder

What version of cmake do you have? Is your qt 5in the default location?

maliberty avatar Apr 05 '22 05:04 maliberty

The failure of cmake to build a GUI version is 100 % caused by find_packages(Qt5) is return the paths(s).

I used cmake version 3.18.4 on Debian 11 (bullseye).

I will rebuild the entire tree on an Ubuntu 20.04.4 version and see if the problem is resolved.

Thanks Warren

WS-Snyder avatar Oct 11 '22 07:10 WS-Snyder

Where is your QT installed? If it is in a non-default location it may be that find_packages can't find it.

maliberty avatar Oct 11 '22 15:10 maliberty

@WS-Snyder There are updates in package installer. Please try with latest commit and re-open an issue, if problem repeats.

vijayank88 avatar Jun 19 '23 10:06 vijayank88