Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Error: 'Failed to extract plugin meta data'

Error: 'Failed to extract plugin meta data'

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlqtquickpyside2raspberrypi
2 Posts 2 Posters 2.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.
  • R Offline
    R Offline
    raphasauer
    wrote on 30 Apr 2021, 16:38 last edited by
    #1

    Hello everyone. I am trying to build a Qt application with PySide2 to be used on a Raspberry Pi. I'm programming on a Linux machine, with no problems. When I try to run the code on the Raspberry, I get the following error:

    main.qml:1 plugin cannot be loaded for module "QtQuick": Failed to extract plugin meta data from '/opt/Qt/5.15.2/qml/QtQuick.2/libqtquick2plugin.so'
    

    On main.py, I set the QML import path as:

    engine = QQmlApplicationEngine()
    engine.addImportPath("/opt/Qt/5.15.2/qml/")
    
    

    The import line on main.qml that results in the error is:

    import QtQuick 2.15
    

    The Raspberry Pi has Qt 5.15.2 installed. I've tried searching for this error online, and I've came accross some posts mentioning Python 3.8 might be an issue on windows, however I am running Python 3.7.3. Do you know how could I fix this issue?

    Thanks for your time!

    F 1 Reply Last reply 14 Jun 2021, 08:44
    0
    • R raphasauer
      30 Apr 2021, 16:38

      Hello everyone. I am trying to build a Qt application with PySide2 to be used on a Raspberry Pi. I'm programming on a Linux machine, with no problems. When I try to run the code on the Raspberry, I get the following error:

      main.qml:1 plugin cannot be loaded for module "QtQuick": Failed to extract plugin meta data from '/opt/Qt/5.15.2/qml/QtQuick.2/libqtquick2plugin.so'
      

      On main.py, I set the QML import path as:

      engine = QQmlApplicationEngine()
      engine.addImportPath("/opt/Qt/5.15.2/qml/")
      
      

      The import line on main.qml that results in the error is:

      import QtQuick 2.15
      

      The Raspberry Pi has Qt 5.15.2 installed. I've tried searching for this error online, and I've came accross some posts mentioning Python 3.8 might be an issue on windows, however I am running Python 3.7.3. Do you know how could I fix this issue?

      Thanks for your time!

      F Offline
      F Offline
      FS93
      wrote on 14 Jun 2021, 08:44 last edited by
      #2

      @raphasauer I have the same issue. Could you solve it?

      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