diff options
author | Ken Moore <ken@ixsystems.com> | 2017-10-10 10:24:50 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-10-10 10:24:50 -0400 |
commit | 7f013d766723468f4c4785411dcf5d42694cec3b (patch) | |
tree | 763a25026b6a0ea09fec3823cdaeeb9483f2b57f /src-qt5/src-qml/test | |
parent | Remove the src-glwidgets tree. No longer needed since it has been replaced by... (diff) | |
download | lumina-7f013d766723468f4c4785411dcf5d42694cec3b.tar.gz lumina-7f013d766723468f4c4785411dcf5d42694cec3b.tar.bz2 lumina-7f013d766723468f4c4785411dcf5d42694cec3b.zip |
Fix up the QML test routine a bit, and add a couple works-in-progress for a new firefly screensaver.
Diffstat (limited to 'src-qt5/src-qml/test')
-rw-r--r-- | src-qt5/src-qml/test/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/src-qml/test/main.cpp b/src-qt5/src-qml/test/main.cpp index eabe7dc5..e65c599f 100644 --- a/src-qt5/src-qml/test/main.cpp +++ b/src-qt5/src-qml/test/main.cpp @@ -1,6 +1,6 @@ #include <QDebug> #include <QApplication> -#include <QQuickWidget> +#include <QQuickView> int main(int argc, char** argv){ QString QMLFile; @@ -14,7 +14,8 @@ int main(int argc, char** argv){ } QApplication A(argc,argv); qDebug() << "Creating base widget"; - QQuickWidget base; + QQuickView base; + base.setResizeMode(QQuickView::SizeRootObjectToView); qDebug() << "Resize base widget"; base.resize(1024,768); qDebug() << "Load QML File:" << QMLFile; |