hakaishi / nobleNote

Program to make and manage notes
Other
30 stars 4 forks source link

Qt 5 incompatibilities #176

Closed nebomuk closed 11 years ago

nebomuk commented 12 years ago

see https://qt.gitorious.org/qt/qtbase/blobs/stable/dist/changes-5.0.0

following changes in qt 5 may lead to incompatibilites:

QUuid

Qt::escape() is deprecated (but can be enabled via QT_DISABLE_DEPRECATED_BEFORE), use QString::toHtmlEscaped() instead.

QDate, QTime, and QDateTime may have changed

does it affect item selection? QAbstractItemView and derived classes only emit the clicked() signal on left click now, instead of on all mouse clicks.

does it affect read write bug? [QTBUG-20503] QFileSystemModel no longer masks out write permissions from the permissions returned from permissions() or data(FilePermissions), even if in read-only mode (QFileSystemModel::isReadOnly()).

QtConcurrent is no longer in QtCore, but forms its own library now. QMake-based projects can use QT += concurrent to include the new library.

QMessageBox * The static function QMessageBox::question has changed the default argument for buttons. Before the default was to have an Ok button. That is changed to having a yes and a no button.