Hi, I'm trying to suppress Q_ASSERT to trigger assertion from qtwebengine on release build.
It seems that QT_NO_DEBUG doesn't get defined when 3rd party libraries are built. Which means that if any 3rd party component includes qglobal.h will then end up defining Q_ASSERT in a way which is not desired for release builds. If I explicitly define precompiler macro during "configure" then that will be seen by 3rd party components. I think this is problem in Qt build system. QT_NO_DEBUG should end up to all components being build. Any thoughts, ideas, experience on this area? How to get this fixed? Of course I can define QT_NO_DEBUG in configure, but then in case when I want to build with --debug-and-release I'd need to make to separate builds to allow assertions on with debug builds. Thanks -- This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest