• jcfr's avatar
    ENH: Add preliminary support for Qt5 · 12eff4a0
    jcfr authored
    Support configuration using either Qt4 or Qt5
    
    Based on preliminary work from Steve Pieper <pieper@bwh.harvard.edu>
    
    * vtkSlicerConfigure: Introduced Slicer_HAVE_QT5 and Slicer_HAVE_WEBKIT_SUPPORT.
      This was needed to workaround limitation of "moc" compiler preventing it
      from expanding macro like "QT_VERSION_CHECK.
    
    * Explicitly set QT_PLUGINS_DIR and QT_BINARY_DIR variables when using Qt5
    
    * Update extension build system to propagate Qt version
    
    Tested with Qt 5.7 and Qt 5.9 on Ubuntu
    
    Remaining tasks:
    * Port extension manager
    * Update install/packaging rules to support Qt5
    * SlicerStyle (based on CommonStyle) is disabled (see Main.cxx). Application crashes on Linux.
    * Fix runtime errors:
     * libpng warning: iCCP: known incorrect sRGB profile
     * QPixmap::grabWidget is deprecated, use QWidget::grab() instead
    Co-authored-by: default avatarHina Shah <hina.shah@kitware.com>
    Co-authored-by: Max Smolens's avatarMax Smolens <max.smolens@kitware.com>
    
    COMP adding qt5 variables for extension testing
    
    COMP Adding Qt5 build and plugin cmake variables
    
    From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@26251 3bd1e089-480b-0410-8dfb-8563597acbee
    12eff4a0
Name
Last commit
Last update
Applications Loading commit data...
Base Loading commit data...
CMake Loading commit data...
Extensions Loading commit data...
Libs Loading commit data...
Modules Loading commit data...
Resources Loading commit data...
SuperBuild Loading commit data...
Testing Loading commit data...
Utilities Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYRIGHT.txt Loading commit data...
CTestConfig.cmake Loading commit data...
License.txt Loading commit data...
README.txt Loading commit data...
SuperBuild.cmake Loading commit data...
circle.yml Loading commit data...