Set and get an envirment variable in Qt

  • I am new in Qt I want to implement that a variable should be read from a configurable file to my Qt c++ application, so how do I proceed ?I want to use getenv() in my application but I don't have idea how to set the variable and Export it. please help

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.