View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014511ParaView(No Category)public2014-01-11 00:552014-08-29 11:00
ReporterSankhesh Jhaveri 
Assigned ToSankhesh Jhaveri 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version4.2Fixed in Version4.2 
Summary0014511: Add Qt5 support to ParaView
DescriptionQt5 Support
TagsNo tags attached.
ProjectTBD
Topic Name14511-qt5-support
Typefeature
Attached Files

 Relationships

  Notes
(0032323)
Sankhesh Jhaveri (developer)
2014-02-13 17:37

commit 7db74014bae872afc70f6bcd201c2293a56cf7a3
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Tue Feb 11 17:46:12 2014 -0500

    Import Qt5Widgets module at the top level
    
    This ensures all the required Qt5 variables can be found.
    For example, just importing Qt5Core does not help find QT_UIC_EXECUTABLE using
    the macro "get_target_property(QT_UIC_EXECUTABLE Qt5::uic LOCATION)".
    
    Change-Id: I8756ce9468c5134693d256a9755f1217bc24ae29

commit 0fb21b1d9ad4de75fc83536c1f3d8683532b96d6
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Fri Jan 31 12:28:30 2014 -0500

    Updated QtTesting to use Qt5
    
    QtTesting should use user selected Qt version
    
    Change-Id: I55379c00655595e567ae393d42a25baa8635b916

commit 6fa66ba56168ce6b0facec0884f199efea518c94
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 18:04:31 2014 -0500

    Use the new Qt5 plugin architecture
    
    Q_EXPORT_PLUGIN2 deprecated. Replaced by Q_PLUGIN_METADATA
    Find the Qt5 RCC executable to generate qrc_* files.
    
    Change-Id: I407ac783071895e2f01d51d0ddd71635e54813f3

commit a59a868b22bb7b8e32a9948bc4a24138b3dc6b04
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 13:01:06 2014 -0500

    QWindowsStyle and QPlastiqueStyle obsoleted
    
    Replaced with the Fusion style and the new QStyleFactory::create() API.
    Use style depending on Qt version used
    
    Change-Id: I3bb01c883025122a9de40b98866de6a757def047

