Qt5.4 MiniBrowser not executing properly



  • hi there

    I am trying out the MiniBrowser in Qt5.4 and I get an error while running it.
    The output is as follows:
    @
    ./MiniBrowser -platform eglfs -plugin evdevmouse:/dev/event1 <some IP>

    WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
    WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

    qrc:///qml/BrowserWindow.qml:92:9: QML Connections: Cannot assign to non-existent property "onTextFound"
    <Unknown File>:
    <Unknown File>:
    <Unknown File>:
    <Unknown File>:
    ...
    @

    I'm not sure what is happening here as I am a bit lost in QML.
    The screen goes black and the only object seen on the screen is some black circular figure in the top left corner !!!

    Here is the output with QML_IMPORT_TRACE=1:
    @
    QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
    If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
    QQmlImportDatabase::addImportPath: "/usr/qml"
    QQmlImportDatabase::addImportPath: "/usr/share/qt5-pluto/qml/"
    QQmlImportDatabase::addImportPath: "/root"
    QQmlImportDatabase::addImportPath: "/root"
    QQmlImports(qrc:///qml/BrowserWindow.qml)::addLibraryImport: "QtQuick" 2.0 as ""
    QQmlImports(qrc:///qml/BrowserWindow.qml)::importExtension: loaded "/usr/share/qt5-pluto/qml/QtQuick.2/qmldir"
    QQmlImportDatabase::registerPluginTypes: "QtQuick" from "/usr/share/qt5-pluto/qml/QtQuick.2"
    QQmlImports(qrc:///qml/BrowserWindow.qml)::addLibraryImport: "QtWebKit" 3.0 as ""
    QQmlImports(qrc:///qml/BrowserWindow.qml)::importExtension: loaded "/usr/share/qt5-pluto/qml/QtWebKit/qmldir"
    QQmlImportDatabase::registerPluginTypes: "QtWebKit" from "/usr/share/qt5-pluto/qml/QtWebKit"
    QQmlImports(qrc:///qml/BrowserWindow.qml)::addLibraryImport: "QtWebKit.experimental" 1.0 as ""
    QQmlImports(qrc:///qml/BrowserWindow.qml)::importExtension: loaded "/usr/share/qt5-pluto/qml/QtWebKit/experimental/qmldir"
    QQmlImportDatabase::registerPluginTypes: "QtWebKit.experimental" from "/usr/share/qt5-pluto/qml/QtWebKit/experimental"

    WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
    WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

    QQmlImports(qrc:///qml/BrowserWindow.qml)::addImplicitImport
    QQmlImports(qrc:///qml/BrowserWindow.qml)::resolveType: "ProxyAuthenticationDialog" => "" QUrl("qrc:///qml/ProxyAuthenticationDialog.qml") TYPE/URL
    QQmlImports(qrc:///qml/ProxyAuthenticationDialog.qml)::addLibraryImport: "QtQuick" 2.0 as ""
    QQmlImports(qrc:///qml/ProxyAuthenticationDialog.qml)::importExtension: loaded "/usr/share/qt5-pluto/qml/QtQuick.2/qmldir"
    QQmlImports(qrc:///qml/ProxyAuthenticationDialog.qml)::addImplicitImport
    QQmlImports(qrc:///qml/ProxyAuthenticationDialog.qml)::resolveType: "AuthenticationDialog" => "" QUrl("qrc:///qml/AuthenticationDialog.qml") TYPE/URL
    ...
    ...
    QUrl("qrc:///qml/ConfirmDialog.qml") TYPE/URL
    QQmlImports(qrc:///qml/ConfirmDialog.qml)::addLibraryImport: "QtQuick" 2.0 as ""
    QQmlImports(qrc:///qml/ConfirmDialog.qml)::importExtension: loaded "/usr/share/qt5-pluto/qml/QtQuick.2/qmldir"
    QQmlImports(qrc:///qml/ConfirmDialog.qml)::resolveType: "Row" => "QQuickRow" TYPE
    QQmlImports(qrc:///qml/ConfirmDialog.qml)::addImplicitImport
    QQmlImports(qrc:///qml/ConfirmDialog.qml)::resolveType: "DialogButton" => "" QUrl("qrc:///qml/DialogButton.qml") TYPE/URL
    QQmlImports(qrc:///qml/ConfirmDialog.qml)::resolveType: "Dialog" => "" QUrl("qrc:///qml/Dialog.qml") TYPE/URL
    QQmlImports(qrc:///qml/BrowserWindow.qml)::resolveType: "TextInput" => "QQuickTextInput" TYPE
    QQmlImports(qrc:///qml/BrowserWindow.qml)::resolveType: "TextInput" => "QQuickTextInput" TYPE
    qrc:///qml/BrowserWindow.qml:92:9: QML Connections: Cannot assign to non-existent property "onTextFound"
    <Unknown File>:
    <Unknown File>:
    <Unknown File>:
    <Unknown File>:
    ..
    @

    regards
    Einar



  • After downloading and compiling Qt5.4-beta I got a little further but now it crashes shortly after starting like:
    @
    ./MiniBrowser -platform eglfs <some IP>
    QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
    If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
    Unable to query physical screen size, defaulting to 100 dpi.
    To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).

    WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
    WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

    Unable to query physical screen size, defaulting to 100 dpi.
    To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
    *** glibc detected *** ./MiniBrowser: realloc(): invalid pointer: 0x5e238000 ***
    Aborted (core dumped)
    @

    It creates a core file called QSGRenderThread (that's my core pattern) and the stack trace is:
    @
    #0 0x72820276 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
    #1 0x7282de82 in raise () from /lib/arm-linux-gnueabihf/libc.so.6
    #2 0x7283025c in abort () from /lib/arm-linux-gnueabihf/libc.so.6
    #3 0x728545c0 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
    #4 0x728545c0 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
    Backtrace stopped: previous frame identical to this frame (corrupt stack?)
    @

    Not much to see there so I figure maybe someone else has experienced similar crashes ?

    regards
    Einar


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.