>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
I added the setting to the qt5.sh but I am not sure the setting was activated or not because I built the package in chroot environment. I will check it later when I rebuild the system again. On the other hand, I know "breeze-grub" is an optional package for KDE Plasma but I find that: 1. It is a "grub" resource file and does not contain any "cmake" file. That means we cannot use "cmake" command for it. 2. This file contains a shell script file "mkfont.sh" that calls "grub-mkfont" command. "grub-mkfont" is available if you rebuild "grub" after "X Windows". 3. The installation example of it can be found from here: https://github.com/gustawho/grub2-theme-breeze/blob/master/install.sh Just for your information. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
