diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-17 15:41:26 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-24 11:10:49 +0000 |
commit | 873f31931458fa2000828cccd0b044c24e9f27a7 (patch) | |
tree | 4844f08add039e5e2fd2523f8549375b769cc8ed /sources | |
parent | 027893b4955ce9bd08f0e68960806c74d77805e2 (diff) |
shiboken: Output type database in debug mode
Change-Id: Id481aa5593c02c32656b141eaab6af800f978ebe
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/shiboken2/generator/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/shiboken2/generator/main.cpp b/sources/shiboken2/generator/main.cpp index c996c7cc3..bcfcc5c77 100644 --- a/sources/shiboken2/generator/main.cpp +++ b/sources/shiboken2/generator/main.cpp @@ -35,6 +35,7 @@ #include <iostream> #include <apiextractor.h> #include <fileout.h> +#include <typedatabase.h> #include "generator.h" #include "shibokenconfig.h" #include "cppgenerator.h" @@ -627,7 +628,8 @@ int main(int argc, char *argv[]) if (!extractor.classCount()) qCWarning(lcShiboken) << "No C++ classes found!"; - qCDebug(lcShiboken) << extractor; + qCDebug(lcShiboken) << extractor << '\n' + << *TypeDatabase::instance(); for (const GeneratorPtr &g : qAsConst(generators)) { g->setOutputDirectory(outputDirectory); |