I am trying to get Bacon2D running on sailfish os, armv7|i486. Therefore, I compiled Bacon2D for my corresponding target in Qt Creator and added it as private qml module in my harbour sailfish project.
├── qml │ ├── Bacon2D │ │ ├── Boundaries.qml │ │ ├── BoxBody.qml │ │ ├── ChainBody.qml │ │ ├── CircleBody.qml │ │ ├── EdgeBody.qml │ │ ├── ImageBoxBody.qml │ │ ├── PhysicsEntity.qml │ │ ├── PolygonBody.qml │ │ ├── RectangleBoxBody.qml │ │ ├── libbacon2dplugin.so / either armv7 or i486 │ │ └── qmldir │ ├── main.qml Further, I added the qml to the import path. view->engine()->addImportPath("/usr/share/harbour-sailrun/qml”); The demo game looks like: import QtQuick 2.1 import Sailfish.Silica 1.0 import Bacon2D 1.0 Page { Game { id: game anchors.centerIn: parent height: 680 width: 440 gameName: "my-game" } } So far so good, the module is found by the runtime and the imports work without any compiler or runtime issues. However, after I launched the sailfish application, it exists with a segmentation fault error. [D] DeclarativeCoverWindow::DeclarativeCoverWindow:63 - DeclarativeCoverWindow: I have a default alpha buffer bash: line 1: 3772 Segmentation fault DISPLAY=:0.0 QT_NO_JOURNALD_LOG=1 /usr/bin/harbour-sailrun Application finished with exit code 139. The demo project is here: https://github.com/abertschi/sailrun.git, branch bacon2d Bacon2D QML Game engine: https://github.com/Bacon2D/Bacon2D Any help would be very appreciated. Happy Easter. andrin bertschi
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org