-
Notifications
You must be signed in to change notification settings - Fork 144
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
"Cleaned up" Qt6 version without legacy (based on #66) #67
Conversation
still working on the CI scripts |
suggestion: for now, move QT6 build also to appveyor. There are no QT6 images on travis yet, so this setup would be painful. Appveyors Ubuntu images have support though: https://www.appveyor.com/docs/linux-images-software/#qt |
QStringRef was deprecated in Qt6, so I ported the reader to QStringView, which also gives the startsWith and endsWith functions. Maybe the reader should also make use of the dissect-functions of QStringView, might make the logic much more compact, but this is for another PR |
getting a negative exit code from tests now without any error output...how to debug this? |
@iamantony so it is finally done after fighting the CI... The reason for using bash.exe in appveyor even in Windows is that powershell produces no stdout when running the tests and exits with a bogus error code without any way to debug it (this cost me hours to figure out...). Hope this helps. (in the meantime I'll try to also get a CI running for mac) |
ok, macOS pipeline is also clean ready to merge I'd say. |
@iamantony are you still maintaining this? |
@markusdd thanks for your pull request! I really appreciate your time and effort to make qtcsv great again)) Files to remove:
Issues:
So what have really changed in the code:
Let's assume that we're allowed to change API of the library but still want to support Qt4 - Qt6. Could we do that?
|
as for your last point, I started out from #66 and understood the main branch at Qt6 would be preferred while conserving Qt4/5 on a seperate one. admittedly, I am not a Qt expert (yet) so please feel free to modify this PR to your liking, due to my day job I have limited capacity to look into this right now, but of course I would like to see this get merged eventually as I've actually spent quite a bit of time doing the port. I will look into reverting the formatting changes nevertheless, they just came formt he standard Clang-autoformatting I use in VS Code. |
Ok, I'll merge your PR in some way or another)) I finally decided to switch project to Qt6. |
So I have modified the autoformat to match your bracket and line-length and indentation style. I used this for Clang Format: The windows pipeline (once again) has an issue, I have to check. |
Ok, they switched up their CMake version, it works again now |
Plus minor changes like removing of IDE files, switching to QList<QString>, minor style changes
@markusdd thanks again for your work! Code is merged into qt6 branch which later will be merged into master. |
sure, my pleasure! |
As per the excellent PR #66 of @cristeab I picked up on the discussion and did a code cleanup by removing the legacy and running the whole project through clang formatting.
Tests pass for me on Windows using Qt 6.0.1 .
This can either be made the new master and Qt4/5 version gets preserved on a branch/tag or this gets it's own branch.
Thank you for this excellent useful project!