This is really ugly.... I am using Qt 4.0 and working in MVS 2005. I created a class that uses Qt items such as QSqlDatabase, and other QSql classes along with QString QStringList. Then I took my class and made a BOOST Test to test my class. I started getting some memory leaks. So, me and another Software Engineer looked deep into QT and found that these memory leaks came from not have a QCoreApplication. Easily fixed, or so we thought.... We included a QCoreApplication and now we don't get the old memory leaks but rather a new set of memory leaks all related in QCoreApplication.![]()
I built a console app and used the same class and it didn't produce any memory leaks, this is without the using the QCoreApplicaiton and with using it.
I really don't think BOOST is causing the error because the errors changed when I included the QCoreApplication, but rather BOOST is just brining out an error in the QT code. Anyone have any ideas?
Thanks!
Bookmarks