Qmlplugindump error messages are not written consistently
authorDaniel Pesch <dpesch@blackberry.com>
Wed, 22 Jan 2014 18:19:54 +0000 (19:19 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 23 Jan 2014 14:07:46 +0000 (15:07 +0100)
commitf628067b9efe86766764ef47b4e50fee942ba1d8
tree93cd839c25f703040c9f8d501cf44e03d3e3a4e4
parente8aaaaf3b9e4cf0fdf46ba1bce589d00259e0bad
Qmlplugindump error messages are not written consistently

For errors in command line parameters qmplugindump uses cerr
but errors during plugin loading are logged using qWarning().
It would be better to log always to cerr in case of problem
because some platforms (BB10) have logging from Qt redirected.

Task-number: QTBUG-36378
Change-Id: I04506c2f12b87190966e66c482f4ac5aed44af05
Signed-off-by: Daniel Pesch <dpesch@blackberry.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
tools/qmlplugindump/main.cpp