-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
QList can‘t be sorted #103
Comments
Thanks for reporting. QtJambi's ListIterator iterator is based on immutable native iterators. However, I have implemented a bugfix for this. It will be available in the next release. |
Wow, thanks for the answer!
|
Maven release is coming soon |
作者你好!我不知道这算不算是一个bug,我无法对QList中的元素进行排序,我使用QList.sort((student1,student2)->student1.age-student.age)进行排序执行会报错:

问题似乎是出在QList.listIterator()得到的listIterator是不能执行set()方法的。
请问是否还有没有别的排序方法?因为c++的std::qSort在java里并不能用。
The text was updated successfully, but these errors were encountered: