[Qt5]In the case if accented characters are not displayed from the tr() calls 

I ran into an issue which was familiar from many years ago from the Qt 4.x times with a recent setup: Qt 5.14 + MSVC2015.

Solution:

Add the following to the pro file_


win32-msvc* {
QMAKE_CXXFLAGS += /utf-8
}



And recompile everything.
[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 108 )

<Előző | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Következő> >>

 
számláló