Luigi Toscano <luigi.toscano(a)tiscali.it> wrote on 21.10.2016 15:37:42:
> // 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)
>
My bet: install qt5-qtbase-static.
Luigi,
Thanks a lot! After installing qt5-qtbase-static, kwin builds fine!
I guess one just has to know that Qt5PlatformSupport must include
qt5-qtbase-static -- the error message generated by
FindQt5PlatformSupport.cmake was pretty useless ...
> -- 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)
You have few other errors here, but anyway:
None of these caused any problems. cmake.log now has:
-- The following REQUIRED packages have been found:
(Long list, now including: )
* Qt5PlatformSupport , Qt PlatformSupport module. , <
http://www.qt.io>
-- The following RUNTIME packages have not been found:
* Qt5Multimedia
Runtime-only dependency for effect video playback
and Qt5Multimedia does not seem to be a must.
Thanks again!
- Fredy