View Full Version : Troble installing qwt

22nd April 2024, 11:37
I am trying to install qwt-6.2.0 in Windows. I am following the instructions given in qwt (https://qwt.sourceforge.io/qwtinstall.html) page for installing qwt.

After the mingw32-make command I ran into an error and solved it by commenting a few lines in qwt.pro files as suggested in page (https://forum.qt.io/topic/148234/qwt-6-20-in-function-winmain-undefined-reference-to-qmain-qt-5-15-2-mingw810_64).

When I tried mingw32-make install I am getting an error

C:\Qt\6.6.1\mingw_64\bin\qmake.exe -install qinstall C:\qwt-6.2.0\classincludes\QwtPlotSvgItem C:\Qwt-6.2.0\include\QwtPlotSvgItem
mingw32-make[1]: Leaving directory 'C:/qwt-6.2.0/classincludes'
cd doc\ && ( if not exist Makefile C:\Qt\6.6.1\mingw_64\bin\qmake.exe -o Makefile C:\qwt-6.2.0\doc\doc.pro ) && mingw32-make -f Makefile install
mingw32-make[1]: Entering directory 'C:/qwt-6.2.0/doc'
C:\Qt\6.6.1\mingw_64\bin\qmake.exe -install qinstall C:\qwt-6.2.0\doc\html C:\Qwt-6.2.0\doc\html
Error copying C:/qwt-6.2.0/doc/html/annotated_dup.js to C:\Qwt-6.2.0\doc\html\annotated_dup.js: Cannot open C:/qwt-6.2.0/doc/html/annotated_dup.js for input
mingw32-make[1]: *** [Makefile:360: install_doc] Error 3
mingw32-make[1]: Leaving directory 'C:/qwt-6.2.0/doc'
mingw32-make: *** [Makefile:165: sub-doc-install_subtargets-ordered] Error 2

Can someone help me how to resolve the error?

23rd April 2024, 09:18
Looks like you don't have the html documentation that is part of the tarballs. If you don't need the docs ( they are also online ) you can simply do a "make install -i"