Do not use QStringLiteral with multi-line string constants as it breaks the build on Windows. see ktexttohtmltest.cpp row 151 and 196 This bug already affected KWidgetsAddon, see https://quickgit.kde.org/?p=kwidgetsaddons.git&a=commit&h=71dd42f902c8fa09f6eca5e762c2e46a45161767 Reproducible: Always Steps to Reproduce: Build KCoreAddons on MSVC Actual Results: Build Fails
Git commit caf9e50da1d6ac94bfc844a4ba688a10aee851c0 by Michael Pyne. Committed on 31/12/2015 at 02:07. Pushed by mpyne into branch 'master'. Fix multiline QStringLiteral usage to build on Windows. Instead of using ::fromLatin1() I just used + to concatenate the string literals. Both affected autotests still pass. Please reopen if build still fails on Windows. FIXED-IN:5.18 M +4 -4 autotests/ktexttohtmltest.cpp http://commits.kde.org/kcoreaddons/caf9e50da1d6ac94bfc844a4ba688a10aee851c0