I need to see the actual error messages - together with *.pro file if possible.
I need to see the actual error messages - together with *.pro file if possible.
This must not happen as such, just try posting the error message. Also try escaping the space ( this is what happens in *nix environments, dunno if it works with windows as well ).
Which version are u using ?
Do what u r afraid to do, and the death of fear is sure.
There is no error message. qmake thinks its two completely separate paths and includes both of them. So I guess I get an error about cannot find header file during compile time. The issue is not an error, it's that qmake will not allow for an include path with a space in it. The space is qmake's line break character.
I do a lot of Matlab integration with Qt and the new Matlab uses an include path located in 'Program Files/Matlab/' this is why I'm including something from that path.
P.S. I tried the '\ ' escape on the space and it didn't work neither. Thanks though.
I'm using Qt 4.1.2 for this project.
Have u checked in the Project Settings in Visual Studio? i tried the path with spaces in it in pro file. I just enclosed the path in double qoutes, after that i imported the file in VC++.
There i checked the path, its full in double quotes :
Qt Code:
/I"C:/Documents and Settings/ajain/Desktop/qt/include"To copy to clipboard, switch view to plain text mode
if i dont use "" then this happens
Qt Code:
/I"C:\Documents" /I"and" /I"Settings\ajain\Desktop\qt\include"To copy to clipboard, switch view to plain text mode
See if this helps and reply .... ur qt installation is perfect na ? hav u tried running other examples ?
Do what u r afraid to do, and the death of fear is sure.
Bookmarks