Skip to content

Commit 53838ed

Browse files
committed
chore(qt)[sc-97670]: update QTextCodec import for Qt6
1 parent c4f8745 commit 53838ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Test/Headers.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
#define WD_SETUP_H
2222

2323
#include <QtCore/QObject>
24+
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
25+
#include <QtCore5Compat/QTextCodec>
26+
#else
2427
#include <QtCore/QTextCodec>
28+
#endif
2529

2630
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
2731
#include <QtConcurrent/QtConcurrentRun>

0 commit comments

Comments
 (0)