Results 1 to 9 of 9

Thread: QWT install for Windows with MINGW

  1. #1
    Join Date
    Aug 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default 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!

  2. #2
    Join Date
    Aug 2009
    Posts
    27
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWT install for Windows with MINGW

    Why don't you try Qt Creator? It's much easier.

  3. #3
    Join Date
    Jul 2011
    Posts
    1
    Qt products
    Qt3
    Platforms
    MacOS X

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

  4. #4
    Join Date
    Jul 2010
    Posts
    7
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

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

  5. #5
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QWT install for Windows with MINGW

    Quote Originally Posted by rajeevsahu View Post
    but i am getting build errors...
    What about posting these errors ?

    Uwe

  6. #6
    Join Date
    Jul 2010
    Posts
    7
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default Re: QWT install for Windows with MINGW

    Quote Originally Posted by Uwe View Post
    What about posting these errors ?

    Uwe
    Hey,

    I am getting the error like:

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

  7. #7
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default 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

  8. #8
    Join Date
    Jul 2010
    Posts
    7
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default Re: QWT install for Windows with MINGW

    Quote Originally Posted by Uwe View Post
    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:

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

  9. #9
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default 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

Similar Threads

  1. install Qwt Qtcreator
    By oswalidos in forum Qwt
    Replies: 10
    Last Post: 21st November 2011, 00:23
  2. A Guide to Install MinGW, Qt4 and Eclipse Integration on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 10
    Last Post: 5th August 2009, 05:03
  3. qwt 5.2 install on qt 4.5
    By HyperB in forum Qwt
    Replies: 4
    Last Post: 13th May 2009, 21:03
  4. Mac OS install qwt libraries
    By d-l-sama@hotmail.com in forum Qwt
    Replies: 0
    Last Post: 30th April 2009, 15:53
  5. Step by step Qwt on MinGW
    By Doug Broadwell in forum Qwt
    Replies: 2
    Last Post: 23rd January 2009, 01:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.