Results 1 to 4 of 4

Thread: A problem with intalling Qwt 6.1.0 on Qt 5.1.1

  1. #1
    Join Date
    Nov 2012
    Location
    Russia
    Posts
    228
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default A problem with intalling Qwt 6.1.0 on Qt 5.1.1

    Hi,

    I have a problem with intalling Qwt 6.1.0 on Qt 5.1.1. Please, help me!

    c:\Qt\qwt-6.1.0\qwt-6.1.0>make
    cd src/ && ( test -e Makefile || C:/Qt/Qt5.1.1/5.1.1/mingw48_32/bin/qmake.exe C:
    /Qt/qwt-6.1.0/qwt-6.1.0/src/src.pro -o Makefile ) && make -f Makefile
    make[1]: Entering directory `/c/Qt/qwt-6.1.0/qwt-6.1.0/src'
    make -f Makefile.Release all
    make[2]: Entering directory `/c/Qt/qwt-6.1.0/qwt-6.1.0/src'
    linking ../lib/qwt.dll
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5OpenGL
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Svg
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5PrintSupport
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Widgets
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Concurrent
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Gui
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Core
    collect2.exe: error: ld returned 1 exit status
    make[2]: *** [../lib/qwt.dll] Error 1
    make[2]: Leaving directory `/c/Qt/qwt-6.1.0/qwt-6.1.0/src'
    make[1]: *** [release-all] Error 2
    make[1]: Leaving directory `/c/Qt/qwt-6.1.0/qwt-6.1.0/src'
    make: *** [sub-src-make_first-ordered] Error 2

    c:\Qt\qwt-6.1.0\qwt-6.1.0>mingw32-make
    cd src/ && ( test -e Makefile || C:/Qt/Qt5.1.1/5.1.1/mingw48_32/bin/qmake.exe C:
    /Qt/qwt-6.1.0/qwt-6.1.0/src/src.pro -o Makefile ) && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory 'c:/Qt/qwt-6.1.0/qwt-6.1.0/src'
    c:/Qt/Qt5.1.1/Tools/mingw48_32/bin/mingw32-make -f Makefile.Release all
    mingw32-make[2]: Entering directory 'c:/Qt/qwt-6.1.0/qwt-6.1.0/src'
    linking ../lib/qwt.dll
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5OpenGL
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Svg
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5PrintSupport
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Widgets
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Concurrent
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Gui
    c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
    /i686-w64-mingw32/bin/ld.exe: cannot find -lQt5Core
    collect2.exe: error: ld returned 1 exit status
    Makefile.Release:320: recipe for target '../lib/qwt.dll' failed
    mingw32-make[2]: *** [../lib/qwt.dll] Error 1
    mingw32-make[2]: Leaving directory 'c:/Qt/qwt-6.1.0/qwt-6.1.0/src'
    Makefile:38: recipe for target 'release-all' failed
    mingw32-make[1]: *** [release-all] Error 2
    mingw32-make[1]: Leaving directory 'c:/Qt/qwt-6.1.0/qwt-6.1.0/src'
    makefile:41: recipe for target 'sub-src-make_first-ordered' failed
    mingw32-make: *** [sub-src-make_first-ordered] Error 2

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,277
    Thanked 871 Times in 819 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: A problem with intalling Qwt 6.1.0 on Qt 5.1.1

    Should be a problem of your Qt installation - obviously the path to the Qt libraries doesn't match what the corresponding qmake writes into the Makefile.

    I recommend to disable "CONFIG += silent" in qwtbuild.pri, ( or simply look into the generated Makefiles ) to see what this wrong path is.

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    8Observer8 (5th December 2013)

  4. #3
    Join Date
    Nov 2012
    Location
    Russia
    Posts
    228
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: A problem with intalling Qwt 6.1.0 on Qt 5.1.1

    Uwe, Thanky you! I did it:

    qwtbuild.pri

    #CONFIG += silent
    I typed it:

    make install
    And I received it in "C:\Qwt-6.1.0\lib":

    libqwt.a
    libqwtd.a
    qwt.dll
    qwt.lib
    qwtd.dll
    qwtd.lib
    What should I do now?

    I use Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) (Info)


    Added after 20 minutes:


    Qwt User's Guide: qwt.sourceforge.net/qwtinstall.html

    Adding Qwt as qmake feature
    How do it from QtCreator?


    Added after 5 minutes:


    I found this instruction about "Qt: Using QWT in Qt Designer on Windows" http://geekanddo.wordpress.com/2012/...on-windows-10/

    But I don't see qwt_designer_plugin.pdb I see only one file qwt_designer_plugin.dll
    Last edited by 8Observer8; 5th December 2013 at 17:07.

  5. #4
    Join Date
    Nov 2012
    Location
    Russia
    Posts
    228
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: A problem with intalling Qwt 6.1.0 on Qt 5.1.1


Similar Threads

  1. Intalling Qt 3.3 on mac book
    By munna in forum Installation and Deployment
    Replies: 1
    Last Post: 19th January 2007, 10:35

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.