Hello.
I'm wondering how to build project in current directory of .pro file, instead of "debug" or "release" subfolder.
The reason I need to do this is because when I tried building my project, it complained about "No rule to make target 'blah blah blah' needed by /debug/C_html4_attributes.o'. Stop.".
So I went and looked in my Makefile.debug file and discovered the reason for the problem: its looking for the included header files in parent directories of the "debug" subfolder, instead of parent directories of the current directory, meaning qmake did not evidently generate the right paths for the makefile, and adjust the header include paths to account for the debug subfolder, but instead just copied them as it is in the .pro file, thus creating the problem I'm having only on Windows (the same project builds just fine on another OS - Ubuntu - on the same computer, obviously because in Linux, it does not build the executable in a subfolder, but builds it in the same directory as the .pro file).
Anyone have any solution for this problem??
Thanks in advance..
Added after 49 minutes:
Oh great...
Now to add to my list of problems, I'm now seeing that the header file its complaining about is not even showing up in the Projects file tree pane, or whatever you call it. Even though the path to the file is correct, and the file exists, and I've also tried removing it from the project, and then adding it again through right-click to project->select "Add Existing Files" and then selected the trouble file again, but still its not showing up in the tree view. And of course, I'm still getting the "no rule to make target" error again...
So I don't know what the hell is the problem.
Bookmarks