Loading...
Searching...
No Matches
String.hpp
1#pragma once
2#include <QDebug>
3#include <QString>
4
5#include <score_lib_base_export.h>
6
7#include <string>
8
9#if QT_VERSION < QT_VERSION_CHECK(6, 5, 0)
10SCORE_LIB_BASE_EXPORT
11QDebug operator<<(QDebug debug, const std::string& obj);
12#endif
13
14inline QStringList splitWithoutEmptyParts(const QString& src, const QString& sep)
15{
16 return src.split(sep, Qt::SkipEmptyParts);
17}