Doc: Describe running as root user on macOS

It was only described for Linux.

Fixes: QTCREATORBUG-30517
Change-Id: Ice1f1d227c5576775a460243ab2b126fcae7d14c
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Leena Miettinen
2024-03-11 13:33:35 +01:00
parent 99aed851ef
commit 45f8245dd1

View File

@@ -32,10 +32,10 @@
\section1 Run in Terminal \section1 Run in Terminal
For console applications, check the \uicontrol{Run in terminal} check box. For console applications, select \uicontrol{Run in terminal}.
To specify the terminal to use on Linux and \macos, select \preferences > To specify the terminal to use on Linux and \macos, go to \preferences >
\uicontrol Environment > \uicontrol System. To use an \l{Terminal} \uicontrol Environment > \uicontrol System. To use an \l{Terminal}
{internal terminal}, select \preferences > \uicontrol Terminal > {internal terminal}, go to \preferences > \uicontrol Terminal >
\uicontrol {Use internal terminal}. \uicontrol {Use internal terminal}.
\section1 Linker Libraries \section1 Linker Libraries
@@ -48,22 +48,21 @@
\c {make install}, and want to make sure that the deployed application will \c {make install}, and want to make sure that the deployed application will
find the libraries also when it is run without \QC. find the libraries also when it is run without \QC.
To disable library linking for the current project, deselect the To disable library linking for the current project, clear
\uicontrol {Add build library search path to PATH} check box. To disable \uicontrol {Add build library search path to PATH}. To disable
library linking for all projects, select \preferences > library linking for all projects, go to \preferences >
\uicontrol {Build & Run}, and then deselect the \uicontrol {Build & Run} and then clear
\uicontrol {Add linker library search paths to run environment} check box. \uicontrol {Add linker library search paths to run environment}.
\section1 \macos Options \section1 Debugging Linked Frameworks
The \uicontrol {Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug)} option On \macos, select \uicontrol {Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug)}
(only available on \macos) enables you to debug (for example, step into) to debug (for example, step into) linked frameworks, such as the Qt framework
linked frameworks, such as the Qt framework itself. You do not need this itself. You do not need this option for debugging your application code.
option for debugging your application code.
\section1 Linux Options \section1 Running as root User
On Linux, select the \uicontrol {Run as root user} check box to run the On Linux and \macos, select \uicontrol {Run as root user} to run the
application with root user permissions. application with root user permissions.
\sa {Configure projects for running}, {Specify a custom executable to run}, \sa {Configure projects for running}, {Specify a custom executable to run},