Skip to content

Commit 213a613

Browse files
committed
QDoc: Stop defining QDOC2_COMPAT
At the build system level, QDoc continues to define `QDOC2_COMPAT`. This define is unused, and has been so for several years. Commit `d259c70d47d0dbf2fb49b6fdb52b1283e8a69a41` removed the definition from the qmake configuration; however, the port to CMake overlapped this and accidentally re-introduced the definition with commit `9d5887fbc6fe0b20c4faf7eb42f1b71130e95120`. Commit `a40749199be276aa89fcb4c171c4943a581d91de` removed code that required the definition of `QDOC2_COMPAT`. Since that commit, the definition has been unused. This change seeks to remove this define for good, as it does absolutely nothing, and hasn't for many years. Pick-to: 6.8 Change-Id: I00c618a805faf7bac5cc52d0ce6d1c927865ea44 Reviewed-by: Topi Reiniö <[email protected]>
1 parent 9da54f2 commit 213a613

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/qdoc/qdoc/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ qt_internal_add_tool(${target_name}
9696
# To provide the ability to workaround version-specific Clang issues.
9797
# A re-export of (LLVM|CLANG)_VERSION_MAJOR done in WrapLibClang.cmake
9898
LIBCLANG_VERSION_MAJOR=${QT_LIB_CLANG_VERSION_MAJOR}
99-
QDOC2_COMPAT
10099
)
101100
qt_internal_return_unless_building_tools()
102101

0 commit comments

Comments
 (0)