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. qrc:/main.qml: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered
Forum Updated to NodeBB v4.3 + New Features

qrc:/main.qml: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 1 Posters 4.5k 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.
  • P Offline
    P Offline
    Praveen.Illa
    wrote on last edited by Praveen.Illa
    #1

    Hi All,

    I am facing a different issue after including the statement “import QtQuick.Controls 2.x” in main.qml . The below error is coming while running
    qrc:/main.qml: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered
    c8b3f0c0-09f4-4244-b758-a9eb134aded3-image.png

    Attaching Qt related installation files for your reference:
    Bin folder (/usr/local/Qt-5.15.1/bin)
    1dc3de35-7cd8-46e3-8290-ed4d84c75cc9-image.png

    Qml folder (/usr/local/Qt-5.15.1/qml/QtQuick.2)
    d285aaae-d3ad-4c6e-9ea3-860b08d59c45-image.png

    Can anyone please suggest or can give some inputs?

    P 2 Replies Last reply
    0
    • P Praveen.Illa

      Hi All,

      I am facing a different issue after including the statement “import QtQuick.Controls 2.x” in main.qml . The below error is coming while running
      qrc:/main.qml: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered
      c8b3f0c0-09f4-4244-b758-a9eb134aded3-image.png

      Attaching Qt related installation files for your reference:
      Bin folder (/usr/local/Qt-5.15.1/bin)
      1dc3de35-7cd8-46e3-8290-ed4d84c75cc9-image.png

      Qml folder (/usr/local/Qt-5.15.1/qml/QtQuick.2)
      d285aaae-d3ad-4c6e-9ea3-860b08d59c45-image.png

      Can anyone please suggest or can give some inputs?

      P Offline
      P Offline
      Praveen.Illa
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • P Praveen.Illa

        Hi All,

        I am facing a different issue after including the statement “import QtQuick.Controls 2.x” in main.qml . The below error is coming while running
        qrc:/main.qml: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered
        c8b3f0c0-09f4-4244-b758-a9eb134aded3-image.png

        Attaching Qt related installation files for your reference:
        Bin folder (/usr/local/Qt-5.15.1/bin)
        1dc3de35-7cd8-46e3-8290-ed4d84c75cc9-image.png

        Qml folder (/usr/local/Qt-5.15.1/qml/QtQuick.2)
        d285aaae-d3ad-4c6e-9ea3-860b08d59c45-image.png

        Can anyone please suggest or can give some inputs?

        P Offline
        P Offline
        Praveen.Illa
        wrote on last edited by Praveen.Illa
        #3

        @Praveen-Illa
        I have found the solution. The solution is reconfigured the command line with QtGraphicalEffects and rebuild the complete Qt sources. Qt Quick uses QtGraphicalEffects module.

        Thanks to all for supporting

        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