path: root/mkspecs
diff options
authorHonglei Zhang <>2011-12-02 15:48:29 +0200
committerQt by Nokia <>2011-12-02 17:35:11 +0100
commit4d696d53b074dafc1ecfc1d9cb6fd041464e1a75 (patch)
tree9f3493a18af0d21e480918bafee54f23a856cf91 /mkspecs
parentad8edac53c65368f7ff269332bd66bd85e2633b4 (diff)
Fix tst_qsql crashes on Mac OS X
In tst_qsql, there are function calls to QApplication(argc, 0, false), where argc is zero. According to the documentation, argc must be greater than zero and argv must contain at least one valid character string. The misuse of this API has no problem on any platform other than Mac OS. This commit has fixed the crash by passing valid dummy parameters. Task-number: QTBUG-22811 Change-Id: I42b26d66f0becb7a942896e6ddcaea52ff720a48 Reviewed-by: Bradley T. Hughes <>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions