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. Qt Browser on Imx6ULL
Forum Updated to NodeBB v4.3 + New Features

Qt Browser on Imx6ULL

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 1.1k 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.
  • F Offline
    F Offline
    FVKamlesh
    wrote on last edited by
    #1

    Hello Everyone,
    I am working on developing a lightweight browser on Qt5.9 on the imx6ull board. The board details are given below on the link
    https://www.emcraft.com/products/777
    I completed the activities as below

    1. Downloaded the Qt5.9 source code and cross compiled with the Emcraft toolchain.
    2. The Qt5.9 example browser code (fancybrowser) is also cross compiled with the Emcraft toolchain. The libraries were linked to the Qt5.9 libs generated from Step 1.

    I executed the browser example , but it gave the below issue

    [Code]
    QML debugging is enabled. Only use this in a safe environment.
    QFactoryLoader::QFactoryLoader() checking directory path "/mnt/home/qt591emcraftlib/BIN/platforms/platforms" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/mnt/home/qt591emcraftlib/BIN/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "/mnt/home/qt591emcraftlib/BIN/platforms/libqlinuxfb.so"
    Found metadata in lib /mnt/home/qt591emcraftlib/BIN/platforms/libqlinuxfb.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "linuxfb"
    ]
    },
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 329985
    }

    Got keys from plugin meta data ("linuxfb")
    QFactoryLoader::QFactoryLoader() looking at "/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0"
    QElfParser: '/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0' is an invalid ELF object (empty .rodata. not a library.)
    "'/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0' is an invalid ELF object (empty .rodata. not a library.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1"
    QElfParser: '/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1' is an invalid ELF object (empty .rodata. not a library.)
    "'/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1' is an invalid ELF object (empty .rodata. not a library.)"
    not a plugin
    SEGV
    [/Code]
    Let me know if I miss anything

    jsulmJ 1 Reply Last reply
    0
    • F FVKamlesh

      Hello Everyone,
      I am working on developing a lightweight browser on Qt5.9 on the imx6ull board. The board details are given below on the link
      https://www.emcraft.com/products/777
      I completed the activities as below

      1. Downloaded the Qt5.9 source code and cross compiled with the Emcraft toolchain.
      2. The Qt5.9 example browser code (fancybrowser) is also cross compiled with the Emcraft toolchain. The libraries were linked to the Qt5.9 libs generated from Step 1.

      I executed the browser example , but it gave the below issue

      [Code]
      QML debugging is enabled. Only use this in a safe environment.
      QFactoryLoader::QFactoryLoader() checking directory path "/mnt/home/qt591emcraftlib/BIN/platforms/platforms" ...
      QFactoryLoader::QFactoryLoader() checking directory path "/mnt/home/qt591emcraftlib/BIN/platforms" ...
      QFactoryLoader::QFactoryLoader() looking at "/mnt/home/qt591emcraftlib/BIN/platforms/libqlinuxfb.so"
      Found metadata in lib /mnt/home/qt591emcraftlib/BIN/platforms/libqlinuxfb.so, metadata=
      {
      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
      "MetaData": {
      "Keys": [
      "linuxfb"
      ]
      },
      "className": "QLinuxFbIntegrationPlugin",
      "debug": false,
      "version": 329985
      }

      Got keys from plugin meta data ("linuxfb")
      QFactoryLoader::QFactoryLoader() looking at "/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0"
      QElfParser: '/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0' is an invalid ELF object (empty .rodata. not a library.)
      "'/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0' is an invalid ELF object (empty .rodata. not a library.)"
      not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1"
      QElfParser: '/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1' is an invalid ELF object (empty .rodata. not a library.)
      "'/mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1' is an invalid ELF object (empty .rodata. not a library.)"
      not a plugin
      SEGV
      [/Code]
      Let me know if I miss anything

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @FVKamlesh said in Qt Browser on Imx6ULL:

      /mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0' is an invalid ELF object

      This looks like you copied libs for x86 to your device or this lib is corrupted.
      Do the following:

      file /mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1
      

      and post the output here.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • F Offline
        F Offline
        FVKamlesh
        wrote on last edited by
        #3

        @jsulm said in Qt Browser on Imx6ULL:

        file /mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1

        Actually we copied the libudev libraries from the toolchain provided by the Emcraft
        link :https://www.emcraft.com/component/jdownloads/view.download/85/874

        The output of the file libudev.so.0.13.1
        ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=a530642382e86d468262bf2c6303d0d74c0e2c77, stripped

        jsulmJ 1 Reply Last reply
        0
        • F FVKamlesh

          @jsulm said in Qt Browser on Imx6ULL:

          file /mnt/home/qt591emcraftlib/BIN/platforms/libudev.so.0.13.1

          Actually we copied the libudev libraries from the toolchain provided by the Emcraft
          link :https://www.emcraft.com/component/jdownloads/view.download/85/874

          The output of the file libudev.so.0.13.1
          ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=a530642382e86d468262bf2c6303d0d74c0e2c77, stripped

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @FVKamlesh Strange. What does

          file YOUR_EXECUTABLE
          

          say?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • F Offline
            F Offline
            FVKamlesh
            wrote on last edited by
            #5

            I cross compiled the libudev library and copied the library on the /usr/lib
            That made the above issue FIXED.

            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