Results 1 to 4 of 4

Thread: debug -> invisible program

  1. #1
    Join Date
    Oct 2007
    Posts
    8
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default debug -> invisible program

    i use the qt commercial edition on win2k. when i compile my program in release mode (msvc) it works fine. but when i compile it in debug mode, my program just exits, without displaying anything. is there a solution so that i can still debug my program and use qwt at the same time? ;)

    using qwt-5.0.2

    cheers

    sarefo

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: debug -> invisible program

    Make sure you compile Qwt in same mode (debug vs. release). Mixing debug and release versions cause such problem with MSVC.
    J-P Nurmi

  3. #3
    Join Date
    Oct 2007
    Posts
    8
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: debug -> invisible program

    so there's no other solution than to always compile in debug mode, and to recompile/install qwt each time i want to build a release?

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: debug -> invisible program

    Compile both versions in parallel. You can always install debug and release versions in separate folders if Qwt's .pro file doesn't add any prefix in debug mode.
    J-P Nurmi

  5. The following user says thank you to jpn for this useful post:

    sarefo (16th January 2008)

Similar Threads

  1. What is debug mode for without MSVC?
    By firegun9 in forum Newbie
    Replies: 1
    Last Post: 5th September 2007, 17:21
  2. Qt4 open src mingw from a PC to another
    By nvictor in forum Installation and Deployment
    Replies: 11
    Last Post: 1st May 2007, 17:41
  3. Adding custom defines when on debug build
    By chus in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2007, 11:38
  4. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19
  5. Replies: 11
    Last Post: 22nd March 2006, 19:06

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.