Results 1 to 3 of 3

Thread: Release build not fully functional

  1. #1
    Join Date
    Mar 2014
    Posts
    9
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Release build not fully functional

    Hi, im using QTCreator to compile my QT project with mingw 32 bit. Thing is, while building as debug, everything is working fine but, if i change to release, something begins to missfunction without a warning.
    More specifically, im working on a chat service, when im in debug mode, and someone clicks on his friend's name or join a room, a new tab is open with a widget in it that contains the chat text and people.
    In release mode (same console, still into the creator enviroment), everything seems ok, but the new tab is never open, simply nothing happens and no error is shown in console. Any idea?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Release build not fully functional

    Your code is relying on something that is removed by the pre-processor for release builds, or relying pn the side-effects of a debugging statement that is not executing in release mode, or... We would have to guess for a long time.

  3. #3
    Join Date
    Mar 2014
    Posts
    9
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Release build not fully functional

    Found the bug. Just other people having the same issue:
    It was an uninitiallized boolean. Default on debugger seems to be false but in release it switches for a true....(mingw)

Similar Threads

  1. QTL: Debug build faster than release build?
    By tuli in forum Qt Programming
    Replies: 4
    Last Post: 17th March 2013, 22:49
  2. Application is fully functional ONLY on my laptop
    By juracist in forum Installation and Deployment
    Replies: 17
    Last Post: 24th June 2012, 23:58
  3. Replies: 2
    Last Post: 3rd October 2011, 23:04
  4. Build release and run error
    By gabriele in forum Newbie
    Replies: 11
    Last Post: 16th February 2010, 21:23
  5. .png not displayed with release build
    By mnemonic_fx in forum Qt Tools
    Replies: 1
    Last Post: 5th July 2007, 09:41

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.