QWT install for Windows with MINGW
I have similar problem to described here http://www.qtcentre.org/forum/f-qwt-...005-23037.html but with MINGW. I execute following from cmd:
qmake qwt.pro
C:\Qt\qwt-5.2.0>mingw32-make
cd src\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/Qt/qwt-5.2.0/src'
mingw32-make -f Makefile.Release
mingw32-make[2]: Entering directory `C:/Qt/qwt-5.2.0/src'
g++ -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -s
hared -Wl,--out-implib,..\lib\libqwt5.a -o ..\lib\qwt5.dll object_script.qwt.Release -L"c:\Qt\2009.
03\qt\lib" obj\qwt_resource_res.o -lQtDesigner -lQtScript -lQtXml -lQtGui -lgdi32 -lcomdlg32 -loleau
t32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladv
api32 -lws2_32
C:\Qt\2009.03\mingw\bin\..\lib\gcc\mingw32\3.4.5\. .\..\..\..\mingw32\bin\ld.exe: cannot find -lQtDes
igner
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\lib\qwt5.dll] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/qwt-5.2.0/src'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/qwt-5.2.0/src'
mingw32-make: *** [sub-src-make_default] Error 2
C:\Qt\qwt-5.2.0>
QT 2009.03 is installed in C:\qt\2009.03\ (static compilation!)
I edited qwtconfig.pri file as following:
unix {
INSTALLBASE = /usr/local/qwt-5.2.0
}
win32 {
INSTALLBASE = C:\Qt\qwt-5.2.0
}
target.path = $$INSTALLBASE/lib
headers.path = $$INSTALLBASE/include
doc.path = $$INSTALLBASE/doc
INCLUDEPATH += C:\Qt\2009.03\qt\include\QtDesigner
CONFIG += designer plugin
TARGET = $$qtLibraryTarget($$TARGET)
TEMPLATE = lib
INSTALLS += target
and added C:\Qt\2009.03\mingw\bin;C:\Qt\2009.03\qt\bin;C:\Qt \CMake 2.6\bin;C:\Qt\2009.03\qt\lib to PATH.
I asked for help on QWT Mailing list but no one can help me :( :( :(
If anyone have any idea what to do with this problem, please write!
Re: QWT install for Windows with MINGW
Why don't you try Qt Creator? It's much easier.
Re: QWT install for Windows with MINGW
hello!, The QWT exemple can not run, "The process could not be started!", and I am hoping to give some guidance
I am using win7 +Qt Creator,
Download QWT from https://qwt.svn.sourceforge.net/svnroot/qwt by SVN,using "qmake && mingw32-make &&mingw32-make install " to build it.
3Q.
Re: QWT install for Windows with MINGW
hi,
I followed the following link, to build qwt library for symbian devcies, I mean for Nokia Qt SDK using Qt creator:
http://www.qtcentre.org/archive/index.php/t-41470.html?
but i am getting build errors...
Any idea how to use qwt-6.0.0 library in Qt creator for symbian devices...
Thanks...
Re: QWT install for Windows with MINGW
Quote:
Originally Posted by
rajeevsahu
but i am getting build errors...
What about posting these errors ?
Uwe
Re: QWT install for Windows with MINGW
Quote:
Originally Posted by
Uwe
What about posting these errors ?
Uwe
Hey,
I am getting the error like:
Quote:
moc qwt_designer_plugin.h
qwt_designer_plugin.h(24): Error: Undefined interface
make[3]: *** [moc\moc_qwt_designer_plugin.cpp] Error 1
followed by other errors.
Please let me know if you are able to figure out the reason.
Note: As mentioned I am building this qwt library to be used for Symbian devices build.
Thanks a lot....
Re: QWT install for Windows with MINGW
Exclude building the designer plugin - it is of no use in your environment ( there is no designer ).
Simply remove the line"QWT_CONFIG += QwtDesigner" from qwtconfig.pri.
Uwe
Re: QWT install for Windows with MINGW
Quote:
Originally Posted by
Uwe
Exclude building the designer plugin - it is of no use in your environment ( there is no designer ).
Simply remove the line"QWT_CONFIG += QwtDesigner" from qwtconfig.pri.
Uwe
I just commented the line and build the library again. Now I am getting following errors and the warnings:
Quote:
WARNING: Frozen .def file \Qt\QwtLibrary\qwt\src\eabi\qwtu.def not found - project not frozen
WARNING: Frozen .def file \Qt\QwtLibrary\qwt\textengines\mathml\eabi\qwtmath mlu.def not found - project not frozen
multiple definition of 'vtable for QwtScaleTransformation' ...
.....
.....Similar errors in .o files
Any clues...
Re: QWT install for Windows with MINGW
Remove "CONFIG += silent" from qwtbuild.pri an check the command you are using for linking.
Uwe
PS: Guess nobody ever tried to build Qwt for symbian