I’ve gotten some feedback on the kd-trees implementation for Qt — I was leaking the nodes as they were added to the tree.
I’ve fixed the code in the archive on the original post, and attached it again here.
If you’re using it, I apologize for the inconvenience!