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

Qt6 upgrade #5

Open
5 tasks
yeahitsjan opened this issue Mar 26, 2023 · 3 comments
Open
5 tasks

Qt6 upgrade #5

yeahitsjan opened this issue Mar 26, 2023 · 3 comments
Labels
first-issue Good for newcomers milestone Milestone capable qt Qt-related
Milestone

Comments

@yeahitsjan
Copy link
Owner

yeahitsjan commented Mar 26, 2023

This issue is for tracking / writing down steps to fulfill to upgrade to Qt6. This list will expand regularly, feel free to add your own search results as comments. If changes are implemented for it, these are also added as a corresponding comment.

  • Replace QPixmap::grabWindow with QScreen::grabWindow
  • Replace QDesktopWidget with QScreen / QGuiApplication
  • setMargin is now setContentsMargin
  • Replace QtGraphicalEffects (it seems like its removed)
  • Replace easylogging++ with loguru
@yeahitsjan yeahitsjan added first-issue Good for newcomers qt Qt-related labels Mar 26, 2023
@yeahitsjan yeahitsjan pinned this issue Mar 26, 2023
@yeahitsjan yeahitsjan added the milestone Milestone capable label Mar 31, 2023
@yeahitsjan
Copy link
Owner Author

Reported from discord (@nuttyartist):
Easylogging++ uses Qt5 classes that are not available in Qt6 anymore. I already thought about replacing it with loguru and we definitely need to replace it when upgrading to Qt6.

@MrAda
Copy link

MrAda commented Aug 5, 2023

Just checking in to see if any Qt6 progress has been made. I downloaded it and am making fixes as I go. Before I get any further is this going to work on Android? That is what I need as the Qt example for doing Windows Desktop works fine.

@yeahitsjan
Copy link
Owner Author

yeahitsjan commented Aug 5, 2023

Hey @MrAda, I had problems with Qt6 recently and currently on a move to a new location. Only Windows & Linux is supported. FramelessHelper (underlying lib) is only available on Win, Linux (X11 and Wayland) and macOS. I think there are some big changes required that Pawxel will work on Android. Also I do not have any native device to test.

@yeahitsjan yeahitsjan added this to the 0.x.x milestone Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first-issue Good for newcomers milestone Milestone capable qt Qt-related
Projects
None yet
Development

No branches or pull requests

2 participants