On 02/03/2019 16:18, Bruce Dubbs via blfs-dev wrote:
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
Ok Qt5Scripts and Qt5ScriptTools, Qt5VirtualKeyboard, Qt5Positioning is
not being created, everything else is in there.
Yes /etc/profile.d/qt.sh is there as per the book, So the Question is
what have I missed that creates the Scripts part?
I have successfully built kde a few times before and all have worked.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page