On 3/2/19 7:45 AM, spiky0011 via blfs-dev wrote:
I,m trying to install kde (/opt/kf5) and QT is in /opt
kf5 builds up as far as kross "3 from end" and fails. I have rebuilt QT
and tried kf5 again, also if I skip kross the others build. But Plasma
kwin fails the same error?
cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
> -DCMAKE_PREFIX_PATH=$QT5DIR \
> -DCMAKE_BUILD_TYPE=Release \
> -DBUILD_TESTING=OFF \
> -Wno-dev ..
> CMake Error at /opt/qt5/lib/cmake/Qt5/Qt5Config.cmake:28 >
(find_package):
> Could not find a package configuration file provided by "Qt5Script"
> with any of the following names:
>
> Qt5ScriptConfig.cmake
> qt5script-config.cmake
You should have
/opt/qt-5.12.1/lib/cmake/Qt5Script/Qt5ScriptConfig.cmake
You should also have
$ cat /etc/profile.d/qt5.sh
# Begin /etc/profile.d/qt.sh
export QT5DIR=/opt/qt5
export QT5BINDIR=/opt/qt5/bin
pathappend $QT5DIR/bin PATH
pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH
pathappend $QT5DIR/plugins QT_PLUGIN_PATH
pathappend $QT5DIR/qml QML2_IMPORT_PATH
# End /etc/profile.d/qt.sh
Note the PKG_CONFIG_PATH entry.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page