PDA

View Full Version : Building the Designer Plugin fails with Win7 + MinGW



BlackMath
4th April 2013, 20:59
Hi,

today I tried to build Qwt 6.0.2 under Windows 7/64bit, Qt 4.8.3 and MinGW.
The qwt.dll is created, but when it starts to compile the designer-plugin-library, I get the following errors (sry for German output...):


cd designer\ && c:\Qt\4.8.3\bin\qmake.exe c:\qwt-6.0.2\designer\designer.pro -o
Makefile
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
cd designer\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/qwt-6.0.2/designer'
mingw32-make -f Makefile.Release all
mingw32-make[2]: Entering directory `C:/qwt-6.0.2/designer'
compiling qwt_designer_plugin.cpp
compiling qwt_designer_plotdialog.cpp
moc qwt_designer_plugin.h
compiling moc/moc_qwt_designer_plugin.cpp
moc qwt_designer_plotdialog.h
compiling moc/moc_qwt_designer_plotdialog.cpp
rcc qwt_designer_plugin.qrc
Das System kann den angegebenen Pfad nicht finden.
mingw32-make[2]: *** [resources/qrc_qwt_designer_plugin.cpp] Error 1
mingw32-make[2]: Leaving directory `C:/qwt-6.0.2/designer'
mingw32-make[1]: *** [release-all] Error 2
mingw32-make[1]: Leaving directory `C:/qwt-6.0.2/designer'
mingw32-make: *** [sub-designer-make_default-ordered] Error 2
Very strange, qrc_qwt_designer_plugin.cpp isn't there, but designer_plugin.qrc exists...

I've nothing changed in qwtconfig.pri and qwtbuild.pri or the qwt.pro. The Qwt directory is C:\qwt-6.0.2 .
The commands I typed into the terminal were:

qmake qwt.pro
mingw32-make

I don't know what else I can do... and I need qwt for a project!!!
Can anyone help me please?

greetings, Julian

sonulohani
5th April 2013, 13:52
Go to this link:-
http://www.qtcentre.org/threads/47151-How-I-installed-Qwt-6-0-1-the-Uwe-way-on-a-Windows7-Xp-32-bit-machine

BlackMath
6th April 2013, 18:57
Thank you for your reply!
I think my Qt installation was broken: After Reinstalling+upgrading it to 4.8.4 and doing everything as told in your link, building suceeds! :)