Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
shellquote_shared.h File Reference

(df9d882d41b741fef7c5beeddb0abe9d904443d8)

#include <QDir>
#include <QRegularExpression>
#include <QString>
+ Include dependency graph for shellquote_shared.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static bool hasSpecialChars (const QString &arg, const uchar(&iqm)[16])
 
static QString shellQuoteUnix (const QString &arg)
 
static QString shellQuoteWin (const QString &arg)
 
static QString shellQuote (const QString &arg)
 

Function Documentation

◆ hasSpecialChars()

static bool hasSpecialChars ( const QString & arg,
const uchar(&) iqm[16] )
inlinestatic

Definition at line 12 of file shellquote_shared.h.

References arg.

Referenced by shellQuoteUnix(), and shellQuoteWin().

+ Here is the caller graph for this function:

◆ shellQuote()

static QString shellQuote ( const QString & arg)
static

Definition at line 74 of file shellquote_shared.h.

References arg, QDir::separator(), shellQuoteUnix(), and shellQuoteWin().

Referenced by buildAndroidProject(), createRcc(), fileArchitecture(), getQtLibsFromElf(), scanImports(), signAAB(), signPackage(), and uninstallApk().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ shellQuoteUnix()

static QString shellQuoteUnix ( const QString & arg)
static

Definition at line 22 of file shellquote_shared.h.

References arg, hasSpecialChars(), and ret.

Referenced by shellQuote().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ shellQuoteWin()

static QString shellQuoteWin ( const QString & arg)
static

Definition at line 42 of file shellquote_shared.h.

References arg, hasSpecialChars(), i, and ret.

Referenced by shellQuote().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: