summaryrefslogtreecommitdiffstats
path: root/qmake/Makefile.win32
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-05-02 18:51:57 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-05-13 19:18:59 +0000
commit7cba2acd2cc4b68b5a4de2251ab555adb09bf7e8 (patch)
treee4f6453417becfd6df89f6c21bfae549db850cde /qmake/Makefile.win32
parentac4cf6e2b2dfc6ee37b0c64e1dd201e2b2452c31 (diff)
qmake: replace QLinkedList with std::list
This is in preparation of deprecating QLinkedList. There is but one substantial change: Instead of copying the linked list, we move it now, and instead of copying items between these two lists, we use std::list::splice(), which just relinks nodes. It is a bit surprising that the comment on the ProValueMapStack suggests references into the container must remain stable, and then some code changes addresses by making copies of the elements. This was probably a bug waiting to manifest itself. Since nothing else in qmake is using QLinkedList now, remove qlinkedlist.o from the qmake build. Change-Id: I08a5b0661466bf50ad8f9f8abf58bc801aef4ddc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake/Makefile.win32')
-rw-r--r--qmake/Makefile.win321
1 files changed, 0 insertions, 1 deletions
diff --git a/qmake/Makefile.win32 b/qmake/Makefile.win32
index 6ab40c6765..1777741df4 100644
--- a/qmake/Makefile.win32
+++ b/qmake/Makefile.win32
@@ -88,7 +88,6 @@ QTOBJS= \
qringbuffer.obj \
qdebug.obj \
qlist.obj \
- qlinkedlist.obj \
qlocale.obj \
qlocale_tools.obj \
qlocale_win.obj \