Die Installation bricht mit dem Fehler Error 2 ab:
C:\Qt\6.4.2\mingw_64\bin\qmake.exe -install qinstall C:\QtLibs\qwt-6.2.0\classincludes\QwtKnob C:\QtLibs\Qwt-6.2.0\include\QwtKnob
C:\Qt\6.4.2\mingw_64\bin\qmake.exe -install qinstall C:\QtLibs\qwt-6.2.0\classincludes\QwtSlider C:\QtLibs\Qwt-6.2.0\include\QwtSlider
C:\Qt\6.4.2\mingw_64\bin\qmake.exe -install qinstall C:\QtLibs\qwt-6.2.0\classincludes\QwtThermo C:\QtLibs\Qwt-6.2.0\include\QwtThermo
C:\Qt\6.4.2\mingw_64\bin\qmake.exe -install qinstall C:\QtLibs\qwt-6.2.0\classincludes\QwtWheel C:\QtLibs\Qwt-6.2.0\include\QwtWheel
C:\Qt\6.4.2\mingw_64\bin\qmake.exe -install qinstall C:\QtLibs\qwt-6.2.0\classincludes\QwtPlotSvgItem C:\QtLibs\Qwt-6.2.0\include\QwtPlotSvgItem
mingw32-make[1]: Leaving directory 'c:/QtLibs/qwt-6.2.0/classincludes'
cd doc\ && ( if not exist Makefile C:\Qt\6.4.2\mingw_64\bin\qmake.exe -o Makefile C:\QtLibs\qwt-6.2.0\doc\doc.pro ) && mingw32-make -f Makefile install
mingw32-make[1]: Entering directory 'c:/QtLibs/qwt-6.2.0/doc'
C:\Qt\6.4.2\mingw_64\bin\qmake.exe -install qinstall C:\QtLibs\qwt-6.2.0\doc\html C:\QtLibs\Qwt-6.2.0\doc\html
Error copying C:/QtLibs/qwt-6.2.0/doc/html/analogclock.png to C:\QtLibs\Qwt-6.2.0\doc\html\analogclock.png: Cannot open C:/QtLibs/qwt-6.2.0/doc/html/analogclock.png for input
mingw32-make[1]: *** [Makefile:340: install_doc] Error 3
mingw32-make[1]: Leaving directory 'c:/QtLibs/qwt-6.2.0/doc'
mingw32-make: *** [Makefile:166: sub-doc-install_subtargets-ordered] Error 2
Anonymous
Nachtrag: Die Datei ist definitiv vorhanden gewesen. Habe sie schon aus dem ZIP neu rüber kopiert, aber es kommt immer die gleiche Fehlermeldung und die Datei "analogclock.png" ist hinterher gelöscht.
I have the same problem. Have you resolved it?
Mit Qt 6.8 und Qwt 6.3.0 immer noch das gleiche Problem, keine Änderung gegenüber 2023.
According to your comments analogclock.png gets lost during the build/install process.
To find out what is going on: please remove "CONFIG+=silent" from qwtbuild.pri
Is the file already gone when running qmake ( without install ) or does it happen during the install operation ?
I think I have found the cause of this issue. In my case, the error occurred when the source directory and the installation directory were the same.
During the installation, files like analogclock.png were removed as part of the install process to the same folder, and the build then failed because the file was missing.
What solved it for me was extracting the Qwt ZIP into a separate temporary folder, building it there, and installing it into a different target directory. After separating the two locations, the installation completed without errors.