Results 1 to 2 of 2

Thread: QWT fails in debug build

  1. #1
    Join Date
    May 2007
    Posts
    301
    Thanks
    46
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QWT fails in debug build

    Hi,

    I have found that if I build QWT in release build and my application is in debug build, any calls to create any of the QWT objects exits my application.

    I have found that if I rebuild QWT in debug build it works, or if I build my application in release build it works. Has anybody else had this problem?

    Regards,
    Steve

  2. #2
    Join Date
    Aug 2011
    Location
    California, USA
    Posts
    24
    Thanks
    4
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QWT fails in debug build

    Steve,

    I believe that you must build a release build of your Qwt libraries to use it in an application built for release, and the same goes for debug (build Qwt for debug if you want to debug build your application). Qwt must be built the same as your application, if I recall correctly.

    So basically, that problem is normal and is to be expected. Windows does not like letting debug and release libraries play together.

    Chris

    Edit: Woah. Just realized how old his post is. Oh well. Hopefully someone else will benefit from this.

Similar Threads

  1. Adding custom defines when on debug build
    By chus in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2007, 12:38
  2. Qt 4.1.2 Fails to build on Linux
    By rohandhruva in forum Installation and Deployment
    Replies: 6
    Last Post: 16th April 2006, 22:44
  3. How to build in debug mode?
    By Weilor in forum Newbie
    Replies: 5
    Last Post: 15th February 2006, 15:02

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.