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. QWT plugin into QT Designer specified module could not be found
QtWS25 Last Chance

QWT plugin into QT Designer specified module could not be found

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
pluginsqtcreatorqtdesignerqwt
7 Posts 4 Posters 2.2k 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.
  • DSpiderD Offline
    DSpiderD Offline
    DSpider
    wrote on last edited by
    #1

    I am trying to use QWT plugin within QT Designer. I followed all the doc steps, I compiled the plugin and modified the PATHs as follows:

    PATH=C:\Qwt-6.1.3\lib
    QT_PLUGIN_PATH=C:\Qwt-6.1.3\plugins
    QMAKEFEATURES=C:\Qwt-6.1.3\features

    However, when I launch QT Creator, the plugin could not be loaded correctly. I get the message:

    Can not load library .... The specified module could not be found.
    I don't see where the problem can be.

    Any help will be more than appreciated.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome to the forums
      You compiled it with same compiler as Creator and in Release mode ?
      alt text

      DSpiderD 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi and welcome to the forums
        You compiled it with same compiler as Creator and in Release mode ?
        alt text

        DSpiderD Offline
        DSpiderD Offline
        DSpider
        wrote on last edited by
        #3

        @mrjj thank you for your answer.

        I used the same compiler (MSVC2015) as the one used to compile as shown in the pic.
        0_1545115819202_qtcompile.png

        The config file in windows says that both debug & release modes are compiled. Should I changed it to the release only ?

        win32 {
            # On Windows you can't mix release and debug libraries.
            # The designer is built in release mode. If you like to use it
            # you need a release version. For your own application development you
            # might need a debug version. 
            # Enable debug_and_release + build_all if you want to build both.
        
            CONFIG           += debug_and_release
            CONFIG           += build_all
        }
        
        jsulmJ 1 Reply Last reply
        0
        • DSpiderD DSpider

          @mrjj thank you for your answer.

          I used the same compiler (MSVC2015) as the one used to compile as shown in the pic.
          0_1545115819202_qtcompile.png

          The config file in windows says that both debug & release modes are compiled. Should I changed it to the release only ?

          win32 {
              # On Windows you can't mix release and debug libraries.
              # The designer is built in release mode. If you like to use it
              # you need a release version. For your own application development you
              # might need a debug version. 
              # Enable debug_and_release + build_all if you want to build both.
          
              CONFIG           += debug_and_release
              CONFIG           += build_all
          }
          
          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @DSpider Did you use same Qt version also?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          DSpiderD 1 Reply Last reply
          2
          • jsulmJ jsulm

            @DSpider Did you use same Qt version also?

            DSpiderD Offline
            DSpiderD Offline
            DSpider
            wrote on last edited by
            #5

            @jsulm Not sure how to do this. Do I need to specify it in the qwt.build ?

            I have now another problem when trying to compile with nmake.

            ......\Qt\5.11.2\msvc2015\include\QtCore\qglobal.h(45): fatal error C1083: can not open file include : 'type_traits' : No such file or directory

            I saw that I should specify in the .build file to use c++11 which I did, the problem persists.

            Can this be related to the Qt version ?

            Best regards

            1 Reply Last reply
            0
            • DSpiderD Offline
              DSpiderD Offline
              DSpider
              wrote on last edited by
              #6

              I finally managed to compile it.
              Just by executing VsVars32.bat before compilation, this is supposed to load environment variables. I followed this answer.

              Thank you all for your help.

              Pablo J. RoginaP 1 Reply Last reply
              0
              • DSpiderD DSpider

                I finally managed to compile it.
                Just by executing VsVars32.bat before compilation, this is supposed to load environment variables. I followed this answer.

                Thank you all for your help.

                Pablo J. RoginaP Offline
                Pablo J. RoginaP Offline
                Pablo J. Rogina
                wrote on last edited by
                #7

                @DSpider great! please don't forget to mark your post as solved. Thanks.

                Upvote the answer(s) that helped you solve the issue
                Use "Topic Tools" button to mark your post as Solved
                Add screenshots via postimage.org
                Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                1

                • Login

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