Now that the program is using the QApplication class, the QtGui component needed to be added to the find package for Qt4 command in addition to the QtCore component in the CMake file.
Upon testing these changes, there were no differences, however, the memory test reported a number of lost memory blocks. It was not obvious where the problem was and was just reported on the line with the QApplication app instance. After much experimentation, the problem was caused by statically linking libgcc and libstdc++. Without the static linking, there were no more errors - at least when using Analyzer in QtCreator.
When running the memory test script, many more memory errors were reported, again against the QApplication app instance. These were actually being reported in Analyzer, but were not listed because they were disabled (External Errors on the funnel looking icon on the Analyzer tool bar).
A commit was made with the changes for the QApplication instance and how the command line arguments are handled. The static linking part of the CMake build file was temporarily commented (this will be dealt with next).
[commit 01a79dda20]
Saturday, November 17, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
All comments and feedback welcomed, whether positive or negative.
(Anonymous comments are allowed, but comments with URL links or unrelated comments will be removed.)