[Qt-creator] Is there any way or trick to rebuild plugins without re-run QTCreator?

tobias.hunger at nokia.com tobias.hunger at nokia.com
Mon Mar 14 17:04:56 CET 2011


> I open QTcreator, make some code for my plugin, I compie it, I test it.
> I close all files opened into QTcreator, made some changes at my pluging code, and.... I cant compile It again because my plugin dll seems to be locked by Qtcreator?
> I have to close and reopen QtCreator.
> Is there a way to avoid this ?

No, windows is keeping the dll locked, there is no way I am aware of around
that.

What you can do to make this bearable: Use a qt creator to work and another
copy to run and test your plugin with. You need to make sure the other copy
is installed into a different place than your "work" copy.

That way you also do not need to close your files all the time. Plus creator
does not unload plugins ever. You need to restart creator to pick up the new
version of your plugin.

The command line option -color helps a lot to distinguish between the work
and test creator;-)

Best Regards,
Tobias


Tobias Hunger
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori



More information about the Qt-creator-old mailing list