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
qprocess_darwin.mm
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#include <private/qprocess_p.h>
5
6
#import <Foundation/Foundation.h>
7
8
QT_BEGIN_NAMESPACE
9
10
QProcessEnvironment
QProcessEnvironment::systemEnvironment
()
11
{
12
__block
QProcessEnvironment
env;
13
[[[NSProcessInfo processInfo] environment]
14
enumerateKeysAndObjectsUsingBlock:^(NSString *
name
, NSString *
value
, BOOL *__unused stop) {
15
env.d->vars.insert(
16
QProcessEnvironmentPrivate::Key
(QString::fromNSString(
name
).
toLocal8Bit
()),
17
QProcessEnvironmentPrivate::Value
(QString::fromNSString(
value
).
toLocal8Bit
()));
18
}];
19
return
env;
20
}
21
22
QT_END_NAMESPACE
QByteArray
\inmodule QtCore
Definition
qbytearray.h:57
QProcessEnvironmentPrivate::Value
QProcEnvValue Value
Definition
qprocess_p.h:107
QProcessEnvironment
\inmodule QtCore
Definition
qprocess.h:32
QProcessEnvironment::systemEnvironment
static QProcessEnvironment systemEnvironment()
Definition
qprocess_darwin.mm:10
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
value
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Definition
qeglstreamconvenience_p.h:46
name
GLuint name
Definition
qopengles2ext.h:156
toLocal8Bit
static char * toLocal8Bit(char *out, QStringView in, QStringConverter::State *state)
Definition
qstringconverter.cpp:1743
qtbase
src
corelib
io
qprocess_darwin.mm
Generated by
1.10.0