Is there a version of QLinkedList in qt6
-
-
I really need a linked list data structure, but since QLinkedList is no longer supported in qt6, i wanted to know if a similar data structure was added
EDIT: I tried using core5compat to my .pro file, but it can't read the project successfuly
@GSG
Either you need to use the core5compat Qt5 compatibility QLinkedList or to get a linked list you need to move to std::list. -
I really need a linked list data structure, but since QLinkedList is no longer supported in qt6, i wanted to know if a similar data structure was added
EDIT: I tried using core5compat to my .pro file, but it can't read the project successfuly
-
@GSG do you really need a linked list, whose only benefit is a guarantee of constant time insertions in the middle of the list?
If not, than simply use QList as drop in replacement
-
@J-Hilk Yes, i need constant time insertions and deletions. I can of course use std::list, but it would be nice to have everything in terms of qt