My Qt application uses multiple text files. I want my application executable to be placed in a directory that is specified by the user and the text files can be placed in some other directory.
How can I control this using flags e.g. qmake -executable_director -text_files_directory and then use text_files_directory in my code to read the text files? Basically I want to give user the privilege to specify where the executable is placed and where the text files should be placed while building/installing the application. I wish I could be more clearer :(