Important: Please read the Qt Code of Conduct -

Xcode project generated using qmake - Relative path for input files in C++ program not working

  • Hello Everyone,

    I am new to Mac OS and I am using qmake -spec macx-xcode to generate my xcode project files from .pro files.
    The problem I have is,
    When I try to read a file in the c++ program, the relative path is not working and the current working directory of Xcode is not the same as the xcode project file.

    Is there a way that I can control this in the .pro file? Or is there an another solution?


Log in to reply