Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我qSort在 Qt 中使用对QList包含结构的排序。我注意到波兰字符“Ś”位于排序列表的末尾或开头(取决于顺序)。是否有任何字符串比较函数将“Ś”放在“S”旁边?
qSort
QList
您需要使用QString::localeAwareCompare您的比较功能。
QString::localeAwareCompare