I already compiled Open Scene Graph 3.2 against Qt4. I managed it through an initial cache setting the following variables:
set(ENV{QTDIR} "path/to/qt4" CACHE PATH "") set(Qt_FIND_VERSION "4.8.5" CACHE PATH "")
But when I try to change this to qt5 it doesn't work. Qt5 is not found. Any hints what settings should be used when copiling Open Scene Graph 3.2 with Qt5 and Qt5 should be found (most parts) automatically with the find script of CMake?
Just set these variables to feed the cache:
set(DESIRED_QT_VERSION "5" CACHE STRING "")
set(CMAKE_PREFIX_PATH "C:/Qt/5.1.1/msvc2012_64_opengl" CACHE PATH "")