forked from qt-creator/qt-creator
FakeVim: fix building tests with Qt 6.9
moc creates files using the identifier 'N' which breaks after #define N '\n' followed by #include "xxx.moc" later. Change-Id: I271b1f2aec737a75e5c2f8b2026056583d894b05 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -5058,5 +5058,7 @@ void FakeVimTester::test_vim_qtcreator()
|
|||||||
|
|
||||||
} // FakeVim::Internal
|
} // FakeVim::Internal
|
||||||
|
|
||||||
#include "fakevim_test.moc"
|
#undef N
|
||||||
|
#undef X
|
||||||
|
|
||||||
|
#include "fakevim_test.moc"
|
||||||
|
Reference in New Issue
Block a user