qt5base-lts/tests/auto/sql/kernel/kernel.pro
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

11 lines
148 B
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qsqlfield \
qsqldatabase \
qsqlerror \
qsqldriver \
qsqlquery \
qsqlrecord \
qsqlthread \
qsql \