-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Some fixes/enhancements for #3786 #3991
Conversation
Some issues that aren't present with the latest AppImage from @tresf
Vestige, GigPlayer and ZynAddSubFX are missing. I don't know if any of them are supposed to be disabled for AppImage. I get a crash when opening settings.
|
Off-topic... but just an FYI to people reading this thread... Qt4 AppImages won't ever be supported by our codebase because
All three are supported. At a glance, I'm not sure why they'd be different. I build from Ubuntu 14.04 to simulate Travis-CI but my latest AppImage may have been built in a rush without calling |
|
OK. Building this one: https://github.com/PhysSong/lmms/commits/v1.2.0-rc49 Got an ouchie!
Edit: I'm missing some dependency here. |
They works on my side. I guess some shared libraries are missing(something related to pthread) in my AppImage. |
Qt4 doesn't provide a exact way to determine if an application is running with |
@PhysSong I pushed some Qt4 compile fixes to your branch, which fixes @zonkmachine's link error. I noticed Qt4 Linux builds are disabled on Travis (and I think it's my fault: bd4a93c), I'll test re-enabling them on a separate branch. |
@PhysSong Great, pushed it to this branch. |
I don't think we need that because Qt4 only supports X11 on Linux. So if we're running Qt4 on Linux, we know it's using X11. Whether that's in an X11 session or through xwayland doesn't matter. |
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.
Tested and all options work fine on every platform. Tested Windows/Qt5, Linux/Qt5 with both X11 and Wayland (Weston). It shows the correct available embedding options in all situations I tested, so I think the platform logic is fine. Didn't test Windows/Qt4, but I don't see a reason why it shouldn't work, and we're distributing Qt5 builds for Windows anyway.
Thanks for the great work @PhysSong!
From Qt 4.8 documentation:
In principle, Qt 4.8 can run with non-
The current way works if Qt is configured to use This PR was merged while I was writing this comment. If something goes wrong, we may fix that on the original PR #3786. |
The word "experimental" would be enough reason for me not to support it. I know of no QPA plug-in that makes Qt4 run on Wayland natively. I really don't think it's worth investing any time in. Qt4 has been superseded by Qt5 five years ago, and I guess it'll be at least another five years until Wayland has replaced X in major Linux distributions. I see no need to marry the two. Those who want to run LMMS on Wayland and insist on not using xwayland will have to use Qt5.
👍 |
Some fixes/enhancements for LMMS#3786
TODO list:
QWidget::CreateWindowContainer
was introduced in Qt 5.1)messageWndProc
(as suggested by @DomClark)There are still some incomplete logics and weird style of code, and it might be buggy for some system configurations. Any reviews and suggestions are appreciated. 😄
You may checkout the test version here: https://github.com/PhysSong/lmms/releases/tag/v1.2.0-rc49