commit 785695c00a65bc40c3a413bf4eefedad25e2ca20
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 12:59:33 2014 -0500

    QtGui library -> include QtGui/* files directly
    
    Change-Id: Ia0d1e6510c014fb67986f330cd98c81f73aa17c3

commit 20c9a6346d0834d8d29ec81451dba8b539b46ba7
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 12:57:32 2014 -0500
    Obsoleted constructor for QGraphicsItem
    
    Removed the use of QGraphicsScene from the constructor argument.
    
    Change-Id: Ib257adc90fbd8b810baa4d65dcbd78d5e66da9d1

commit 88cbb1f4f6fcf0936625a698cae6588e26e11f54
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 12:30:22 2014 -0500

    Multiple Qt5 related minor changes
    
    1. QCursor constructor needs QPixmap instead of const char*
    2. Qt::WFlags obsoleted. Replaced by Qt::WindowFlags
    3. QPixmap::serialNumber() deprecated. Replaced by QPixmap::cacheKey()
    4. QVariant(Qt::GlobalColor) is now private. Use QVariant(QColor(Qt::GlobalColor)) instead.
    5. QMetaMethod::signature obsoleted. Replaced by QMetaMethod::methodSignature().
       To avoid runtime issues get the pointer to data using methodSignature().constData()
    6. QDir::convertSeparators obsoleted. Replaced by
       toNativeSeparators/fromNativeSeparators
    7. QRegion::unite deprecated. Replaced by QRegion::united
    8. QCoreApplication::UnicodeUTF8 is deprecated.
    9. Missing includes
    
    Change-Id: I1a5b889b01178f030ed97a65bb7c5ff006949bef

commit dd2a9104e1aca5f92abf1a17f0b90c3a47cd1613
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 11:33:22 2014 -0500

    Qt5 obsoletes toAscii and fromAscii methods
    
    Replaced all instances:
    QString::toAscii --> QString::toLatin1
    QString::fromAscii --> QString::fromLatin1
    QChar::fromAscii --> QLatin1Char
    
    Change-Id: I5107bbd7b5550ded121310314f0569246ff8bf2c

commit 44530d0721395a850ce396cff8bf2b59affeecb2
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 10:57:19 2014 -0500

    Compile flags (-fPIE) for position independent code
    
    Qt5 is built and packaged with the -reduce-relocations configure option as
    default. This causes compilations to run with the -Bsymbolic-functions option,
    which makes function pointer comparison ineffective, unless the -fPIE flag is
    also supplied.
    
    Change-Id: Ic1dead333d25b2ff17eda049b57d08db3a27f8b4

commit 7aa49510b1e29c7a8ef810bd26b8af41172364f9
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 12:20:43 2014 -0500

    QAbstractItemModel::reset() and QAbstractItemModel::createIndex
    
    QAbstractItemModel::reset -
    The deprecated function emitted two signals, namely modelAboutToBeReset and
    modelReset. Using beginResetModel and endResetModel to emit these signals
    instead.
    
    QAbstractItemModel::createIndex -
    Ambiguity when compiling with gcc.
    When the last parameter is either NULL or 0, GCC fails to resolve
    which path to follow. Use the default value (void* ptr = 0) provided in the
    function declaration.
    
    Change-Id: I45760b1cc9d9afc183a2aed9100d7ab398f0ab65

commit eb421899dde154e5841cdaebe8a079092e7ede32
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 11:48:39 2014 -0500

    Qt5 obsoletes global typedef qInstallMsgHandler and QtMsgHandler
    
    Using qInstallMessageHander and QtMessageHandler
    QtMessageHandler has a different signature than QtMsgHandler providing
    information about context. Incorporated that information in the vtkOutputWindow
    message printout.
    
    Change-Id: Icd94f6fc411e0761c0254a0e11784543b0cf0bd7

commit f3b59483e8493cab9e0600b394c1572d31dc17e2
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Thu Jan 30 11:43:24 2014 -0500

    Obsoleted methods from QHeaderView
    
    Replaced all instances:
    QHeaderView::setClickable --> QHeaderView::setSectionsClickable
    QHeaderView::setResizeMode --> QHeaderView::setSectionResizeMode
    QHeaderView::setMovable --> QHeaderView::setSectionsMovable
    
    Change-Id: I537f7148abfccf4564d375475ec76b8485c31777

commit 9ed056a1aa902e249cf8ef398433a3ce6e3caaf6
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Wed Jan 15 10:03:11 2014 -0500

    Modified ParaView macros to use both Qt4 and Qt5
    
    Depending on the PARAVIEW_QT_VERSION variable value, the appropriate Qt version
    is used.
    
    Change-Id: I296dbc87a4ad05426bdf65e16e4bafa7bcdb8074

commit eed7ccd3f7e804fed3864fcbe54fbd6958e63b41
Author: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
Date: Tue Jan 14 13:55:19 2014 -0500

    Initial changes to support Qt5
    
    Added a new flag called PARAVIEW_QT_VERSION that can be set to either 4 or 5.
    Depending on the value of this flag, the appropriate Qt version is looked for
    and built against.
    
    If PARAVIEW_QT_VERSION==5, the necessary Qt5 modules can be
    imported by including the script "ParaViewQt5.cmake". This script also sets
    important Qt variables used throughout the project.
    
    Setting the officially supported version of Qt5 to 5.0.2. Although, paraview
    compiles fine against Qt-5.0.0, there are known issues that prevent it from
    being fully functional (https://bugreports.qt-project.org/browse/QTBUG-28872 [^]).
    Setting the minimum Qt5 version to 5.0.0.
    
    Change-Id: I152529ef3da9492a44094c1e08444398a022d047
(0032332)
Utkarsh Ayachit (administrator)
2014-02-15 08:58

Topics merged into master:
        14511-qt5-support
        assembly-exporter
        catalyst-rendering-fix
        easy_subclassing
        fix_chart_panels
        fix_parallel_amrconnectivity
        remove_duplicate_pqColorTableModel
        robust_pca
        view-settings
        visit-bridge-update-2.7.0
(0032359)
Alan Scott (manager)
2014-02-20 22:04

Developer tag in git. Also, trusting that nightly builds tested this. Closing.

 Issue History
Date Modified Username Field Change
2014-01-11 00:55 Sankhesh Jhaveri New Issue
2014-01-11 00:55 Sankhesh Jhaveri Assigned To => Sankhesh Jhaveri
2014-01-11 00:55 Sankhesh Jhaveri Status backlog => todo
2014-02-13 17:37 Sankhesh Jhaveri Topic Name => 14511-qt5-support
2014-02-13 17:37 Sankhesh Jhaveri Note Added: 0032323
2014-02-13 17:37 Sankhesh Jhaveri Status todo => gatekeeper review
2014-02-13 17:37 Sankhesh Jhaveri Resolution open => fixed
2014-02-15 08:58 Utkarsh Ayachit Fixed in Version => git-master
2014-02-15 08:58 Utkarsh Ayachit Status gatekeeper review => customer review
2014-02-15 08:58 Utkarsh Ayachit Note Added: 0032332
2014-02-20 22:04 Alan Scott Note Added: 0032359
2014-02-20 22:04 Alan Scott Status customer review => closed
2014-06-17 09:22 Utkarsh Ayachit Target Version => 4.2
2014-08-29 11:00 Utkarsh Ayachit Fixed in Version git-master => 4.2


Copyright © 2000 - 2018 MantisBT Team