 |
ADTF Qt5
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
15#if (QT_VERSION < QT_VERSION_CHECK(5, 12, 0))
17 #define ADTF_THROW_QT_ERROR(__result)
20 #define ADTF_THROW_QT_ERROR(__result) m_oEngine.throwError(to_string(__result).GetPtr());
24#define EXCEPTION_TO_SCRIPT_ERROR(__return_value) \
25 catch (const tResult& oError) \
27 ADTF_THROW_QT_ERROR(oError); \
28 return __return_value; \
32#define SCRIPT_ERROR_IF_FAILED(__exp) \
35 auto oResult = (__exp); \
36 THROW_IF_FAILED(oResult); \
38 catch (const tResult& oError) \
40 ADTF_THROW_QT_ERROR(oError); \