Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Use QTDIR environment variable in XCode Build Settings



  • Hi, I am using Qt 5.7.1 with Xcode11.3, I would like to use environment variable QTDIR in the Build Settings of XCode project, but cannot find a way to get such variable.
    I already set in the profile and echo the value on the Terminal but still cannot get the value in the Xcode project setting pages. Is there any way that the environment variable QTDIR be read as Visual Studio does? Thanks in advance.


Log in to reply