Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qt5.4 with platform eglfs is Segmentation fault
Qt 6.11 is out! See what's new in the release blog

qt5.4 with platform eglfs is Segmentation fault

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Y.L Chiu
    wrote on last edited by
    #1

    Hello, I have a question.

    I use qt5.4 example on my imx6 board, then commad:

    ./usr/local/qt5/examples/widgets/richtext/textedit/textedit  -platform linuxfb -plugin tslib 
    

    My board screen could show the "textedit".

    But, if I command:

    ./usr/local/qt5/examples/widgets/richtext/textedit/textedit  -platform eglfs -plugin tslib 
    

    The textedit application isn't work, and I got error:

    Segmentation fault
    

    I check /usr/local/qt5/plugins/platforms/, there are:

    libqdirectfb.so  libqeglfs.so  libqlinuxfb.so  libqminimalegl.so  libqminimal.so  libqoffscreen.so
    

    I command export QT_DEBUG_PLUGINS=1, then run textedit with platform eglfs, I got the message:

    
    
    root@freescale /usr/local/qt5$ ./examples/widgets/richtext/textedit/textedit -platform egl
    fs -plugin EvdevMouse
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/qt5/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqdirectfb.so"
    Found metadata in lib /usr/local/qt5/plugins/platforms/libqdirectfb.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "directfb",
                "directfbegl"
            ]
        },
        "className": "QDirectFbIntegrationPlugin",
        "debug": false,
        "version": 328704
    }
    
    
    Got keys from plugin meta data ("directfb", "directfbegl")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqeglfs.so"
    Found metadata in lib /usr/local/qt5/plugins/platforms/libqeglfs.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "eglfs"
            ]
        },
        "className": "QEglFSIntegrationPlugin",
        "debug": false,
        "version": 328704
    }
    
    
    Got keys from plugin meta data ("eglfs")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqlinuxfb.so"
    Found metadata in lib /usr/local/qt5/plugins/platforms/libqlinuxfb.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "linuxfb"
            ]
        },
        "className": "QLinuxFbIntegrationPlugin",
        "debug": false,
        "version": 328704
    }
    
    
    Got keys from plugin meta data ("linuxfb")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqminimal.so"
    Found metadata in lib /usr/local/qt5/plugins/platforms/libqminimal.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "className": "QMinimalIntegrationPlugin",
        "debug": false,
        "version": 328704
    }
    
    
    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqminimalegl.so"
    Found metadata in lib /usr/local/qt5/plugins/platforms/libqminimalegl.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "minimalegl"
            ]
        },
        "className": "QMinimalEglIntegrationPlugin",
        "debug": false,
        "version": 328704
    }
    
    
    Got keys from plugin meta data ("minimalegl")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqoffscreen.so"
    Found metadata in lib /usr/local/qt5/plugins/platforms/libqoffscreen.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "className": "QOffscreenIntegrationPlugin",
        "debug": false,
        "version": 328704
    }
    
    
    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/qt5/examples/widgets/richtext/textedit/platforms" ...
    loaded library "/usr/local/qt5/plugins/platforms/libqeglfs.so"
    Segmentation fault
    
    

    Is the error have any patch to fix it ?
    If you know the answer. Please help me, thx.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisTof
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved