开发者

qt - how to add additional include directories

开发者 https://www.devze.com 2023-01-05 13:19 出处:网络
Hi I am trying to create a qt program. Here I need some library file 开发者_运维技巧which are in

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消