ADTF
cScriptMacros

Provides the global 'macros' object within scripts. More...

Inheritance diagram for cScriptMacros:
[legend]

Public Member Functions

Q_INVOKABLE QString resolve (const QString &strUnresolved)
 

Detailed Description

Provides the global 'macros' object within scripts.

Definition at line 30 of file macros.h.

Member Function Documentation

◆ resolve()

Q_INVOKABLE QString resolve ( const QString &  strUnresolved)

Example Usage

let guidesPath = macros.resolve("$(ADTF_DIR)/doc/adtf3_guides.html")
console.info("ADTF3 GUIDES " + guidesPath)
Parameters
[in]strUnresolvedString including macros
Returns
String with resolved macros