Results 1 to 2 of 2

Thread: Compilation of QCodeEdit in release and debug mode on windows

  1. #1
    Join Date
    Feb 2008
    Posts
    157
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Compilation of QCodeEdit in release and debug mode on windows

    I need QCodeEdit in release and debug mode (which is necessary for any library on windows).

    However the .pro file seems to build only the debug mode of the library.
    Even if I insert
    CONFIG += release
    CONFIG -= debug
    If I want to run the examples (which are in debug folder) they require the debug versions of Qt. Even if I switch to release mode the example.exe points to the qcodeedit.dll in debug mode.

    So how do I get the library to be build in release mode?
    Last edited by pospiech; 18th November 2009 at 21:01.

  2. #2
    Join Date
    Feb 2008
    Posts
    157
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compilation of QCodeEdit in release and debug mode on windows

    I have seen that every .pro file has hardcoded the debug version.
    Changing it to release and disabling debug in every file resolved it . However that is not the way it should work in pro files - IMHO.

Similar Threads

  1. Difference between Debug and Release Mode
    By sunil.thaha in forum Qt Programming
    Replies: 2
    Last Post: 5th May 2013, 13:31
  2. Replies: 1
    Last Post: 2nd November 2009, 12:02
  3. QtSingleApplication in Windows with release mode
    By Auryn in forum Qt Programming
    Replies: 2
    Last Post: 28th October 2009, 11:36
  4. SupportedImageFormats in Release and Debug mode
    By pjdixit in forum Qt Programming
    Replies: 1
    Last Post: 26th August 2009, 05:22
  5. Replies: 9
    Last Post: 15th April 2009, 06:23

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.