WIP: Support qt5
Created by: jcfr
This topic allows to compile Slicer against either Qt4 or Qt5.
- It supports version of Qt5 with/without webkit support.
- It was tested on Ubuntu with CMake >= 3.4.2
- When building with Qt5, a library named
Slicer/Libs/qtstyleplugins/it basically includes the
QCleanlooksStyleclasses that were removed from Qt5 core. See http://code.qt.io/cgit/qt/qtstyleplugins.git/ and http://blog.qt.io/blog/2012/10/30/cleaning-up-styles-in-qt5-and-adding-fusion/
How to configure Slicer with Qt5 ?
If not installed on your system, you should specify the option
Update to dependent projects: