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

(37a4d711555f1876a5d861da556160e90d5f4e33)

#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()

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 97 of file runqttool.cpp.

◆ qtToolFilePath()

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

Definition at line 20 of file runqttool.cpp.

◆ rtPrintErr()

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 90 of file runqttool.cpp.

◆ runInternalQtToolHelper()

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

Definition at line 85 of file runqttool.cpp.

◆ runQtTool()

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

Definition at line 77 of file runqttool.cpp.

◆ runQtToolHelper()

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

Definition at line 61 of file runqttool.cpp.

◆ shellQuoted() [1/2]

QString shellQuoted ( const QString & str)
static

Definition at line 34 of file runqttool.cpp.

◆ shellQuoted() [2/2]

QStringList shellQuoted ( const QStringList & strs)
static

Definition at line 46 of file runqttool.cpp.