qt - how to add additional include directories
Hi I am trying to create a qt program. Here I need some library file 开发者_运维技巧which are in
C:\Documents and Settings\prabhakaran\Desktop\ChessServerNew\ChessServerNew
I tried to edit the .pro file like
INCLUDEPATH += C:\Documents and Settings\prabhakaran\Desktop\ChessServerNew\ChessServerNew
But, still the qt compiler is saying that it can't find those files. Can anybody help me.
Well, might be because of the classical double quotes miss..
INCLUDEPATH += "C:\Documents and Settings\prabhakaran\Desktop\ChessServerNew\ChessServerNew"
Try this..
Try with a path without spaces in it, or quote it like suggested below. I think the spaces in "Documents and Settings" are the problem. Generally, I try to avoid any spaces in my paths, as qmake has problems with it.
精彩评论