Na tej stronie

Utils::Environment Class

class Utils::Environment

Klasa Environment definiuje środowisko systemowe serwisu Qt Creator. Więcej...

Header: #include <Environment>

Statyczne elementy publiczne

const Utils::Environment &originalSystemEnvironment()
Utils::Environment systemEnvironment()

Szczegółowy opis

Dokumentacja funkcji składowych

[static] const Utils::Environment &Environment::originalSystemEnvironment()

Przywraca oryginalne środowisko systemowe Qt Creator.

Jest to pełne, niezmodyfikowane środowisko, w którym uruchomiono Qt Creator. Należy używać tego środowiska do uruchamiania procesów, które są kompilowane wraz z Qt Creator i w związku z tym mają te same zależności biblioteczne. Ma to szczególne znaczenie, jeśli Qt Creator został uruchomiony za pośrednictwem Squish lub innej instancji Qt Creator, tj. w kontekście testowym lub programistycznym. W przypadku wszystkich pozostałych procesów należy używać systemEnvironment() lub bardziej wyspecjalizowanych wariantów, takich jak środowisko kompilacji, jeśli ma to zastosowanie.

[static] Utils::Environment Environment::systemEnvironment()

Zwraca środowisko systemowe serwisu Qt Creator.

Może się to różnić od środowiska systemowego, w którym uruchomiono program ` Qt Creator `, jeśli użytkownik zmienił je w sekcji „ Preferences ” > „ Environment ” > „ System ” > „ Environment ”.

Zobacz także originalSystemEnvironment().

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.