Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
runqttool.cpp File Reference

(20ebadd336805769de8ff5be29d24f07ab61efbb)

#include "runqttool.h"
#include "fmt.h"
#include "profileutils.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdir.h>
#include <QtCore/qregularexpression.h>
#include <cstdlib>
#include <iostream>
+ Include dependency graph for runqttool.cpp:

Go to the source code of this file.

Functions

static QString qtToolFilePath (const QString &toolName, QLibraryInfo::LibraryPath location)
 
static void rtPrintErr (const QString &out)
 
static QString shellQuoted (const QString &str)
 
static QStringList shellQuoted (const QStringList &strs)
 
static QString commandLineForSystem (const QString &program, const QStringList &arguments)
 
static int runQtToolHelper (const QString &toolName, const QStringList &arguments, QLibraryInfo::LibraryPath location)
 
void runQtTool (const QString &toolName, const QStringList &arguments, QLibraryInfo::LibraryPath location)
 
static int runInternalQtToolHelper (const QString &toolName, const QStringList &arguments)
 
void runInternalQtTool (const QString &toolName, const QStringList &arguments)
 
std::unique_ptr< QTemporaryFile > createProjectDescription (QStringList args)
 

Function Documentation

◆ commandLineForSystem()

static QString commandLineForSystem ( const QString & program,
const QStringList & arguments )
static

Definition at line 55 of file runqttool.cpp.

◆ createProjectDescription()

std::unique_ptr< QTemporaryFile > createProjectDescription ( QStringList args)

Definition at line 99 of file runqttool.cpp.

◆ qtToolFilePath()

static QString qtToolFilePath ( const QString & toolName,
QLibraryInfo::LibraryPath location )
static

Definition at line 20 of file runqttool.cpp.

◆ rtPrintErr()

static void rtPrintErr ( const QString & out)
static

Definition at line 29 of file runqttool.cpp.

◆ runInternalQtTool()

void runInternalQtTool ( const QString & toolName,
const QStringList & arguments )

Definition at line 92 of file runqttool.cpp.

◆ runInternalQtToolHelper()

static int runInternalQtToolHelper ( const QString & toolName,
const QStringList & arguments )
static

Definition at line 87 of file runqttool.cpp.

◆ runQtTool()

void runQtTool ( const QString & toolName,
const QStringList & arguments,
QLibraryInfo::LibraryPath location )

Definition at line 79 of file runqttool.cpp.

◆ runQtToolHelper()

static int runQtToolHelper ( const QString & toolName,
const QStringList & arguments,
QLibraryInfo::LibraryPath location )
static

Definition at line 63 of file runqttool.cpp.

◆ shellQuoted() [1/2]

static QString shellQuoted ( const QString & str)
static

Definition at line 34 of file runqttool.cpp.

◆ shellQuoted() [2/2]

static QStringList shellQuoted ( const QStringList & strs)
static

Definition at line 46 of file runqttool.cpp.