Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef QT_QML_DEBUG
- #include <QtQuick>
- #endif
- #include <QGuiApplication>
- #include <QQuickView>
- #include <QtQml>
- #include <sailfishapp.h>
- #include "BusReader.h"
- int main(int argc, char *argv[])
- {
- // SailfishApp::main() will display "qml/template.qml", if you need more
- // control over initialization, you can use:
- //
- // - SailfishApp::application(int, char *[]) to get the QGuiApplication *
- // - SailfishApp::createView() to get a new QQuickView * instance
- // - SailfishApp::pathTo(QString) to get a QUrl to a resource file
- //
- // To display the view, call "show()" (will show fullscreen on device).
- // qmlRegisterType <BusReader> ( "com.saildev.components", 1, 0, "BusReader" );
- // return SailfishApp::main(argc, argv);
- QGuiApplication * q_application = SailfishApp :: application ( argc, argv );
- QQuickView * q_view = SailfishApp :: createView ( );
- qmlRegisterType <BusReader> ( "com.saildev.components", 1, 0, "BusReader" );
- q_view -> setSource ( SailfishApp :: pathTo ( "qml/pages/FirstPage.qml" ));
- q_view -> showFullScreen ( );
- return q_application -> exec ( );
- }
- [D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL
- [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Silica' does not contain a module identifier directive - it cannot be protected from external registrations.
- Unable to open input file: No such file or directory
- [W] QFeedbackFFMemless::initialiseEffects:289 - bool QFeedbackFFMemless::initialiseEffects() Error: did not find vibra spi device!
- [W] unknown:393 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/PulleyMenuBase.qml:393: ReferenceError: __silica_applicationwindow_instance is not defined
- [W] unknown:108 - file:///usr/lib/qt5/qml/Sailfish/Silica/Page.qml:108: ReferenceError: __silica_applicationwindow_instance is not defined
- [W] unknown:94 - file:///usr/lib/qt5/qml/Sailfish/Silica/Page.qml:94: ReferenceError: __silica_applicationwindow_instance is not defined
- [W] unknown:176 - file:///usr/lib/qt5/qml/Sailfish/Silica/Page.qml:176: ReferenceError: __silica_applicationwindow_instance is not defined
- [W] unknown:331 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/PulleyMenuBase.qml:331: ReferenceError: __silica_applicationwindow_instance is not defined
- [W] unknown:43 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageHeader.qml:43: ReferenceError: pageStack is not defined
- [W] unknown:134 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/TextBase.qml:134: ReferenceError: __silica_applicationwindow_instance is not defined
Advertisement
Add Comment
Please, Sign In to add comment