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

Deprecation Warning when compiling against Qt 6.5.0 #514

Closed
imikejackson opened this issue Apr 28, 2023 · 1 comment
Closed

Deprecation Warning when compiling against Qt 6.5.0 #514

imikejackson opened this issue Apr 28, 2023 · 1 comment

Comments

@imikejackson
Copy link

imikejackson commented Apr 28, 2023

Qt-Advanced-Docking-System/src/FloatingDockContainer.cpp:1013:17: warning: 'setActiveWindow' is deprecated: Use QWidget::activateWindow() instead. [-Wdeprecated-declarations]
                QApplication::setActiveWindow(this);

I think this might be fixed by:

#if(QT_VERSION > QT_VERSION_CHECK(6, 4, 0))
    this->activateWindow();
#else
    QApplication::setActiveWindow(this);
#endif
@imikejackson imikejackson changed the title Deprecation Warning when compiling against Qt6 Deprecation Warning when compiling against Qt 6.5.0 Apr 28, 2023
@githubuser0xFFFF
Copy link
Owner

Fixed this in master

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

No branches or pull requests

2 participants