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.
  • D Offline
    D Offline
    DSpider
    wrote on 17 Dec 2018, 18:08 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
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 17 Dec 2018, 18:13 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

      D 1 Reply Last reply 18 Dec 2018, 06:51
      1
      • M mrjj
        17 Dec 2018, 18:13

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

        D Offline
        D Offline
        DSpider
        wrote on 18 Dec 2018, 06:51 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
        }
        
        J 1 Reply Last reply 18 Dec 2018, 07:54
        0
        • D DSpider
          18 Dec 2018, 06:51

          @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
          }
          
          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 18 Dec 2018, 07:54 last edited by
          #4

          @DSpider Did you use same Qt version also?

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

          D 1 Reply Last reply 18 Dec 2018, 09:22
          2
          • J jsulm
            18 Dec 2018, 07:54

            @DSpider Did you use same Qt version also?

            D Offline
            D Offline
            DSpider
            wrote on 18 Dec 2018, 09:22 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
            • D Offline
              D Offline
              DSpider
              wrote on 19 Dec 2018, 07:34 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.

              P 1 Reply Last reply 20 Dec 2018, 14:50
              0
              • D DSpider
                19 Dec 2018, 07:34

                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.

                P Offline
                P Offline
                Pablo J. Rogina
                wrote on 20 Dec 2018, 14:50 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

                5/7

                18 Dec 2018, 09:22

                • Login

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