Hi Jan,
Thanks for your reply. I tried several paths for QT5_INSTALL_PATH, no luck so far. After I press configure, I don't see anything that mentions the Qt4 libraries, just entries like Qt5Svg_DIR which are set to e.g. /usr/lib64/cmake/Qt5Svg (/usr/lib64 is a symlink to /lib which in turn is a symlink to /usr/lib). However, for some reason a couple of Qt4 libraries are still being used —
ldd ./OpenFlipper | grep -i "Qt"
libQt5Declarative.so.5 => /usr/lib/libQt5Declarative.so.5 (0x00007f5f849f9000)
libQt5OpenGL.so.5 => /usr/lib/libQt5OpenGL.so.5 (0x00007f5f847a1000)
libQt5Script.so.5 => /usr/lib/libQt5Script.so.5 (0x00007f5f84310000)
libQt5ScriptTools.so.5 => /usr/lib/libQt5ScriptTools.so.5 (0x00007f5f8403d000)
libQt5Sql.so.5 => /usr/lib/libQt5Sql.so.5 (0x00007f5f83df6000)
libQt5Xml.so.5 => /usr/lib/libQt5Xml.so.5 (0x00007f5f83bbb000)
libQt5XmlPatterns.so.5 => /usr/lib/libQt5XmlPatterns.so.5 (0x00007f5f835d1000)
libQt5Help.so.5 => /usr/lib/libQt5Help.so.5 (0x00007f5f83335000)
libQt5WebKit.so.5 => /usr/lib/libQt5WebKit.so.5 (0x00007f5f80ca2000)
libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0x00007f5f80936000)
libQt5PrintSupport.so.5 => /usr/lib/libQt5PrintSupport.so.5 (0x00007f5f806c5000)
libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f5f7fe4b000)
libQt5X11Extras.so.5 => /usr/lib/libQt5X11Extras.so.5 (0x00007f5f7fc47000)
libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f5f7f4c4000)
libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f5f7edfa000)
libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00007f5f7c167000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007f5f7b42e000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007f5f7af26000)
libQt5CLucene.so.5 => /usr/lib/libQt5CLucene.so.5 (0x00007f5f7ac2c000)
libQt5Sensors.so.5 => /usr/lib/libQt5Sensors.so.5 (0x00007f5f775eb000)
libQt5Positioning.so.5 => /usr/lib/libQt5Positioning.so.5 (0x00007f5f773ab000)
libQt5Quick.so.5 => /usr/lib/libQt5Quick.so.5 (0x00007f5f76dc3000)
libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5 (0x00007f5f767d2000)
libQt5WebChannel.so.5 => /usr/lib/libQt5WebChannel.so.5 (0x00007f5f765b5000)
Note that /usr/lib also contains the Qt5 versions of those libraries (libQt5Svg, libQt5Gui and libQt5Core). Any ideas? I'm probably overlooking something — I don't have a lot of experience manually changing cmake settings.
Best,
Pieter