No, it's not possible by looking at the .pro file, since the .pro file remains the same no matter how the Qt build is compiled. It's your .pro file, after all, not Qt's.
You could look at the target link command in the Makefile, and see whether the target is linked with .a files or .so files. Even that is an unnecessary diversion, though.
Simply use ldd
to show whether your executable is dynamically linked with Qt.
You could also look at the configuration options of the Qt kit that you're using.
Finally, LGPL is not incompatible with static linking. All that LGPL requires is that those you distribute the code to can re-link your closed source code with the LGPL library. For dynamic linking, they simply need to re-build the exact same configuration of Qt that you provided them, and swap the .so/.dll files. For static linking, they need to re-link your closed source object files with the copy of Qt that they themselves built from sources you provided. The simplest way to providing such object files is to have your project linked into a static library. That library can be then linked with Qt static library to produce the final executable. You'd need to provide your project's closed-source part as a static library, on request. IANAL!