qt.cfg: Added support for more macros, found by daca@home.

This commit is contained in:
orbitcowboy 2019-09-16 20:37:33 +02:00
parent 3acb0f3736
commit d531bab8be
1 changed files with 6 additions and 0 deletions

View File

@ -4614,6 +4614,12 @@
<define name="Q_D(Class)" value="Class##Private * const d = d_func()"/>
-->
<define name="Q_CLASSINFO(Name, Value)" value=""/>
<define name="Q_EXPORT_PLUGIN(ClassName)" value=""/>
<define name="Q_EXPORT_PLUGIN2(a,ClassName)" value=""/>
<define name="Q_IMPORT_PLUGIN(ClassName)" value=""/>
<define name="Q_IMPORT_PLUGIN2(a,ClassName)" value=""/>
<define name="Q_GLOBAL_STATIC(Type,VariableName)" value=""/>
<define name="Q_GLOBAL_STATIC_WITH_ARGS(Type,VariableName,Arguments)" value=""/>
<define name="Q_DECL_EXPORT" value=""/>
<define name="Q_DECL_IMPORT" value=""/>
<define name="QT_DECLARE_DEPRECATED_TR_FUNCTIONS(context)" value="static inline QString trUtf8(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) { return QCoreApplication::translate(#context, sourceText, disambiguation, n); }"/>