Qt 6.11 is out! See what's new in the release
blog
Is it possible to use Qt without dynamic memory management? I want to use pools for everything.
General and Desktop
7
Posts
3
Posters
1.5k
Views
1
Watching
-
It would be especially welcome feature for embedded development, where memory is constrained and I want to make sure that I have enough for everything. Even if I waste a little memory when for example two features are never used simultaneously but I reserve space for both of them. Still its better than an application which seems to work until it doesn't. I just need to be sure. And by "use pools for everything" I mean everything. All those little objects like QSharedPointer control block or connection or something else should also be pool-managed.
-
Hi,
IIRC, there was qMalloc, qFree and qRealloc meant for that use case
-
Sorry for the old pointer. They are not only deprecated but also not used anymore in Qt 5.