Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. "QtQuick" The specified module could not be found
QtWS25 Last Chance

"QtQuick" The specified module could not be found

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtquickmodulewindows 10
1 Posts 1 Posters 1.8k 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.
  • A Offline
    A Offline
    athan_david
    wrote on 24 Aug 2016, 17:39 last edited by athan_david
    #1

    I'm trying to compile a project on Windows 10 Pro 64 bit using Qt 5.7 MinGW 5.3.0. but I encounter the following error:

    qrc:/main.qml:25 plugin cannot be loaded for module "QtQuick": Cannot load library C:\Qt\Qt5.7.0\5.7\mingw53_32\qml\QtQuick.2\qtquick2plugind.dll: The specified module could not be found.
    

    I've checked the path and the file is there but seems that for some reason is unable to find/load it.

    Here is the main.qml:

    import QtQuick 2.2
    import QtQuick.Window 2.1
    
    Window {
        id: windowID
        visible: true
        width: 800
        height: 600
    
        minimumHeight: 600
        minimumWidth: 800
    
        // other componenets
    }
    

    .pro file:

    TEMPLATE = app
    
    QT += qml quick widgets network concurrent
    
    SOURCES += // list of sources
    
    RESOURCES += qml.qrc
    
    CONFIG += c++11
    
    linux {
        // includes + libs paths
    } win32 {
        // includes + libs paths
    } macx {
        // includes + libs paths
    }
    
    # Additional import path used to resolve QML modules in Qt Creator's code model
    QML_IMPORT_PATH += "UI"
    
    # Default rules for deployment.
    include(deployment.pri)
    
    HEADERS += // list of headers
    

    The project builds successfully on Ubuntu 16.04 LTS with Qt 5.7 64 bits and OS X El Capital with Qt 5.7 64 bits.
    What I've tried so far:

    • Qt 5.5.1, 5.4.2 and 5.4.0 on Windows 10 Pro 64 bits.
    • Qt 5.7 and 5.4.0 on Windows 8 Pro 64 bits.
    • created an empty project with Qt 5.7 on Windows 10 and the it ran without any issues.
    • copied the file in the build folder but this time it specifies the build path:
    qrc:/main.qml:25 plugin cannot be loaded for module "QtQuick": Cannot load library \PATH\TO\BUILD\build-${PROJECT-NAME}-Desktop_Qt_5_7_0_MinGW_32bit-Debug\debug\QtQuick.2\qtquick2plugind.dll: The specified module could not be found.
    
    1 Reply Last reply
    0

    1/1

    24 Aug 2016, 17:39

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved