qmlplugindump: fix prototypes identification for composite types
authorCaroline Chao <caroline.chao@digia.com>
Mon, 16 Sep 2013 10:40:30 +0000 (12:40 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 17 Sep 2013 13:39:15 +0000 (15:39 +0200)
commit739483926b243162f660f0a363a8ce051c21c38d
treeedb97b00b65f87b68aaaaee518eda37a7887f735
parent37492efee021ccc6e550ecb67a3240b76eb2219e
qmlplugindump: fix prototypes identification for composite types

The prototype name for the composite type is the first "default"
prototype found in the reachable types. If none is found then
the default value is QObject.

Change-Id: I40b4fefaab40e4c9f83d24c89bd026579be63e7b
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
tools/qmlplugindump/main.cpp