Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDDockWidgets update to v2 #25468

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

Eism
Copy link
Contributor

@Eism Eism commented Nov 8, 2024

not finished, just for build and try

cbjeukendrup and others added 26 commits November 5, 2024 21:40
which is required for Qt 6.5.0
It was deprecated in Qt 6.4. Basically, just need to specify `globalPos`
It was deprecated during the Qt 6.8 beta phase, but it looks like this deprecation has been postponed to Qt 6.9.

Anyway, there is now a better alternative called `checkStateChanged`, that uses `Qt::CheckState` instead of `int`.
To be sure that we're using a new-enough version for all Qt 6.8 features
I verified that they don't do anything scary, so let's use them, to keep our code in line with the documentation, and to be sure that we're ready to use modern Qt/CMake possibilities.
When an error occurs while creating a component, don't cause even more errors by reading from `null` at `dialogObj.object.objectId`
@Eism Eism marked this pull request as draft November 8, 2024 15:19
navigation.order: 1
// MainToolBar {
// id: toolBar
// navigation.section: root.topToolKeyNavSec
Copy link
Contributor

@cbjeukendrup cbjeukendrup Nov 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not a property of root anymore:

Suggested change
// navigation.section: root.topToolKeyNavSec
// navigation.section: topToolbarKeyNavSec

needed for using private classes like Item_p
Private KDDockWidgets classes use KDBindings, which in turn uses the emit term, which leads to compilation errors.
Here we turn off the use of emit - now we use Q_EMIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants