diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2019-12-26 13:34:18 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-01-21 20:09:47 +0200 |
commit | 547a96ec582a2fd4e68307451245fbb8c529a907 (patch) | |
tree | e5d11e8cf250aabe14d8aebeb7a6ebe149549c83 | |
parent | 9e97727103f761474a70d5aef4cbfbc32562b4c0 (diff) |
Debug for QML components
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I68f2fbb7ac96c16232a53333f4cd677b62dcfeb1
-rw-r--r-- | homescreen/src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/homescreen/src/main.cpp b/homescreen/src/main.cpp index 90027e3..901799c 100644 --- a/homescreen/src/main.cpp +++ b/homescreen/src/main.cpp @@ -191,8 +191,13 @@ int main(int argc, char *argv[]) context->setContextProperty("shell", new Shell(shell, &a)); QQmlComponent bg_comp(&engine, QUrl("qrc:/background.qml")); + qInfo() << bg_comp.errors(); + QQmlComponent top_comp(&engine, QUrl("qrc:/toppanel.qml")); + qInfo() << top_comp.errors(); + QQmlComponent bot_comp(&engine, QUrl("qrc:/bottompanel.qml")); + qInfo() << bot_comp.errors(); for (QScreen *screen : qApp->screens()) { struct wl_output *output; |