Comments (8)
Sure, let's hope it's easy instead of hard :)
from pext.
I can work on this, could you please assign to me?
from pext.
It needs many changes in the code because QT6 changes a lot regarding QT5.
Added screenshots about these two errors:
- The first one I solved, removing the version of
import QtQuick.Controls
or adding the last versionimport QtQuick.Controls 6.4
- The second, I can't resolve yet, but looks like it requires changes in the code. I didn't find the Extras and Styles in QT6. You have more experience in this topic, what do you think?
- If I removed all the versions, the problem still there because in QT they are not existing.
References:
- QT5 versus QT6 ➟ Differences with Qt Quick Controls 1.
- QT6 ➟ Styling Qt Quick Controls
- QT6 ➟ Migrating from Qt Quick Controls 1
- QT6 ➟ Qt Quick Controls
from pext.
Looking at dd11097, QtQuick.Extras was included for the flat theme.
And QtQuick.Controls.Styles was added in a commit that doesn't describe it: 3fe352c
I think removing both imports may have stuff just work fine. At worst, it may misbehave during the app.setStyle
calls in pext/__main__.py
, those might need to be removed. As far as I know those were barely ever used ever, only called if someone started Pext specifically with the --style
argument. Removing support for that if it's difficult to keep sounds completely fine to me too.
from pext.
Well, I tried, and it needs to refactor and replacement because QT6 has huge changed related to QT5. Same reference Differences with Qt Quick Controls 1.
I made some changes, and it is running, but the menus are not working. Other stuff should not work. Since, I am not expert on QT, and I don't pretend to learn all QT in deep, I need your help with your experience and expertise.
I was tentative to add a summary with the changes, but it's better to see in a comparative using the GitHub tools.
https://github.com/Pext/Pext/compare/master...airvzxf:Pext:upgrade-to-qt6?expand=1
You can clone my repo (airvzxf/Pext) and checkout the branch upgrade-to-qt6
. Please don't hesitate to modify and push changes.
Visible error when run in my local, any menu option is working:
from pext.
Hmm, interesting,
All I can tell is that the "Component is not ready" means that there was some QML error (it's awful to debug, I have no clue how to fix it when it occurs, I always just tried random stuff until it works). The property errors make me wonder if the MenuItem
and TabBar
QML6 types maybe have these functions under other names?
from pext.
By the way, I don't know how you're doing on Hacktoberfest contributions, but if you're looking for more to do quickly then #457 is probably a good place to start because you almost already did that (and this Qt6 thing will probably take longer)
from pext.
Totally, agree. I'll pause this work and contribute to the other.
from pext.
Related Issues (20)
- Hitting "Update and reload" on a module in use freezes Pext until the update completes HOT 1
- AppVeyor build broken HOT 1
- password store module not installable HOT 2
- Escape to minimize doesn't work when focused module is updating HOT 1
- Closing module during module update causes exception when update completes and Pext attempts to reload it
- Modules failing to install on Debian Buster HOT 2
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Launcher icon does not work
- newer version 0.6 ? HOT 1
- execution on Linux fails HOT 6
- Upgrade Python used HOT 9
- Copy to clipboard doesn't work on Wayland
- AppImage build broken
- macOS build broken HOT 2
- Module updater can offer a non-existant update
- Pext is not working in Arch Linux installed from AUR. HOT 7
- Pext-git is not working in Arch Linux installed from AUR. HOT 2
- Can't install modules on macOS
- Build system generates wrong version 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 pext.