vcl/qt5/QtInstance.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 3531740e12a165175626962c02ee77a507bf8912
Author: Michael Weghorn <[email protected]>
AuthorDate: Tue Feb 24 16:23:00 2026 +0100
Commit: Michael Weghorn <[email protected]>
CommitDate: Tue Feb 24 22:30:30 2026 +0100
qt: Add include for LanguageTag
Fixes this build failure seen on Windows
when experimenting with Hossein's WIP Gerrit change [1]:
C:\Users\mwegh\development\git\libreoffice
cl\qt6\../qt5/QtInstance.cxx(366): error C2079: 'aTag' uses undefined class
'LanguageTag'
[1] https://gerrit.libreoffice.org/c/core/+/199615
Change-Id: I7f22546b1325bd9579290444e7ddcaeff14da3a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200243
Reviewed-by: Michael Weghorn <[email protected]>
Tested-by: Jenkins
diff --git a/vcl/qt5/QtInstance.cxx b/vcl/qt5/QtInstance.cxx
index 0077c3acaba6..afe23aa5afac 100644
--- a/vcl/qt5/QtInstance.cxx
+++ b/vcl/qt5/QtInstance.cxx
@@ -59,6 +59,7 @@
#include <comphelper/emscriptenthreading.hxx>
#include <config_emscripten.h>
#include <config_vclplug.h>
+#include <i18nlangtag/languagetag.hxx>
#include <vcl/qt/QtUtils.hxx>
#include <vcl/sysdata.hxx>
#include <sal/log.hxx>