Add support for Qt6

Adds the -DKDDockWidgets_QT6=ON option
Also you'll need to port any required Qt6 module first (For example QStateMachine).
This commit is contained in:
Sérgio Martins
2020-07-18 21:47:24 +01:00
committed by Sergio Martins
parent 36af020505
commit c23d179385
10 changed files with 42 additions and 22 deletions

View File

@@ -59,7 +59,7 @@ void SeparatorWidget::paintEvent(QPaintEvent *)
QWidget::parentWidget()->style()->drawControl(QStyle::CE_Splitter, &opt, &p, this);
}
void SeparatorWidget::enterEvent(QEvent *)
void SeparatorWidget::enterEvent(KDDockWidgets::Qt5Qt6Compat::QEnterEvent *)
{
qCDebug(separators) << Q_FUNC_INFO << this;
if (isVertical())