diff -r cf9a854b56a9 -r 3a4b132b8353 src/basics.h --- a/src/basics.h Tue Jun 28 19:43:55 2022 +0300 +++ b/src/basics.h Tue Jun 28 19:47:34 2022 +0300 @@ -46,6 +46,9 @@ //! \brief Return type of qHash. unsigned int on Qt5, unsigned long on Qt6. using hash_t = decltype(qHash(0)); +//! \brief Index type of QVector, int on Qt5, qsizetype on Qt6 +using index_t = QVector::size_type; + Q_DECLARE_METATYPE(glm::vec3) Q_DECLARE_METATYPE(glm::mat4)