Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    General and Desktop
    1
    1
    699
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      prithivi last edited by

      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?

      Thanks,
      Prithivi

      1 Reply Last reply Reply Quote 0
      • First post
        Last post