The qmake variable PRE_TARGETDEPS might be what you are looking for. By using this variable in your project file, you should be able to specify the dependencies to the static library.
>>> Von: Vincent Cai <w...@cypress.com> An:Thiago Macieira <thiago.macie...@intel.com>, "interest@qt-project.org" <interest@qt-project.org> Datum: 23.1.2013 10:53 Betreff: Re: [Interest] How to rebuild a Qt project which linked with a static library? This will force to rebuild the whole project or just force re-link? -----Original Message----- From: interest-bounces+wcai=cypress....@qt-project.org [mailto:interest-bounces+wcai=cypress....@qt-project.org] On Behalf Of Thiago Macieira Sent: 2013年1月23日 12:52 To: interest@qt-project.org Subject: Re: [Interest] How to rebuild a Qt project which linked with a static library? On quarta-feira, 23 de janeiro de 2013 03.29.59, Vincent Cai wrote: > Dear All, > > I have a Qt project which is linked with a static library. > When I updated the static library, and try build the project, > the project can't detect that the library is updated and need to > rebuild. So that I have to rebuild the whole project. > Could anybody tell me how to fix this issue? Remove the target file and make again. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest __________________________________________ The content of this e-mail is confidential and restricted for the use of the intended recipient only. If you are not the intended recipient please inform the sender immediately and delete this e-mail and any attachments. We cannot accept liability for any damage incurred as a result of software viruses and advise that you carry out your own virus checks before opening any attachment. Der Inhalt dieses E-Mails ist vertraulich und für die alleinige Verwendung durch den beabsichtigten Empfänger bestimmt. Falls Sie nicht der beabsichtigte Empfänger sind, bitten wir Sie den Absender umgehend zu informieren und dieses E-Mail samt angeschlossenen Dateien zu löschen. Wir können keine Haftung für allfällige Schäden übernehmen, die aufgrund von Software-Viren entstehen, und empfehlen Ihnen, selbst Virenprüfungen durchzuführen, bevor Sie eine Anlage öffnen.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest