Results 1 to 4 of 4

Thread: qwt 5.2.0 msvc2008 build Qt 4.6.0

  1. #1
    Join Date
    Dec 2009
    Posts
    52
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default qwt 5.2.0 msvc2008 build Qt 4.6.0

    Hello

    I am trying to build 5.2.0 for msvc2008 with Qt 4.6.0 (vs2008)

    I did the workaround that generated the errors with Qt4.6.0 and built with nmake.
    The .dll and .lib are generated correctly, however I think it only built in release.

    As I don't know how to choose debug target for nmake (i'm sure it's trivial), I looked at generating the vs2008 .vcproj or .sln.

    There's no admin directory in qwt 5.2.0

    The INSTALL file should probably be updated,

    Regards,

  2. #2
    Join Date
    Dec 2009
    Posts
    52
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qwt 5.2.0 msvc2008 build Qt 4.6.0

    The admin directory apparently holds the qmake-msvc.bat file that allows to generate project files for vs2008

  3. #3
    Join Date
    Dec 2009
    Posts
    52
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qwt 5.2.0 msvc2008 build Qt 4.6.0

    There looks to be an error in qwtconfig.pri for debug/release

    Qt Code:
    1. ######################################################################
    2. # release/debug mode
    3. # If you want to build both DEBUG_SUFFIX and RELEASE_SUFFIX
    4. # have to differ to avoid, that they overwrite each other.
    5. ######################################################################
    6.  
    7. VVERSION = $$[QT_VERSION]
    8. isEmpty(VVERSION) {
    9.  
    10. # Qt 3
    11. CONFIG += release # release/debug
    12. }
    13. else {
    14. # Qt 4
    15. win32 {
    16. # On Windows you can't mix release and debug libraries.
    17. # The designer is built in release mode. If you like to use it
    18. # you need a release version. For your own application development you
    19. # might need a debug version.
    20. # Enable debug_and_release + build_all if you want to build both.
    21.  
    22. CONFIG += release # release/debug/debug_and_release
    23. #CONFIG += release_and_release
    24. #CONFIG += build_all
    25. }
    26. else {
    27. CONFIG += release # release/debug
    28. }
    29. }
    To copy to clipboard, switch view to plain text mode 

    release_and_release is probably wrong and should be debug_and_release.

  4. #4
    Join Date
    Dec 2009
    Posts
    52
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qwt 5.2.0 msvc2008 build Qt 4.6.0

    this has worked now.
    I have both release and debug lib/dlls
    and will try to use it in my application.

    I think a separate include directory would be better than have the header files in the 'src' dir.

Similar Threads

  1. QWT fails in debug build
    By steg90 in forum Qwt
    Replies: 1
    Last Post: 11th November 2011, 06:53
  2. Qwt build error with Qt 4.6.0-tp1
    By alex-krutikov in forum Qwt
    Replies: 6
    Last Post: 20th December 2009, 09:43
  3. Replies: 2
    Last Post: 14th July 2009, 10:01
  4. Qwt 5.2.0
    By Uwe in forum Qt-based Software
    Replies: 0
    Last Post: 22nd March 2009, 18:20
  5. qwt designer build errors
    By jhearon in forum Qwt
    Replies: 4
    Last Post: 17th July 2007, 06:47

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.