KDAB / KDDockWidgets

KDAB's Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets
Other
762 stars 164 forks source link

Broken "Toggle Another" Quick MDI example #488

Closed dantti closed 6 months ago

dantti commented 6 months ago

qrc:/Guest1.qml:38: TypeError: Property 'close' of object KDDockWidgets::QtQuick::DockWidget(0x558d84775d60) is not a function

Indeed close() there is not Q_INVOKABLE nor Q_SLOT, couldn't think of a fix, this was using main branch.

iamsergio commented 6 months ago

Works here. Which Qt version ?

dantti commented 6 months ago

6.7.0 and 6.6.1 also gives "qrc:/Guest1.qml:37: TypeError: Type erro"

dantti commented 6 months ago

Could also reproduce with 6.4.1

iamsergio commented 6 months ago

ah, need to press the button twice. Reproduced thanks