On 5/30/19 12:53 AM, hykwok1--- via blfs-dev wrote:
When I built poppler (0.76.1), CMake (3.14.4) reported that Qt 5 was not found
(However, in fact Qt 5 was built sucessfully).
So I added the following line to the "/etc/profile.d/qt5.sh" in order to fix
the problem:
pathappend $QT5DIR CMAKE_PREFIX_PATH
I think it will not cause any problem for other packages even CMake is not
available in the system.
Reference:
https://doc.qt.io/qt-5/cmake-manual.html
Hmm. I don't have CMAKE_PREFIX_PATH defined at all and poppler's cmake
found qt for me. Perhaps you need /opt/qt5/lib/pkgconfig in
PKG_CONFIG_PATH?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page