https://bugs.kde.org/show_bug.cgi?id=340982
sparhawk <kdeb...@plast.id.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kdeb...@plast.id.au --- Comment #90 from sparhawk <kdeb...@plast.id.au> --- (In reply to Gerd v. Egidy from comment #54) > If you want slightly different settings, the patch still might give you some > guidance how to do it. I also want to point out the testlocales program > which you'll find in util/local_database/testlocales within the qt5-qtbase > source. Compile and run it, you can use it to search for locale parts you > are interested in to combine them in a patch similar to mine. Thanks for that, Gerd. However, I have no idea how to start with creating a different kind of locale. The numerical codes in `qtbase-opensource-src-5.7.0/src/corelib/tools/qlocale_data_p.h` are incomprehensible to me; I guess testlocales will help explain them, but I'm not sure how to use this (see below). Could you please point me to a tutorial, or please provide more information? Thanks in advance. $ qmake testlocales.pro Info: creating stash file /tmp/qt5-base/src/qtbase-opensource-src-5.7.0/.qmake.stash $ make g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I.moc -isystem /usr/include/libdrm -I../../../mkspecs/linux-g++ -o .obj/localemodel.o localemodel.cpp localemodel.cpp: In member function ‘virtual QVariant LocaleModel::data(const QModelIndex&, int) const’: localemodel.cpp:286:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] || role != Qt::DisplayRole && role != Qt::EditRole && role != Qt::ToolTipRole ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I.moc -isystem /usr/include/libdrm -I../../../mkspecs/linux-g++ -o .obj/localewidget.o localewidget.cpp localewidget.cpp:28:22: fatal error: QTableView: No such file or directory #include <QTableView> ^ compilation terminated. make: *** [Makefile:690: .obj/localewidget.o] Error 1 -- You are receiving this mail because: You are watching all bug changes.