-
Notifications
You must be signed in to change notification settings - Fork 50
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
Wip Qt 6 port #337
Wip Qt 6 port #337
Conversation
Glad to see that you've participated in the Qt6 port. |
Nice! Maybe you've seen already https://github.com/orgs/lxqt/projects/3/views/1 |
Nice! I didn't notice. Now I've setup a GNOME Boxes VM with Neon Unstable which is a bit faster than VirtualBox. |
Please don't include porting to Wayland in this PR, which is for porting to Qt6. |
I forgot to mention that this Vbox with Neon already blocked twice here, just editing files.
For the future: https://wayland.app/protocols/ext-session-lock-v1 |
Yes of course, but at least a warning line so it's easier to find for later wayland port? |
Right. My comment was just a general remark :) Otherwise, your work has always been clean. |
Managed to compile it on Neon, after 2 blocks:
|
Can we do something about this or is it just a Neon bug? |
I've no idea if they will update to 6.* the package versions at release, just changed the version to 5.2 in |
Compiling I get
Changing to "lxqt2" at the end of But both apps I try (globalkeys and lxqt-about) don't find |
Fixed with latest commit.
I get this error too but only some files of |
More precisely I can build |
Actually the same here too: translations aren't build without changing prefix to |
- Update project version and dependencies - Update generaded CMake config template
Q_PID is removed in Qt6
- TODO: check if new syntax is equivalent
In Qt6 QLibraryInfo::location() is deprecated
- Fix NET namespace
QLayout::setMargin() got removed in Qt6
- Use QNativeInterface::QX11Application - Emit warning on Wayland platform which is currently unimplemented
In Qt6 globalPos() is deprecated
- SingleApplication: exit() is static
Previously there was a link error when building `lxqt-panel` project. Also inline overload taking pointers.
Just drop this: there is no check for |
What's the error? |
I took a quick look at the changes, and they seemed all good. Also, the code was compiled without problem under Manjaro Testing (+ KF6). Will read it again soon. Thanks! |
lxqtsettings.cpp
Outdated
@@ -500,6 +501,10 @@ QString LXQtTheme::qss(const QString& module) const | |||
************************************************/ | |||
QString LXQtThemeData::loadQss(const QString& qssFile) const | |||
{ | |||
// TODO: original QRegExp, check new syntax and QRegExp::RegExp2 meaning | |||
// QRegExp(QL1S("url.[ \\t\\s]*"), Qt::CaseInsensitive, QRegExp::RegExp2); | |||
static QRegularExpression urlRegexp(QLatin1String("url.[ \\t\\s]*"), QRegularExpression::CaseInsensitiveOption); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static const
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Could you confirm syntax?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's OK, thanks.
Depends on lxqt-build-tools#77