Hello! I have Qt 4.4.3 on Linux. And I've discover a strange thing. The following code in my .pro-file doesn't work right anymore:
exists ("/usr/include/aspell.h")
{
message( "ASpell enabled" )
LIBS += -laspell
DEFINES += ASPELL_ENABLE
}
exists ("/usr/include/aspell.h")
{
message( "ASpell enabled" )
LIBS += -laspell
DEFINES += ASPELL_ENABLE
}
To copy to clipboard, switch view to plain text mode
As far I see, currently exists() returns true in ANY case - with aspell.h presented or not. The same thing for other files those I'm trying to check:
exists (subpop.h)
{
message( "foo bar is here" )
}
exists (subpop.h)
{
message( "foo bar is here" )
}
To copy to clipboard, switch view to plain text mode
Bookmarks