@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.