qt6-bb10/src
Tor Arne Vestbø 6a35e77ef3 Change confusing Q_DEAD_CODE_FROM_QT4_FOO define
Commit c5db8fc74 changed all instances of Q_WS_FOO to have the prefix
Q_DEAD_CODE_FROM_QT4 instead, to make it clearer when reading the code
that the code in question was a left-over from Qt4, when we used
Q_WS_ defines instead of Q_OS_ defines.

This worked well for cases of #ifdef Q_DEAD_CODE_FROM_QT4, but less so
for cases of #ifndef Q_DEAD_CODE_FROM_QT4, where the code was actually
unconditionally included.

To make this even clearer, the defines have been replaced by checks for
1 or 0, with a comment describing how the code used to look in Qt4. The
use of constants in the check also makes it easier for editors to parse
the condition and show visually that the code is defined out.

Change-Id: I152070d87334df7259b417cd5e17d7b7950379b7
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2016-10-14 08:19:29 +00:00
..
3rdparty Save 100k by not using bloated sha3 code 2016-10-11 06:05:13 +00:00
android Android: Allow the user to hook into the onCreate methods 2016-10-12 11:47:32 +00:00
angle Fix out of source builds 2016-09-22 09:36:30 +00:00
concurrent QtConcurrent: use QDeadlineTimer to get the clock tick 2016-09-15 19:43:57 +00:00
corelib Fix build with various features disabled 2016-10-11 14:20:34 +00:00
dbus Merge remote-tracking branch 'origin/5.7' into 5.8 2016-10-11 07:40:32 +02:00
gui iOS: Take advantage of new synchronous API for QPA event delivery 2016-10-14 01:57:43 +00:00
network winrt: Do not lose initial data for TCP connections 2016-10-14 05:53:06 +00:00
opengl Merge dev into 5.8 2016-08-22 11:30:01 +02:00
openglextensions Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
platformheaders Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-22 21:58:45 +02:00
platformsupport Fix build with various features disabled 2016-10-11 14:20:34 +00:00
plugins iOS: Take advantage of new synchronous API for QPA event delivery 2016-10-14 01:57:43 +00:00
printsupport Change confusing Q_DEAD_CODE_FROM_QT4_FOO define 2016-10-14 08:19:29 +00:00
sql Make sure flags from library detections go to the right places 2016-10-10 16:59:10 +00:00
testlib Merge remote-tracking branch 'origin/5.7' into 5.8 2016-10-06 20:12:27 +02:00
tools Clean up building of bootstrap lib and tools 2016-10-11 06:04:54 +00:00
widgets Change confusing Q_DEAD_CODE_FROM_QT4_FOO define 2016-10-14 08:19:29 +00:00
winmain Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-21 11:57:52 +02:00
xml QXmlAttributes: mark as shared-come-qt6 2016-10-04 06:25:54 +00:00
src.pro Convert the old feature system 2016-09-15 08:24:10 +00:00