このページでは

Utils::Environment Class

class Utils::Environment

Environment クラスは、Qt Creator のシステム環境を設定します。詳細...

Header: #include <Environment>

静的パブリックメンバ

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

詳細な説明

メンバ関数のドキュメント

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

Qt Creator の元のシステム環境を復元します。

これは、Qt Creator が起動された際の、変更されていない完全な環境です。この環境を使用して、Qt Creator と並行してビルドされ、したがって同じライブラリ依存関係を持つプロセスを起動してください。これは特に、Qt Creator がSquishまたはQt Creator の別のインスタンス(つまり、テストや開発のコンテキスト)を介して起動された場合に重要です。 それ以外のすべてのプロセスについては、systemEnvironment() を使用するか、該当する場合はビルド環境などのより専門的なバリエーションを使用してください。

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

Qt Creator のシステム環境を取得します。

ユーザーがPreferences >Environment >System >Environment でシステム環境を変更している場合、これはQt Creator が起動した際のシステム環境とは異なることがあります。

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.