Close the Qt namespace even when QT_NO_TRANSLATION is defined

Pick-to: 6.8 6.5
Change-Id: I5e463b81f7e73b2946a0e3b3036a09de2105307b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit c9c8abb52d4ba77c551513baf678be0761d1c895)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Patrick Stewart 2025-02-21 02:33:27 +09:00 committed by Qt Cherry-pick Bot
parent 3cd991037d
commit 09c093f969

View File

@ -37,8 +37,8 @@ Q_CORE_EXPORT QString qtTrId(const char *id, int n = -1);
#define QT_TRID_NOOP(id) id
#define QT_TRID_N_NOOP(id) id
QT_END_NAMESPACE
#endif // QT_NO_TRANSLATION
QT_END_NAMESPACE
#endif /* QTTRANSLATION_H */