mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Add support for building with Qt 5.5
This commit is contained in:
@@ -10,6 +10,15 @@
|
||||
|
||||
namespace sqlb {
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
|
||||
template<typename T>
|
||||
uint qHash(const QVector<T>& key, uint seed = 0)
|
||||
Q_DECL_NOEXCEPT_EXPR(noexcept(qHashRange(key.cbegin(), key.cend(), seed)))
|
||||
{
|
||||
return qHashRange(key.cbegin(), key.cend(), seed);
|
||||
}
|
||||
#endif
|
||||
|
||||
QString escapeIdentifier(QString id);
|
||||
|
||||
class Object;
|
||||
|
||||
Reference in New Issue
Block a user