[Kde-graphics-devel] checking libksane version

Robby Stephenson robby at periapsis.org
Wed Mar 18 06:04:45 CET 2009


Hi all,

What's the best way to check which version of libksane is being used to 
compile a program? The KSaneWidget::currentDPI() API is new, and if I use 
it, I want to surround it with suitable version checks. I guess I could 
check for KDE_IS_VERSION(4,3,0) but that doesn't seem right. Does it need to 
be a cmake macro check?

Thanks,
Robby


More information about the Kde-graphics-devel mailing list