One can find a lot of examples where QMAKE_LIBDIR is used to specify additional library directories.
The Qt manual says:
QMAKE_LIBDIR
Specifies a list of system library paths. The value of this variable is typically handled by qmake or qmake.conf and rarely needs to be modified.
Up to now I always used "unix: -L$$(LIB_DIR) -l" or similar whenever I wanted to use an external library in one of my projects and didn't want to use the library wizard.
Can I conclude that specifying a path via -L is discouraged even if there is no corresponding statement within the manual? (According to this post it is discouraged - but why?)
Thanks in advance.