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. Cannot load QtQuick.Controls

Cannot load QtQuick.Controls

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 4 Posters 2.0k Views 2 Watching
  • 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.
  • G Offline
    G Offline
    GrahamLa
    wrote on last edited by
    #1

    Hi
    My project is built with Desktop_Qt_5_12_2_MinGW_32_bit-Debug
    and uses the TreeView from Controls 1

    import QtQuick.Controls 1.4
    

    It compiles cleanly but when I run it I get

    qrc:/SimulatorPage.qml:3:1: plugin cannot be loaded for module "QtQuick.Controls": Cannot load library C:\Qt\5.12.2\mingw73_32\qml\QtQuick\Controls\qtquickcontrolsplugind.dll: Not enough memory resources are available to process this command.
    

    Any ideas as to why this happens?

    J.HilkJ 1 Reply Last reply
    0
    • G GrahamLa

      Hi
      My project is built with Desktop_Qt_5_12_2_MinGW_32_bit-Debug
      and uses the TreeView from Controls 1

      import QtQuick.Controls 1.4
      

      It compiles cleanly but when I run it I get

      qrc:/SimulatorPage.qml:3:1: plugin cannot be loaded for module "QtQuick.Controls": Cannot load library C:\Qt\5.12.2\mingw73_32\qml\QtQuick\Controls\qtquickcontrolsplugind.dll: Not enough memory resources are available to process this command.
      

      Any ideas as to why this happens?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @GrahamLa said in Cannot load QtQuick.Controls:

      Any ideas as to why this happens?

      from the error message you posted

      Not enough memory resources are available to process this command.

      I would say you're running out of memory?


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      G 1 Reply Last reply
      0
      • J.HilkJ J.Hilk

        @GrahamLa said in Cannot load QtQuick.Controls:

        Any ideas as to why this happens?

        from the error message you posted

        Not enough memory resources are available to process this command.

        I would say you're running out of memory?

        G Offline
        G Offline
        GrahamLa
        wrote on last edited by
        #3

        @J.Hilk
        No I am not running out of memory

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Yet that's the message you are getting and it's something possible since you are building a 32bit application.

          Did you check the resources used by your application ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          G 1 Reply Last reply
          1
          • SGaistS SGaist

            Hi,

            Yet that's the message you are getting and it's something possible since you are building a 32bit application.

            Did you check the resources used by your application ?

            G Offline
            G Offline
            GrahamLa
            wrote on last edited by
            #5

            @SGaist
            I am only able to build 64 bit applications which is ok for me now

            Pradeep P NP 1 Reply Last reply
            0
            • G GrahamLa

              @SGaist
              I am only able to build 64 bit applications which is ok for me now

              Pradeep P NP Offline
              Pradeep P NP Offline
              Pradeep P N
              wrote on last edited by
              #6

              Hi @GrahamLa

              I had the same issue,
              Deleting the pro.user file and clean & rebuild helped me to resolve the issue.
              I am using Qt 5.12.5

              Did you find any other solution for 32 bit build ?

              All the best.

              Pradeep Nimbalkar.
              Upvote the answer(s) that helped you to solve the issue...
              Keep code clean.

              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