[Qt-creator] Object pool is gone?
chgans at gmail.com
Mon Apr 29 05:24:39 CEST 2019
I just noticed that the object pool is gone, QtC seems to use
singletong all around the place now.
Could someone share the rational behind getting rid of the object pool
and replace it with "almost-under-control" singletons.
Just an example, the `FileIconProviderImplementation *instance()`.
Isn't it bad that the first one who calls one of the FileIconProvider
namespaced function will control it's creation time?
OK, this example is bad as the FileIconProvider doesn't depends on
How do you deal with the risk of inter-dependencies and initialisation
order (and loops, ...)?
I really would love to hear about the design decision, from a
technical point of view.
More information about the Qt-creator