Important: Please read the Qt Code of Conduct -

Static linking Qt libraries

  • I created, compiled, and debugged successfully an application using Qt Version 4.7. I now want to statically link the Qt library with my application. I followed the instruction via It successfully generated the *.a file for Qt in my QTDIR/lib folder. However, when I try to reopen the project to add the necessary statement to statically link the library, the project setup dialog does not have any target so that I can open up my project. How do I go about getting this resolved.

Log in to reply