diff options
author | Luiz Agostini <luiz.agostini@gmail.com> | 2011-07-08 19:22:44 -0300 |
---|---|---|
committer | Luiz Agostini <luiz.agostini@gmail.com> | 2011-07-11 13:55:10 -0300 |
commit | 9c8410ff033a0e19f856818d5f9fef47c7eb1797 (patch) | |
tree | c3a59f8903f8042e8808ebbef156f1d200e94abb /snowshoe.pro | |
parent | 4a54d01318ab331ff6d070ddcaa44f5ae4e87063 (diff) |
Creating a Qml wrapper for QDesktopWebView.
The Qml wrapper for QDesktopWebView was named DeclarativeDesktopWebView.
PageGraphicsView class was removed and a new one named MainView that inherits
form QDeclarativeView was added. The idea is that MainView will grow until it
contains the whole UI.
To create a plugin for the new Qml elements will be a future step.
Diffstat (limited to 'snowshoe.pro')
-rw-r--r-- | snowshoe.pro | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/snowshoe.pro b/snowshoe.pro index d3311e2..7cf7bef 100644 --- a/snowshoe.pro +++ b/snowshoe.pro @@ -1,18 +1,22 @@ TEMPLATE = app TARGET = snowshoe +QT += declarative + SOURCES += \ main.cpp \ BrowserWindow.cpp \ CrashGraphicsItem.cpp \ - PageGraphicsView.cpp \ + MainView.cpp \ PageWidget.cpp \ + DeclarativeDesktopWebView.cpp \ HEADERS += \ BrowserWindow.h \ CrashGraphicsItem.h \ - PageGraphicsView.h \ + MainView.h \ PageWidget.h \ + DeclarativeDesktopWebView.h \ RESOURCES += \ snowshoe.qrc @@ -54,3 +58,6 @@ macx { unix : QMAKE_RPATHDIR = $$WEBKIT_BUILD_DIR/lib $$QMAKE_RPATHDIR LIBS += -lQtWebKit } + +OTHER_FILES += \ + qml/main.qml |