-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Allow switching between legacy and new QML UI with command arg #12139
Allow switching between legacy and new QML UI with command arg #12139
Conversation
01c6dd1
to
8b29364
Compare
3fbe327
to
8a284e8
Compare
I could compile this on Windows locally. But it asserts on startup (without --qml):
|
5f99ab2
to
62ed3b1
Compare
ac3c551
to
f52f0ab
Compare
Could we please look at merging this ASAP? Since this reorder the file list on the CMakeFile, this will collect conflict very quickly. |
ff43277
to
a199d70
Compare
a199d70
to
93bbda6
Compare
I can confirm this is working with Ubuntu Focal |
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.
some comments:
Just tested this on Arch, I can confirm that it works, with the legacy interface it crashes on shutdown:
Unsure if it is caused by this PR or unrelated. |
@Holzhaus Could you please share the stacktrace. |
I couldn't reproduce on PopOS 22.04. I tried exiting right after the init sequence (if I quit it during the init sequence, it crashes, but I can reproduce that on |
@acolombier Please give the latest commit a more meaningful message, for example |
@ronso0 I was planning to squash the commit once everything is working anyway but I will rename it now. |
6c9eb61
to
b53a61d
Compare
36add5f
to
c3bedd8
Compare
works for me on Ubuntu 22.04 |
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.
The code looks good to me now.
Can you remove the dedicated Ubuntu qml build? Than it is ready to merge for me.
Thank you
c3bedd8
to
c45bb4b
Compare
I've rebased the branch and remove the non-QML build for Ubuntu |
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.
Thank you. LGTM
This change reintroduce the
--qml
argument to allow switch to QML dynamically. It also refactor slightly QML singletons to allow Qt to create a singleton per QML engines