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. Problem creating plugins.qmltypes for QML
QtWS25 Last Chance

Problem creating plugins.qmltypes for QML

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 5 Posters 2.6k 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.
  • S Offline
    S Offline
    SteveG
    wrote on last edited by
    #1

    I'm using Qt 5.3.0 and Qt Creator on Windows 8 64bit to generate a MyModulePlugin.dll library for windows with mingw482_32. The DLL file was built from QML types but NO C++ files. I copied the DLL to C:/Test/MyModule and created a qmldir file containing
    @
    module MyModule
    plugin MyModulePlugin
    classname MyModulePlugin
    @

    When I run
    @
    C:\Qt\Qt5.3.0\5.3\mingw482_32\bin\qmlplugindump -nonrelocatable MyModule1.0 . > MyModule/plugins.qmltypes
    @

    in C:\Test I get the error
    @
    QQmlComponent: Component is not ready
    file:///C:/Test/typelist.qml:2:1: plugin cannot be loaded for module "MyModule": Plugin verification data mismatch in 'C:/Test/MyModule/MyModulePlugin.dll'
    @

    I tried it without -nonrelocatable but had the same error. Any suggestions?

    BTW, there are qmlplugindump files for each of the 7 windows kits but why are there none for the 3 android kits?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      g_bo
      wrote on last edited by
      #2

      I'm getting more or less same troubles(with C++ declared qml component).
      Command line:
      @
      qmlplugindump -nonrelocatable MyModule 1.0 > imports/MyModule/plugins.qmltypes
      @

      or

      @
      qmlplugindump MyModule 1.0 imports > imports/MyModule/plugins.qmltypes
      @

      Both returns:
      @
      QQmlComponent: Component is not ready.
      "file:///imports/MyModule/typelist.qml:2:1: module "MyModule" plugin"mymoduleplugin" not found "
      @

      Is there any advice you could give me?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Noushad
        wrote on last edited by
        #3

        May I know how you resolved this issue? I am in same situation.

        Christian EhrlicherC mrjjM 2 Replies Last reply
        0
        • N Noushad

          May I know how you resolved this issue? I am in same situation.

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Noushad And you really expect that someone who was last online 2014 will answer you? Wow.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • N Noushad

            May I know how you resolved this issue? I am in same situation.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Noushad
            Hi
            I dont think it was resolved.
            Make a new forum post with enough details of Qt version used, platform and
            where in https://doc.qt.io/qtcreator/creator-qml-modules-with-plugins.html
            it fails. List any errors and the code used.

            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