Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Error (The specified module could not be found / plugin cannot be loaded for module "QtQuick")
QtWS25 Last Chance

Error (The specified module could not be found / plugin cannot be loaded for module "QtQuick")

Scheduled Pinned Locked Moved Unsolved Qt for Python
pyside2qt for pythonpythonpyside
2 Posts 2 Posters 1.4k 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
    Ryuyxx
    wrote on 2 Jan 2021, 16:10 last edited by Ryuyxx 1 Mar 2021, 13:46
    #1

    First, I'm Japanese, not fluent at English sorry.
    I started to learn Qt and currently stucking in this error.
    The important error content is garbled.
    I changed my Windows settings from Japanese to English, and the garbled characters were cured. Apparently, Qt does not support multiple languages(?).
    (I spent so long time,5~8h, to download Qt, don't wanna redownload tbh)

    Versoin

    • Windows 10

    • Python 3.9.1

    • Qt Creator 4.14.0
      Based on Qt 5.15.2 (MSVC 2019, 64 bit)
      Built: Dec 17 2020 07:57:20
      revision 909f74dc56

    • Using local environment

    #console  after
     plugin cannot be loaded for module "QtQuick": Cannot load library C:\Users\evrla\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\PySide2\qml\QtQuick.2\qtquick2plugin.dll: The specified module could not be found.
    

    #console before
    plugin cannot be loaded for module "QtQuick": ???C?u???? C:\Users\evrla\AppData\Local\Packages\PythonSoftwareFoun
    ~~dation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-~~packages\PySide2\qml\QtQuick.2\qtquick2plugin.dll ????????????: ?w???????W???[?????????????????B

    #main
    
    import sys
    from PySide2 import QtCore, QtWidgets
    from PySide2.QtQml import QQmlApplicationEngine
    from PySide2.QtCore import QUrl
    
    if __name__ == '__main__':
    
        app = QtWidgets.QApplication()
        engine = QQmlApplicationEngine()
        engine.load(QUrl("100_QtQuick_Window/100_QtQuick_Window.qml"))
    
        sys.exit(app.exec_())
    
    #100_QtQuick_Window.qml
    
    import QtQuick 2.12
    import QtQuick.Window 2.12
    
    Window {
        width: 640
        height: 480
        visible: true
        title: qsTr("Hello World")
    }
    

    System Info

    {noformat}
    Qt 5.15.2 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) on "windows" 
    OS: Windows 10 Version 2009 [winnt version 10.0.19042]
    
    Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
    
    Environment:
    
    Features: QT_NO_EXCEPTIONS
    
    Library info:
      PrefixPath: D:\QT\Tools\QtCreator\bin
      DocumentationPath: D:\QT\Tools\QtCreator\bin\doc
      HeadersPath: D:\QT\Tools\QtCreator\bin\include
      LibrariesPath: D:\QT\Tools\QtCreator\bin
      LibraryExecutablesPath: D:\QT\Tools\QtCreator\bin\bin
      BinariesPath: D:\QT\Tools\QtCreator\bin
      PluginsPath: D:\QT\Tools\QtCreator\bin\plugins
      ImportsPath: D:\QT\Tools\QtCreator\bin\imports
      Qml2ImportsPath: D:\QT\Tools\QtCreator\bin\qml
      ArchDataPath: D:\QT\Tools\QtCreator\bin
      DataPath: D:\QT\Tools\QtCreator\bin
      TranslationsPath: D:\QT\Tools\QtCreator\bin\translations
      ExamplesPath: D:\QT\Tools\QtCreator\bin\examples
      TestsPath: D:\QT\Tools\QtCreator\bin\tests
      SettingsPath: 
    
    Standard paths [*...* denote writable entry]:
      DesktopLocation: "Desktop" *C:\Users\evrla\Desktop*
      DocumentsLocation: "Documents" *C:\Users\evrla\Documents*
      FontsLocation: "Fonts" *C:\WINDOWS\Fonts*
      ApplicationsLocation: "Applications" *C:\Users\evrla\AppData\Roaming\Microsoft\Windows\Start Menu\Programs*
      MusicLocation: "Music" *C:\Users\evrla\Music*
      MoviesLocation: "Movies" *C:\Users\evrla\Videos*
      PicturesLocation: "Pictures" *C:\Users\evrla\Pictures*
      TempLocation: "Temporary Directory" *C:\Users\evrla\AppData\Local\Temp*
      HomeLocation: "Home" *C:\Users\evrla*
      AppLocalDataLocation: "Application Data" *C:\Users\evrla\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\QT\Tools\QtCreator\bin D:\QT\Tools\QtCreator\bin\data D:\QT\Tools\QtCreator\bin\data\QtProject\qtdiag
      CacheLocation: "Cache" *C:\Users\evrla\AppData\Local\QtProject\qtdiag\cache*
      GenericDataLocation: "Shared Data" *C:\Users\evrla\AppData\Local* C:\ProgramData D:\QT\Tools\QtCreator\bin D:\QT\Tools\QtCreator\bin\data
      RuntimeLocation: "Runtime" *C:\Users\evrla*
      ConfigLocation: "Configuration" *C:\Users\evrla\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\QT\Tools\QtCreator\bin D:\QT\Tools\QtCreator\bin\data D:\QT\Tools\QtCreator\bin\data\QtProject\qtdiag
      DownloadLocation: "Download" *C:\Users\evrla\Downloads*
      GenericCacheLocation: "Shared Cache" *C:\Users\evrla\AppData\Local\cache*
      GenericConfigLocation: "Shared Configuration" *C:\Users\evrla\AppData\Local* C:\ProgramData D:\QT\Tools\QtCreator\bin D:\QT\Tools\QtCreator\bin\data
      AppDataLocation: "Application Data" *C:\Users\evrla\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\QT\Tools\QtCreator\bin D:\QT\Tools\QtCreator\bin\data D:\QT\Tools\QtCreator\bin\data\QtProject\qtdiag
      AppConfigLocation: "Application Configuration" *C:\Users\evrla\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\QT\Tools\QtCreator\bin D:\QT\Tools\QtCreator\bin\data D:\QT\Tools\QtCreator\bin\data\QtProject\qtdiag
    
    File selectors (increasing order of precedence):
      ja_JP windows winnt
    
    Network:
      Using "OpenSSL 1.1.1d  10 Sep 2019", version: 0x1010104f
    
    Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable
    
    Style hints:
      mouseDoubleClickInterval: 500
      mousePressAndHoldInterval: 800
      startDragDistance: 10
      startDragTime: 500
      startDragVelocity: 0
      keyboardInputInterval: 400
      keyboardAutoRepeatRate: 32
      cursorFlashTime: 1060
      showIsFullScreen: 0
      showIsMaximized: 0
      passwordMaskDelay: 0
      passwordMaskCharacter: U+25CF
      fontSmoothingGamma: 1.2
      useRtlExtensions: 0
      setFocusOnTouchRelease: 0
      tabFocusBehavior: Qt::TabFocusAllControls 
      singleClickActivation: 0
    
    Additional style hints (QPlatformIntegration):
      ReplayMousePressOutsidePopup: 1
    
    Theme:
      Platforms requested : windows
                available : snap,flatpak,xdgdesktopportal
      Styles requested    : WindowsVista,Windows
             available    : windowsvista,Windows,Fusion
      System font         : "MS UI Gothic" 9
      Native file dialog
    
    Fonts:
      General font : "MS UI Gothic" 9
      Fixed font   : "Courier New" 9
      Title font   : "MS UI Gothic" 9
      Smallest font: "MS UI Gothic" 9
    
    Palette:
      QPalette::WindowText: #ff000000
      QPalette::Button: #fff0f0f0
      QPalette::Light: #ffffffff
      QPalette::Midlight: #ffe3e3e3
      QPalette::Dark: #ffa0a0a0
      QPalette::Mid: #ffa0a0a0
      QPalette::Text: #ff000000
      QPalette::BrightText: #ffffffff
      QPalette::ButtonText: #ff000000
      QPalette::Base: #ffffffff
      QPalette::Window: #fff0f0f0
      QPalette::Shadow: #ff696969
      QPalette::Highlight: #ff0078d7
      QPalette::HighlightedText: #ffffffff
      QPalette::Link: #ff0000ff
      QPalette::LinkVisited: #ffff00ff
      QPalette::AlternateBase: #ffe9e7e3
      QPalette::NoRole: #ff000000
      QPalette::ToolTipBase: #ffffffdc
      QPalette::ToolTipText: #ff000000
      QPalette::PlaceholderText: #80000000
    
    Screens: 2, High DPI scaling: inactive
    # 0 "\\.\DISPLAY1" Depth: 32 Primary: yes
      Manufacturer: 
      Model: 
      Serial number: 
      Geometry: 5120x2160+0+0 Available: 5120x2100+0+0
      Virtual geometry: 7040x2160+0+0 Available: 7040x2100+0+0
      2 virtual siblings
      Physical size: 800x330 mm  Refresh: 60 Hz Power state: 0
      Physical DPI: 162.56,166.255 Logical DPI: 144,144 Subpixel_None
      DevicePixelRatio: 1 Pixel density: 1
      Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
    
    # 1 "\\.\DISPLAY2" Depth: 32 Primary: no
      Manufacturer: 
      Model: 
      Serial number: 
      Geometry: 1920x1080+5120+0 Available: 1920x1040+5120+0
      Virtual geometry: 7040x2160+0+0 Available: 7040x2100+0+0
      2 virtual siblings
      Physical size: 544x303 mm  Refresh: 60 Hz Power state: 0
      Physical DPI: 89.6471,90.5347 Logical DPI: 96,96 Subpixel_None
      DevicePixelRatio: 1 Pixel density: 1
      Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
    
    Dynamic GL LibGL Vendor: NVIDIA Corporation
    Renderer: GeForce RTX 3090/PCIe/SSE2
    Version: 4.6.0 NVIDIA 460.89
    Shading language: 4.60 NVIDIA
    Format: Version: 4.6 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8
    Profile: None (QOpenGLFunctions_4_6)
    
    Vulkan instance available
    Supported instance extensions:
      VK_KHR_device_group_creation, version 1
      VK_KHR_display, version 23
      VK_KHR_external_fence_capabilities, version 1
      VK_KHR_external_memory_capabilities, version 1
      VK_KHR_external_semaphore_capabilities, version 1
      VK_KHR_get_display_properties2, version 1
      VK_KHR_get_physical_device_properties2, version 2
      VK_KHR_get_surface_capabilities2, version 1
      VK_KHR_surface, version 25
      VK_KHR_surface_protected_capabilities, version 1
      VK_KHR_win32_surface, version 6
      VK_EXT_debug_report, version 9
      VK_EXT_debug_utils, version 2
      VK_EXT_swapchain_colorspace, version 4
      VK_NV_external_memory_capabilities, version 1
    Supported layers:
      VK_LAYER_NV_optimus, version 1, spec version 1.2.155, NVIDIA Optimus layer
      VK_LAYER_OBS_HOOK, version 1, spec version 1.2.131, Open Broadcaster Software hook
      VK_LAYER_VALVE_steam_overlay, version 1, spec version 1.2.136, Steam Overlay Layer
      VK_LAYER_VALVE_steam_fossilize, version 1, spec version 1.2.136, Steam Pipeline Caching Layer
      VK_LAYER_EOS_Overlay, version 1, spec version 1.2.136, Vulkan overlay layer for Epic Online Services
      VK_LAYER_EOS_Overlay, version 1, spec version 1.2.136, Vulkan overlay layer for Epic Online Services
    Available physical devices:
      API version 1.2.155, vendor 0x10DE, device 0x2204, GeForce RTX 3090, type 2, driver version 460.356.0
    
    
    GPU #1:
             Card name         : NVIDIA GeForce RTX 3090
           Driver Name         : nvldumdx.dll
        Driver Version         : 27.21.14.6089
             Vendor ID         : 0x10DE
             Device ID         : 0x2204
             SubSys ID         : 0x40421458
           Revision ID         : 0x00A1
    
    GPU #2:
             Card name         : NVIDIA GeForce RTX 3090
           Driver Name         : nvldumdx.dll
        Driver Version         : 27.21.14.6089
             Vendor ID         : 0x10DE
             Device ID         : 0x2204
             SubSys ID         : 0x40421458
           Revision ID         : 0x00A1
    
    Qt Rendering Hardware Interface supported backends:
    OpenGL (with default QSurfaceFormat):
      Min Texture Size: 1
      Max Texture Size: 32768
      Max Color Attachments: 8
      Frames in Flight: 1
      Uniform Buffer Alignment: 1
      Supported MSAA sample counts: 1,2,4,8,16,32
      Features:
        - MultisampleTexture
        v MultisampleRenderBuffer
        - DebugMarkers
        - Timestamps
        v Instancing
        - CustomInstanceStepRate
        v PrimitiveRestart
        v NonDynamicUniformBuffers
        v NonFourAlignedEffectiveIndexBufferOffset
        v NPOTTextureRepeat
        - RedOrAlpha8IsRed
        v ElementIndexUint
        v Compute
        v WideLines
        v VertexShaderPointSize
        v BaseVertex
        - BaseInstance
        v TriangleFanTopology
        v ReadBackNonUniformBuffer
        v ReadBackNonBaseMipLevel
      Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x6 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
    Vulkan:
      Min Texture Size: 1
      Max Texture Size: 32768
      Max Color Attachments: 8
      Frames in Flight: 2
      Uniform Buffer Alignment: 64
      Supported MSAA sample counts: 1,2,4,8
      Features:
        v MultisampleTexture
        v MultisampleRenderBuffer
        - DebugMarkers
        v Timestamps
        v Instancing
        - CustomInstanceStepRate
        v PrimitiveRestart
        v NonDynamicUniformBuffers
        v NonFourAlignedEffectiveIndexBufferOffset
        v NPOTTextureRepeat
        v RedOrAlpha8IsRed
        v ElementIndexUint
        v Compute
        v WideLines
        v VertexShaderPointSize
        v BaseVertex
        v BaseInstance
        v TriangleFanTopology
        v ReadBackNonUniformBuffer
        v ReadBackNonBaseMipLevel
      Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7
    Direct3D 11:
      Min Texture Size: 1
      Max Texture Size: 16384
      Max Color Attachments: 8
      Frames in Flight: 1
      Uniform Buffer Alignment: 256
      Supported MSAA sample counts: 1,2,4,8
      Features:
        v MultisampleTexture
        v MultisampleRenderBuffer
        v DebugMarkers
        v Timestamps
        v Instancing
        v CustomInstanceStepRate
        v PrimitiveRestart
        - NonDynamicUniformBuffers
        v NonFourAlignedEffectiveIndexBufferOffset
        v NPOTTextureRepeat
        v RedOrAlpha8IsRed
        v ElementIndexUint
        v Compute
        - WideLines
        - VertexShaderPointSize
        v BaseVertex
        v BaseInstance
        - TriangleFanTopology
        v ReadBackNonUniformBuffer
        v ReadBackNonBaseMipLevel
      Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7
    
    
    Plugin information:
    
    + Android                           4.14.0
    + AutoTest                          4.14.0
      AutotoolsProjectManager           4.14.0
      BareMetal                         4.14.0
    + Bazaar                            4.14.0
      Beautifier                        4.14.0
    + BinEditor                         4.14.0
    + Bookmarks                         4.14.0
      Boot2Qt                           4.14.0
    + CMakeProjectManager               4.14.0
    + CVS                               4.14.0
    + ClangCodeModel                    4.14.0
      ClangFormat                       4.14.0
    + ClangTools                        4.14.0
    + ClassView                         4.14.0
      ClearCase                         4.14.0
    + CodePaster                        4.14.0
      CompilationDatabaseProjectManager 4.14.0
      Conan                             4.14.0
    + Core                              4.14.0
    + CppEditor                         4.14.0
    + CppTools                          4.14.0
      Cppcheck                          4.14.0
    + CtfVisualizer                     4.14.0
    + Debugger                          4.14.0
    + Designer                          4.14.0
    + DiffEditor                        4.14.0
      EmacsKeys                         4.14.0
    + FakeVim                           4.14.0
    + GLSLEditor                        4.14.0
    + GenericProjectManager             4.14.0
    + Git                               4.14.0
      HelloWorld                        4.14.0
    + Help                              4.14.0
    + ImageViewer                       4.14.0
    + IncrediBuild                      4.14.0
      Ios                               4.14.0
    + LanguageClient                    4.14.0
    + Macros                            4.14.0
    + Marketplace                       4.14.0
      McuSupport                        4.14.0
    + Mercurial                         4.14.0
      MesonProjectManager               4.14.0
    + ModelEditor                       4.14.0
      Nim                               4.14.0
    + PerfProfiler                      4.14.0
      Perforce                          4.14.0
    + ProjectExplorer                   4.14.0
    + Python                            4.14.0
    + QbsProjectManager                 4.14.0
    + QmakeProjectManager               4.14.0
    + QmlDesigner                       4.14.0
    + QmlJSEditor                       4.14.0
    + QmlJSTools                        4.14.0
    + QmlPreview                        4.14.0
    + QmlProfiler                       4.14.0
    + QmlProjectManager                 4.14.0
    + Qnx                               4.14.0
    + QtSupport                         4.14.0
    + RemoteLinux                       4.14.0
    + ResourceEditor                    4.14.0
    + ScxmlEditor                       4.14.0
      SerialTerminal                    4.14.0
      SilverSearcher                    4.14.0
      StudioWelcome                     4.14.0
    + Subversion                        4.14.0
    + TaskList                          4.14.0
    + TextEditor                        4.14.0
      Todo                              4.14.0
    + UpdateInfo                        4.14.0
    + Valgrind                          4.14.0
    + VcsBase                           4.14.0
    + WebAssembly                       4.14.0
    + Welcome                           4.14.0
    + WinRt                             4.14.0
    
    Qt Creator 4.14.0
    Based on Qt 5.15.2 (MSVC 2019, 64 bit)
    From revision 909f74dc56
    Built on Dec 17 2020 07:57:05
    
    {noformat}
    
    1 Reply Last reply
    0
    • C Offline
      C Offline
      cpecue
      wrote on 20 Jan 2021, 05:57 last edited by
      #2

      Did you ever find a fix? Mine is doing the exact same thing.

      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