Hi Rex
Quick question for you on a problem with FindQt5PlatformSupport, which you recently helped to fix in upstream KDE:
http://pkgs.fedoraproject.org/cgit/rpms/kwin.git/commit/?h=master&id=3c10211439baf6e967ce73ed01d4055c99371735
Upstream fix:
https://git.reviewboard.kde.org/r/126234/
Summary:Fix build with Qt 5.6
I made some progress building Plasma from KDE sources (74 of 81 modules build ok), but kwin is failing --
here's the relevant portion of kwin's cmake.log:
...
// All needed KF5... packages were found
// Next comes the output of find_package(Threads)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
// Next some stuff is NOT found, but it's unclear which packages kwin is looking for
// and whether any of this is mandatory
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found EGL: /usr/lib64/libEGL.so (found version "1.5")
-- Found epoxy: /usr/lib64/libepoxy.so
-- Wayland: Egl requires Client
-- Found Wayland_Client: /usr/lib64/libwayland-client.so (found version "1.10.0")
-- Found Wayland_Cursor: /usr/lib64/libwayland-cursor.so (found version "1.10.0")
-- Found Wayland_Egl: /usr/lib64/libwayland-egl.so (found version "12.0.3")
-- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-cursor.so;/usr/lib64/libwayland-egl.so (found suitable version "1.10.0", minimum required is "1.2") found components: Cursor Egl
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "0.6.1", minimum required is "0.5.0")
-- Could NOT find Libinput (missing: Libinput_LIBRARY Libinput_INCLUDE_DIR) (Required is at least version "1.2")
-- Found UDev: /usr/include
-- Found Libdrm: /usr/lib64/libdrm.so (found suitable version "2.4.71", minimum required is "2.4.62")
-- Could NOT find gbm (missing: gbm_LIBRARY gbm_INCLUDE_DIR)
-- Could NOT find libhardware (missing: libhardware_LIBRARY libhardware_INCLUDE_DIR)
-- Could NOT find libhwcomposer (missing: libhwcomposer_LIBRARY libhwcomposer_INCLUDE_DIR)
-- Could NOT find hybriseglplatform (missing: hybriseglplatform_LIBRARY hybriseglplatform_INCLUDE_DIR)
// Next is an error "Could NOT find Qt5PlatformSupport (missing: Qt5PlatformSupport_LIBRARY"
// triggered by cmake/modules/FindQt5PlatformSupport.cmake
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Qt5PlatformSupport (missing: Qt5PlatformSupport_LIBRARY
Qt5PlatformSupport_INCLUDE_DIR) (found version "5.6.1")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindQt5PlatformSupport.cmake:89 (find_package_handle_standard_args)
CMakeLists.txt:244 (find_package)
// end of cmake.log
My kde/src/kwin/cmake/modules/FindQt5PlatformSupport definitely has the upstream fix:
# Use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PKG_Qt5PlatformSupport QUIET Qt5Gui)
Any idea what FindQt5PlatformSupport may be missing?
What is meant by Qt5PlatformSupport_LIBRARY?
Also, please let me know if you see something under "Could NOT find ..." which you think is mandatory.
Thank you!
- Fredy
Fredy Neeser
IBM Zurich Research Laboratory
_______________________________________________ kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx