In questa pagina

Utils::Environment Class

class Utils::Environment

La classe Environment imposta l'ambiente di sistem Qt Creator. Maggiori informazioni...

Header: #include <Environment>

Membri pubblici statici

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

Descrizione dettagliata

Documentazione delle funzioni membro

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

Restituisce l'ambiente di sistema originale di Qt Creator.

Si tratta dell'ambiente completo e non modificato con cui è stato avviato Qt Creator. Utilizzare questo ambiente per avviare processi che sono stati compilati insieme a Qt Creator e che quindi presentano le stesse dipendenze dalle librerie. Ciò è particolarmente rilevante se Qt Creator è stato avviato tramite Squish o un'altra istanza di Qt Creator, ad esempio in contesti di test o sviluppo. Per tutti gli altri processi, utilizzare systemEnvironment() o varianti più specializzate come l’ambiente di compilazione, se applicabile.

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

Restituisce l'ambiente di sistema di Qt Creator.

Questo può differire dall'ambiente di sistema in cui è stato avviato Qt Creator se l'utente lo ha modificato in Preferences > Environment > System > Environment.

Vedi anche 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.