Results 1 to 3 of 3

Thread: QStateMachine does not start up in Windows/Linux RELEASE build, DEBUG build is fine

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Posts
    128
    Platforms
    Unix/X11 Windows
    Thanks
    7
    Thanked 14 Times in 14 Posts

    Default Re: QStateMachine does not start up in Windows/Linux RELEASE build, DEBUG build is fi

    Q_ASSERT() body is not compiled in release mode (if i'm right) so the connects will not execute, as well as any statement inside it.
    Last edited by totem; 3rd October 2011 at 22:35.

  2. #2
    Join Date
    Nov 2010
    Posts
    122
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    62
    Thanked 3 Times in 3 Posts

    Cool Re: QStateMachine does not start up in Windows/Linux RELEASE build, DEBUG build is fi

    Thanks, that was it, I was looking in the wrong place, I was thinking that Q_ASSERT acted more like a verify setting that was applicable to both DEBUG and RELEASE.
    I could not see the forest for the trees, was infected with brain dumbness.

Similar Threads

  1. Replies: 5
    Last Post: 14th April 2011, 19:10
  2. Compile Qt 4.6.2 with VS2008 - exception in release build, debug ok
    By LynneV in forum Installation and Deployment
    Replies: 0
    Last Post: 7th June 2010, 04:52
  3. Replies: 3
    Last Post: 3rd December 2009, 16:12
  4. Dialog executes in debug build but not release
    By awhite1159 in forum Qt Programming
    Replies: 5
    Last Post: 24th June 2008, 17:51
  5. build debug with shared and release with static?
    By Thor28 in forum Qt Programming
    Replies: 4
    Last Post: 14th April 2008, 22:32

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
  •  
Qt is a trademark of The Qt Company.