Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. QWT problem installing as a plugin in CT - doesn't show up.
QtWS25 Last Chance

QWT problem installing as a plugin in CT - doesn't show up.

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
8 Posts 3 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.
  • S Offline
    S Offline
    stdave
    wrote on 22 Feb 2021, 03:16 last edited by
    #1

    I have compiled QWT as per instruction using mingw32-make.exe under Windows - no errors. I put the plugin file qwt_designer_plugin.dll into C:\Qt\Tools\QtCreator\bin\plugins\designer directory. I have checked help - About Plugins. I'm not sure where to go next. Any suggestions on how to troubleshoot this next would be helpful.

    P 1 Reply Last reply 22 Feb 2021, 12:11
    0
    • S Offline
      S Offline
      stdave
      wrote on 22 Feb 2021, 04:48 last edited by
      #2

      I just replaced QWT qwt-6.1.4 with version 6.1.6 - it seemed to compile much better. Now I see that the examples will run if I open them and compile them from the unzipped folder. While QWT is installed, I still am not able to bring it up in the designer.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stdave
        wrote on 22 Feb 2021, 05:30 last edited by
        #3

        Reviewing the install notes for this version - it says that QT Creator is often compiled using MSVC . I checked that and the "About" for QT Creator appears to be MSVC - so I guess that means I have to compile this in Microsoft Visual C - is that right? QT Creator About says it is

        version 4.14.0 based on QT 5.15.2 (MSVC 2019, 64 Bit)

        So I'm guessing I'll have to to compile this with Microsoft Visual C - but how do I match my QWT compiile to my QT Version?

        J 1 Reply Last reply 22 Feb 2021, 06:26
        0
        • S stdave
          22 Feb 2021, 05:30

          Reviewing the install notes for this version - it says that QT Creator is often compiled using MSVC . I checked that and the "About" for QT Creator appears to be MSVC - so I guess that means I have to compile this in Microsoft Visual C - is that right? QT Creator About says it is

          version 4.14.0 based on QT 5.15.2 (MSVC 2019, 64 Bit)

          So I'm guessing I'll have to to compile this with Microsoft Visual C - but how do I match my QWT compiile to my QT Version?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 22 Feb 2021, 06:26 last edited by
          #4

          @stdave said in QWT problem installing as a plugin in CT - doesn't show up.:

          but how do I match my QWT compiile to my QT Version?

          Install Qt 5.15.2 (MSVC 2019, 64 Bit) and build QWT with that Qt version and MSVC2019.

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

          S 3 Replies Last reply 22 Feb 2021, 15:08
          0
          • S stdave
            22 Feb 2021, 03:16

            I have compiled QWT as per instruction using mingw32-make.exe under Windows - no errors. I put the plugin file qwt_designer_plugin.dll into C:\Qt\Tools\QtCreator\bin\plugins\designer directory. I have checked help - About Plugins. I'm not sure where to go next. Any suggestions on how to troubleshoot this next would be helpful.

            P Offline
            P Offline
            Pablo J. Rogina
            wrote on 22 Feb 2021, 12:11 last edited by
            #5

            @stdave said in QWT problem installing as a plugin in CT - doesn't show up.:

            I'm not sure where to go next

            Have you already check Qwt Install documentation?

            To help Qt Designer/Creator with locating the Qwt Designer plugin you have to set the environment variable QT_PLUGIN_PATH, modify qt.conf - or install the plugin to one of the application default paths.

            In addition, please be aware that the plugin could be built without the Qwt libraries builtin:

            When the plugin has not been built including the Qwt library ( see QwtDesignerSelfContained in qwtconfig.pri ) the Qt Designer/Creator also needs to locate the Qwt libraries

            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
            0
            • J jsulm
              22 Feb 2021, 06:26

              @stdave said in QWT problem installing as a plugin in CT - doesn't show up.:

              but how do I match my QWT compiile to my QT Version?

              Install Qt 5.15.2 (MSVC 2019, 64 Bit) and build QWT with that Qt version and MSVC2019.

              S Offline
              S Offline
              stdave
              wrote on 22 Feb 2021, 15:08 last edited by
              #6

              @jsulm said in QWT problem installing as a plugin in CT - doesn't show up.:

              @stdave said in QWT problem installing as a plugin in CT - doesn't show up.:

              but how do I match my QWT compiile to my QT Version?

              Install Qt 5.15.2 (MSVC 2019, 64 Bit) and build QWT with that Qt version and MSVC2019.

              How does one go about building QWT with both Qt -and- MSVC2019?

              1 Reply Last reply
              0
              • J jsulm
                22 Feb 2021, 06:26

                @stdave said in QWT problem installing as a plugin in CT - doesn't show up.:

                but how do I match my QWT compiile to my QT Version?

                Install Qt 5.15.2 (MSVC 2019, 64 Bit) and build QWT with that Qt version and MSVC2019.

                S Offline
                S Offline
                stdave
                wrote on 22 Feb 2021, 18:43 last edited by
                #7

                @jsulm said in QWT problem installing as a plugin in CT - doesn't show up.:

                @stdave said in QWT problem installing as a plugin in CT - doesn't show up.:

                but how do I match my QWT compiile to my QT Version?

                Install Qt 5.15.2 (MSVC 2019, 64 Bit) and build QWT with that Qt version and MSVC2019.

                Does that mean download the QT from source, and compile QT and QWT using MSVC?

                1 Reply Last reply
                0
                • J jsulm
                  22 Feb 2021, 06:26

                  @stdave said in QWT problem installing as a plugin in CT - doesn't show up.:

                  but how do I match my QWT compiile to my QT Version?

                  Install Qt 5.15.2 (MSVC 2019, 64 Bit) and build QWT with that Qt version and MSVC2019.

                  S Offline
                  S Offline
                  stdave
                  wrote on 23 Feb 2021, 06:09 last edited by
                  #8

                  @jsulm said in QWT problem installing as a plugin in CT - doesn't show up.:

                  @stdave said in QWT problem installing as a plugin in CT - doesn't show up.:

                  but how do I match my QWT compiile to my QT Version?

                  Install Qt 5.15.2 (MSVC 2019, 64 Bit) and build QWT with that Qt version and MSVC2019.

                  I have followed your suggestion here. The problem I appear to be having is that qmake creates a Makefile that compiles (and installs) fine with mingw32-make, but gives a couple errors when compiled with nmake or with jom (when executed from the shell within MSVC2019.)

                  The ./src/Makefile.Release and ./src/Makefile.Debug files both have these errors at like 14 and 15;

                  CC = @echo compiling $< && gcc
                  CXX = @echo compiling $< && g++

                  Simply removing the "$<" gets the compiler (both of them) on their way.

                  There appears to be another problem further into the compile, which I believe is caused by another error in the Makefile which causes this error message;

                  moc qwt_dyngrid_layout.h
                  The filename, directory name, or volume label syntax is incorrect.
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile.Release [moc\moc_qwt_dyngrid_layout.cpp] Error 1
                  moc qwt_magnifier.h
                  The filename, directory name, or volume label syntax is incorrect.
                  moc qwt_panner.h
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile.Release [moc\moc_qwt_magnifier.cpp] Error 1
                  The filename, directory name, or volume label syntax is incorrect.
                  moc qwt_picker.h
                  The filename, directory name, or volume label syntax is incorrect.
                  moc qwt_text_label.h
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile.Release [moc\moc_qwt_panner.cpp] Error 1
                  The filename, directory name, or volume label syntax is incorrect.
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile.Release [moc\moc_qwt_picker.cpp] Error 1
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile.Release [moc\moc_qwt_text_label.cpp] Error 1
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile [release-all] Error 2
                  C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug all
                  The filename, directory name, or volume label syntax is incorrect.
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile.Debug [moc\moc_qwt_dyngrid_layout.cpp] Error 1
                  The filename, directory name, or volume label syntax is incorrect.
                  The filename, directory name, or volume label syntax is incorrect.
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile.Debug [moc\moc_qwt_magnifier.cpp] Error 1
                  jom: C:\Users\david\Downloads\qwt-6.1.6b\qwt-6.1.6\src\Makefile.Debug [moc\moc_qwt_panner.cpp] Error 1
                  moc qwt_dyngrid_layout.h
                  moc qwt_magnifier.h
                  moc qwt_panner.h
                  moc qwt_picker.h

                  (above error is actually from jom becuase it outputs more info, but both compilers seems to get hung up in the same spot.

                  The characters "$<" that I noted caused the first error output mentioned;
                  NMAKE : warning U4006: special macro undefined : '$<'
                  which allowed smooth compiling when removed - I noticed this as a problem others were also having with the same strange characters in their Makefile when encountering the nmake or jom error sited.

                  Right now I am wondering about either just correcting the errors in the Makefiles, or getting a different qmake which may hopefully produce problem free Makefiles.

                  1 Reply Last reply
                  0

                  1/8

                  22 Feb 2021, 03:16

                  • Login

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