qt5base-lts/tests/auto/sql/kernel
Honglei Zhang 4d696d53b0 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 <bradley.hughes@nokia.com>
2011-12-02 17:35:11 +01:00
..
qsql Fix tst_qsql crashes on Mac OS X 2011-12-02 17:35:11 +01:00
qsqldatabase Fix QtSQL auto test server addresses 2011-10-25 10:07:26 +02:00
qsqldriver all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qsqlerror all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qsqlfield all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qsqlquery Fix sqlite driver memory eating due to close failure 2011-11-30 13:53:24 +01:00
qsqlrecord all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qsqlthread all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
kernel.pro Fix tst_qsql crashes on Mac OS X 2011-12-02 17:35:11 +01:00