How to change the route in the *.h files ?
the route of the head files is wrong,and i have to modified it.But in windows xp,there is no way to change the environment variaties.So could i add some code into the program so that i could decrease my work time ?Poor english hope you could understand me .
Re: How to change the route in the *.h files ?
Do you mean path to header files?
If yes then add path to your pro file, like this:
Code:
INCLUDEPATH += path1 \
path2 \
path3
Re: How to change the route in the *.h files ?
in fact it doesn't work .the source code is like this
Code:
#include <taglib/taglib.h>
and the files route is like this
Code:
./taglib/include/taglib.h
so how could make sure that the QT could recognize the <taglib/taglib.h> is the file of ./taglib/include/taglib.h
Re: How to change the route in the *.h files ?
Quote:
so how could make sure that the QT could recognize the <taglib/taglib.h> is the file of ./taglib/include/taglib.h
You change <taglib/taglib.h> to <taglib.h> and add the path to the include paths.
Re: How to change the route in the *.h files ?
Quote:
Originally Posted by
wter27
But in windows xp,there is no way to change the environment variaties.
You mean environment variables? Of course you can, they are in "My computer" :)
Re: How to change the route in the *.h files ?
though I knew the way you just mentioned .But that would be a lot work to do.I just wondered if there is some easy way to work it out.
thanks ,i knew that .but in windows xp there is no way to make a link between the <taglib/taglib.h> and the ./taglib/include/taglib.h
Re: How to change the route in the *.h files ?
Your installation doesn't match what your code is calling for. One or the other will have to be changed.
Re: How to change the route in the *.h files ?
Quote:
Originally Posted by
SixDegrees
Your installation doesn't match what your code is calling for. One or the other will have to be changed.
What is that
Quote:
doesn't match what your code is calling for
,i dont get it.could you give me some hints?
Re: How to change the route in the *.h files ?
Your source code is looking for headers in a place that doesn't exist. You either have to put your headers where your source code expects them to be, or change your source code to look in a different place.