Qt vs C() macro

Our C() macro conflicts with Qt6 usage, so #undef C has added.  Move
that from nearly every qt_*.cpp into qt_pre.h where other similar
fixups are handled.
This commit is contained in:
PatR
2021-12-30 11:29:03 -08:00
parent 221e4a760d
commit f7c71b9f83
22 changed files with 2 additions and 22 deletions
+1
View File
@@ -6,6 +6,7 @@
* #include after "hack.h", before <Qt.../Qt...>.
*/
#undef C // conflicts with Qt6 header
#undef Invisible
#undef Warning
#undef index