-
-
Notifications
You must be signed in to change notification settings - Fork 815
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
Qt6.4 error: use of deleted function QVariant::QVariant(T) #2709
Comments
Please try building with |
Actually, the problem here seems to be with But why is it defined — that's the question. |
I just added Qt6.4 to my Windows system. Indeed it no longer builds, blocks at the same line. |
Satellite.cpp line 791: Why do we convert a QString to a QByteArray and later back to QString? @alex-w ? |
Thanks, Arch Linux users will keep using qt5, with this workaround it is compiling fine. |
Looks like a small bugfix. You should be able to use Qt6.2 or Qt6.3 if available. |
TLE has formatted data and QByteArray allow manage the data by bytes. I think it can be changed (hello from Qt4 days...) |
Hello @carlosal1015! OK, developers can reproduce the issue. Thanks for the report! |
On Qt6, use QString::sliced(pos, len). Or just a QRegularExpression? |
No need QRegularExpression |
Would you like to have a quick fix (by adding 'QString::fromUtf8( ... )') first before rewriting it to QString::sliced() ? |
The definition can be from Qxlsx: |
I think just avoiding the QByteArray as intermediate type would solve it. |
Hello @carlosal1015! Please check the fresh version (development snapshot) of Stellarium: |
Ok, I applied the patch in order to use qt6. |
Hello @carlosal1015! Please check the latest stable version of Stellarium: |
Expected Behaviour
That the software compiles fine.
Actual Behaviour
Is throwing an error, either with qt5 or qt6.
System
The text was updated successfully, but these errors were encountered: