Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. module "QtQuick" version 2.11 is not installed
Forum Updated to NodeBB v4.3 + New Features

module "QtQuick" version 2.11 is not installed

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 5.5k Views 3 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.
  • O Offline
    O Offline
    oltem4682
    wrote on last edited by
    #1

    So I just installed a SDDM theme on my Debian 9 and it threw

    error module "QtQuick" version 2.11 is not installed
    

    I've installed qt5-default via my package manager and also installed qml and qml-module-qtquick-controls
    That didn't fix the issue so I removed it (kept qtchooser), installed qt5.11.3 from source with Desktop gcc 64-bit, setting it up with qtchooser and setting the variable QT_SELECT in my .bashrc and current terminal.

    But I still got the same error.
    I never used Qt or any of it's modules/APIs so I'm not sure how to install and setup Qt and QtQuick to get my SDDM theme to work so could somebody point me in the right direction?
    That would be great.

    Thanks

    If you need more info tell me and I'll post it.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Inform Debian packagers or SDDM maintainers that they have this problem, it's something they should fix.

      Qt 5.11 should be enough, so what you did seems correct. I suppose that SDDM is started pretty early on when your PC boots up, it might be before qtchooser starts being effective (just guessing here, I've never used qtchooser). Check /usr/lib for Qt libraries, perhaps if you add some symlinks there SDDM will pick them up. But that is a surgery on a living system, it might break other parts of your installation.

      (Z(:^

      O 1 Reply Last reply
      2
      • O Offline
        O Offline
        oltem4682
        wrote on last edited by
        #3

        Thanks I'll try that and keep you posted.
        I don't mind performing surgery on my life system since this isn't my main one and I just started to set it up, so I got nothing to lose.

        1 Reply Last reply
        0
        • sierdzioS sierdzio

          Inform Debian packagers or SDDM maintainers that they have this problem, it's something they should fix.

          Qt 5.11 should be enough, so what you did seems correct. I suppose that SDDM is started pretty early on when your PC boots up, it might be before qtchooser starts being effective (just guessing here, I've never used qtchooser). Check /usr/lib for Qt libraries, perhaps if you add some symlinks there SDDM will pick them up. But that is a surgery on a living system, it might break other parts of your installation.

          O Offline
          O Offline
          oltem4682
          wrote on last edited by oltem4682
          #4

          @sierdzio after linking the Qt libraries it still wouldn't work.
          That said, I'm curious where SDDM or an executed qml file looks for it's modules.

          I've also seen online that qml files also look in their own directory for modules etc., this is either false or it didn't pickup the libs that I linked.
          I also read something about the QML_IMPORT_PATH (and QML2_IMPORT_PATH) variable which isn't set at all when I try to echo $QML_IMPORT_PATH (or echo $QML2_IMPORT_PATH)

          So my question right now is where does a qml file (or SDDM) look for their (Qt) modules.
          I don't know if this question belongs here. If it doesn't tell me and I'll bother SDDM with this. xD

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            Official search path are listed here: https://doc.qt.io/qt-5/qtqml-syntax-imports.html#qml-import-path although it does not specify the paths exactly. I guess you'd have to run QLibraryInfo::Qml2ImportsPath in a simple test app to see what path will be returned. In any case, it seems like a SDDM thing.

            (Z(:^

            O 1 Reply Last reply
            1
            • sierdzioS sierdzio

              Official search path are listed here: https://doc.qt.io/qt-5/qtqml-syntax-imports.html#qml-import-path although it does not specify the paths exactly. I guess you'd have to run QLibraryInfo::Qml2ImportsPath in a simple test app to see what path will be returned. In any case, it seems like a SDDM thing.

              O Offline
              O Offline
              oltem4682
              wrote on last edited by
              #6

              @sierdzio Would love the run that. But I have no idea how since, again, I have no experience (yet) with Qt or QML.
              Also yeah I've seen that page and if I have to believe that then it's a SDDM thing.

              I'll contact them, thanks.

              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