Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem rendering 3D mesh in embedded device



  • Hello everyone,
    I'm using QT Creator to test applications on an mbedded device, the Toradex Apalis iMX6 with Boot2QT as OS.
    I'm having problems displaying 3d models in the device, if I compile for Desktop everything works normally, but when I load the program on the board the 3d model is not rendered.
    Any idea?


  • Lifetime Qt Champion

    Hi,

    Might be a silly question but did you deploy the models on the device ? Or are they embedded within your binary ?



  • The model was loaded in the project on QT Creator, when i build for pc it works, but deploy don't. Even if i use an integrated CuboidMesh it doesn't display


  • Lifetime Qt Champion

    Did you got any error/warning messages when running your application ?



  • This is what it outputs to me when i deploy to the board:
    <--
    "FB_MULTI_BUFFER" "2"
    "QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
    "QTWEBENGINE_DISABLE_SANDBOX" "1"
    "QT_GSTREAMER_CAMERABIN_VIDEOSRC" "mxc_v4l2=imxv4l2videosrc,v4l2src"
    "QT_IM_MODULE" "qtvirtualkeyboard"
    "QT_QPA_EGLFS_FORCEVSYNC" "1"
    "QT_QPA_EGLFS_PHYSICAL_HEIGHT" "137"
    "QT_QPA_EGLFS_PHYSICAL_WIDTH" "218"
    "QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS" "/dev/input/event0"
    "QT_QUICK_CONTROLS_1_STYLE" "Flat"
    "XDG_RUNTIME_DIR" "/run/user/0"
    "/usr/share/examples/qt3d/simple-qml/simple-qml" ()
    QML debugging is enabled. Only use this in a safe environment.
    -->


  • Lifetime Qt Champion

    Are you building the application directly on the module ?


Log in to reply