Re: [Development] Releasing memory after clear() in Qt containers (Qt 5.X)

2021-04-24 Thread Francesc Martinez
Hi Giuseppe, Thanks for the help! I'll try to answer one by one to your questions. 1) clear() on a container doesn't (necessarily) release all the memory > held by that container. For instance std::vector / Q5Vector retain the > allocated capacity: A Q5Hash will release the memory held by the

[Development] Releasing memory after clear() in Qt containers (Qt 5.X)

2021-04-23 Thread Francesc Martinez
Hi all, I have some doubts regarding the memory management in Qt, specially about containers and how the COW affects the release of memory. I'm doing some research in GitQlient and I've noticed that the RAM memory used doesn't decrease at all when it's supposed to. In there I'm managing an intern

Re: [Development] Info request for DEFINES in QtCreator

2020-08-06 Thread Francesc Martinez
; Date: Thu, 6 Aug 2020 11:58:39 +0200 > Subject: Re: [Development] Info request for DEFINES in QtCreator > Am 31.07.20 um 22:41 schrieb Francesc Martinez: > > Hi, > > > > I'm having some troubles with implicit conversions every time I have to > > build my plugin (

[Development] Info request for DEFINES in QtCreator

2020-07-31 Thread Francesc Martinez
Hi, I'm having some troubles with implicit conversions every time I have to build my plugin (https://github.com/francescmm/GitQlientPlugin) but until now I didn't bother to see why. I've been just fixing the issues (mainly casts to QString). Looking for the reasons I've noticed that there are som

[Development] Deploy Qt unit testing in Android

2018-09-15 Thread Francesc Martinez
Hi all, During the last two weeks I've been trying to run a Qt unit testing project in Android. I've tried to create an apk file via Qt Creator and by hand but as it didn't give me any result I also tried to build it manually using Android Studio and the build.gradle. No results so far. I've seen