Nesta página

Utils::Environment Class

class Utils::Environment

A classe Environment define o ambiente do sistema d Qt Creator. Mais...

Header: #include <Environment>

Membros públicos estáticos

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

Descrição detalhada

Documentação das funções-membro

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

Restitui o ambiente de sistema original de Qt Creator.

Este é o ambiente completo e não modificado com o qual o Qt Creator foi iniciado. Use este ambiente para iniciar processos que foram compilados junto com o Qt Creator e, portanto, possuem as mesmas dependências de bibliotecas. Isso é particularmente relevante se o Qt Creator tiver sido iniciado via Squish ou outra instância do Qt Creator, ou seja, em contextos de teste ou desenvolvimento. Para todos os outros processos, use systemEnvironment() ou variantes mais especializadas, como o ambiente de compilação, se aplicável.

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

Retorna o ambiente de sistema de Qt Creator.

Isso pode ser diferente do ambiente do sistema no qual o Qt Creator foi iniciado, caso o usuário o tenha alterado em Preferences > Environment > System > Environment.

Veja também 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.