Dokit
Internal development documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
stringliterals_p.h File Reference

Declares the DOKIT_USE_STRINGLITERALS macro, and related functions. More...

#include <QtGlobal>
Include dependency graph for stringliterals_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DOKIT_USE_STRINGLITERALS   using namespace Qt::Literals::StringLiterals;
 Internal macro for using either official Qt string literals (added in Qt 6.4), or our own equivalent ones for older Qt versions.
 

Detailed Description

Declares the DOKIT_USE_STRINGLITERALS macro, and related functions.

This is only required to support Qt versions earlier than 6.4, since Qt added string literal operators in that versions. This header can, and will, be removed entirely when Dokit no longer supports Qt versions earlier than 6.4.

Definition in file stringliterals_p.h.

Macro Definition Documentation

◆ DOKIT_USE_STRINGLITERALS

#define DOKIT_USE_STRINGLITERALS   using namespace Qt::Literals::StringLiterals;

Internal macro for using either official Qt string literals (added in Qt 6.4), or our own equivalent ones for older Qt versions.

This macro can, and will, be removed entirely when Dokit no longer supports Qt versions earlier than 6.4.

Definition at line 60 of file stringliterals_p.h.