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. Testing "customwidgetplug" under Windows (Mingw)
Forum Updated to NodeBB v4.3 + New Features

Testing "customwidgetplug" under Windows (Mingw)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 423 Views 1 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.
  • L Offline
    L Offline
    Luis Felipe
    wrote on last edited by
    #1

    Hi all,

    greetings from a new forum user.

    I have developed a designer-plugin that works greatly under Linux. Now need to build this plugin for Windows boxes. As initial test, I have decided to build "customwidgetplugin", but the Designer can't load it. Here is how I proceeded:

    • install Windows Qt-Designer using: qt-opensource-windows-x86-mingw482-4.8.6-1
    • install Mingw for i686 (includes i686-w64-mingw32-g++ version 6)
    • enter "customwidgetplugin", execute "qmake" and "make"

    The compilation succeeds, but when I copy "customwidgetplugin.dll" to corresponding directory, Qt-designer shows failed plugin load:

    "Cannot load library ...customwidgetplugin.dll: can find the specific module"

    Unfortunately don't know how to debug this issue. How can I know if using right compiler and designer versions' Any hint please? Thanks in advance.

    BR,

    Luis

    raven-worxR 1 Reply Last reply
    0
    • L Luis Felipe

      Hi all,

      greetings from a new forum user.

      I have developed a designer-plugin that works greatly under Linux. Now need to build this plugin for Windows boxes. As initial test, I have decided to build "customwidgetplugin", but the Designer can't load it. Here is how I proceeded:

      • install Windows Qt-Designer using: qt-opensource-windows-x86-mingw482-4.8.6-1
      • install Mingw for i686 (includes i686-w64-mingw32-g++ version 6)
      • enter "customwidgetplugin", execute "qmake" and "make"

      The compilation succeeds, but when I copy "customwidgetplugin.dll" to corresponding directory, Qt-designer shows failed plugin load:

      "Cannot load library ...customwidgetplugin.dll: can find the specific module"

      Unfortunately don't know how to debug this issue. How can I know if using right compiler and designer versions' Any hint please? Thanks in advance.

      BR,

      Luis

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Luis-Felipe
      IIRC the designer isn't built with mingw, thus it can*t load mingw dlls. Check the Info window in the designer, there should be the used compiler specified. I believe its some msvc variant.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2

      • Login

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