Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Dependency (Qt{4|5}) not found, can not build (OSGWindowQT4
/ OSGContribCSMQt)
But there's no FindQt5 in cmake/modules nor any references to 5 in
FindQt.cmake?
CMake these days is trying to move away from the use of Find*.cmake
modules (for software built with cmake anyway) and instead prefers that
during the build/install step a package writes a file <foo>-config.cmake
that contains the necessary info to locate headers and libs [1].
I'm using cmake version 2.8.12.2, by the way. (I just noticed 3.0.0 came
out, but that's probably too bleeding an edge to tamper with, or is it
required for Qt5 support?)
CMake 2.8.12 should be fine, the support for Qt5 in the OpenSG build has
been there before the cmake 3 release.

Cheers,
Carsten

[1] These files also use import targets for the libs making it easier to
describe library dependencies and build configurations (debug/release) -
in particular for platforms where CMAKE_BUILD_TYPE is _not_ used at
cmake time to select the build type (i.e. Visual Studio and IIRC XCode
projects).

Loading...