Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Slicer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sam Horvath
  • Slicer
  • Merge requests
  • !648

WIP: Support qt5

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Sam Horvath requested to merge github/fork/jcfr/support-qt5 into master Jan 18, 2017
  • Overview 9
  • Commits 5
  • Pipelines 0
  • Changes 205

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 QCleanlooksStyle classes 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 -DQt5_DIR (e.g -DQt5_DIR:PATH=/home/jcfr/Software/Qt5.7.1/5.7/gcc_64/lib/cmake/Qt5)

Missing:

See https://www.slicer.org/wiki/Documentation/Labs/Qt5#To_Do_List

Known issues:

See https://www.slicer.org/wiki/Documentation/Labs/Qt5#Known_Issues

Update to dependent projects:

  • CTK
  • DataStore
  • EMSegment
  • MultiVolumeExporter
  • OpenIGTLinkIF
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jcfr/support-qt5