> i'm trying now to set the library in cpp.staticLibraries or directly the
> full path to the .a as a cpp.linkerFlags but the project won't detect if
> the library has changed.

Shouldn't you use cpp.libraryPaths instead of cpp.linkerFlags?

> if i modify the library and recompile it, then run the project it will
> just run as if nothing had changed, it won't link the new version of the
> library.

Seems, that external libraries' modification dates are not properly tracked.

> is there any way to set a file as a dependency with the cpp module? so
> when it changes the project recompiles or relinks?

I would consider this a bug or at least a missing feature. You should
definitely create a ticket here: https://bugreports.qt.io/browse/QBS
_______________________________________________
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to