Comments (16)
I agree with those points, I certainly don't want to wait years for distros like Debian or CentOS to offer Qt 5.15.
Users on them should be able to use the appimage and flatpak releases just fine, for development and manual installation I guess we can just link to the docs for building a recent Qt.
I'd like to at least have support for the other distros in the INSTALL.md: Arch and Void already have 5.15, Gentoo has it in testing, Ubuntu will get a PPA, but I don't know when things will move for Fedora and Alpine (if someone knows more about the subject?).
Supporting Nix would be good too; I initially planned to have instructions for it, but couldn't figure out how to install pip or any python package.
from mirage.
Can you paste this in a new file and run it with qml <filename>
?
import QtQuick 2.12
import QtQuick.Controls 2.12
ApplicationWindow {
width: 640
height: 480
visible: true
ListView {
id: listView
anchors.fill: parent
model: 1000
delegate: Text {
text: modelData
font.pixelSize: 24
width: listView.width
}
}
}
If the problem does happen here, this is definitely a Qt issue. Maybe this?
from mirage.
I did not yet get to run the qt example you postet. Did not have time to isntall the toolchain on my pc.
So if someone else can test this would be great.
from mirage.
The issue you linked: QT flickable issue sounds very similar to the problem I am having.
Did you check the last comment in the discussion? There is an implementation that he describes as resonable.
from mirage.
Someone reported me good results with that solution, so I'll see if I can integrate it in Mirage. However, it will need to be an opt-in option, until we move to Qt 5.15 which comes with the new WheelHandler component that can detect the user's input device, since we don't want to apply this to mouse or touch.
from mirage.
This sounds great! When will the project switch to Qt 5.15 ?
This is the only real issue I have with using it on a laptop.
from mirage.
5.15 is currently in beta, it should release in may if I remember correctly. After that, we have to wait until it's packaged in most common distros, which can take several months.
from mirage.
How long does that take for the flatpak version. Than everyone can use it ;)
from mirage.
@toger5, does #43 solve your scrolling issue?
from mirage.
How long does that take for the flatpak version. Than everyone can use it ;)
Sorry for the late response, I had completely missed this comment.
While we can bundle a recent Qt in the flatpak and appimages, not everyone wants to use them, and that still doesn't make us able to use new features in the code as long as it needs to remain compatible with 5.12.
If we try to import WheelHandler
(which is only available in 5.14+) in QML, the app would just crash for users still using 5.12/13, and QML doesn't allow conditional imports like you could do in Python.
I'll close this since #43 should be the solution for now, you can comment if you still have issues with it.
from mirage.
Is it possible to implement it only for flatpak than and make flatpak use 5.14 or would that introduce so many changes that you than have to maintain two codebases?
from mirage.
I would have at least to maintain two different files for the same component and have the right file be built in the binary depending on which Qt version is used at compile time. It also wouldn't work at all for development builds where the "packing QML files and other resources inside the binary" part is skipped (for faster compile times).
from mirage.
Apologies for not spotting this issue.
Mirage is currently packaged for flatpak, aur, and there's a tentative one for void. So does it make sense to wait for distros like Debian and CentOS to update to Qt5.15 if no one from those communities use mirage? Something to keep in mind is that people on stable distros don't usually upgrade to the newest stable branch right away anyway, so this requirement might not be that useful as flatpak. Also mirage is still pretty new and pre-1.0 so it's sorta self-selects for people who are on rolling-release distros or who are ok with not yet 100% stable software.
I think it makes to sense to wait for Fedora (even though Redhat/Fedora recommend flatpak for these use-cases), Ubuntu-unstable, Gentoo, and NixOS stable to update to QT5.15, mostly because these are the stable distros with users that would want to try mirage.
from mirage.
Alpine recently updated to QT5.15.
Fedora 33, which should have QT5.15, releases in October.
from mirage.
Gentle ping for this issue ?
from mirage.
- It seems like Fedora 33 will come out at the end of this month
- We still need to get on Flathub (#1), so that people on distros without Qt 5.15 running other archs other than x86-64 have an easy way to get the program running
from mirage.
Related Issues (20)
- Make it possible to change room image from Mirage
- [Bug] Mirage stuck on loading screen HOT 24
- UnicodeEncodeError: 'ascii' codec can't encode character '\xfc'
- Make notification settings more understandable
- Parantheses at end of URL fails to be recognized as part of URL
- Mac OSX: Clicking on read receipt opens dialog HOT 2
- Python 3.10: AttributeError: module 'collections' has no attribute 'Mapping' HOT 7
- Mirage is Broken on Alpine/PostmarketOS: gives an infinite spinning wheel on startup HOT 4
- SSO login should work for homeservers that don't have password login disabled HOT 1
- Getting verified by other clients (Element, nheko,...) HOT 3
- Could not initialize GLX HOT 1
- Startup Crash FreeBSD HOT 3
- Add option to start the application minimized HOT 2
- Flatpak: The KDE 5.14 runtime is no longer supported and does not receive security updates. HOT 1
- Cannot import keys from Element - Passphrase not recognized HOT 1
- clipboard images wont send on arch linux
- Traceback (most recent call last): File "qrc:/src/backend/matrix_client.py", line 399, in _start Problem HOT 4
- Unable to install python-mistune1 on Manjaro HOT 2
- lol it ded HOT 2
- Warnings and errors on Debian make application unusable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirage.