But things like setting LIBS etc. - aren't the paths different on Windows than on Linux (where everything is /usr/lib)? Because the guides I see to using opencv, for example, involve hard-coding the Windows path in the .pro file.
But things like setting LIBS etc. - aren't the paths different on Windows than on Linux (where everything is /usr/lib)? Because the guides I see to using opencv, for example, involve hard-coding the Windows path in the .pro file.
Ah.
You can make conditional sections.
Conditions can be test functions, platforms, compilers, etc.
For example
triggers for Windows, any compiler, and
triggers for Windows, Microsoft's compiler only, while
triggers for GCC, any version, any platform, and so on.
Cheers,
_
Thanks! That solves it =)
Bookmarks