QWT problem installing as a plugin in CT - doesn't show up.
-
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.
-
-
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?
-
@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.
-
@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
-
@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?
-
@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?
-
@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.