> On Dec 11, 2016, at 4:59 PM, Bob Hood <[email protected]> wrote:
> 
> I'm using Creator 4.0.3.  I'm building a Qt plug-in for my application 
> (separate project), and I want to "deploy" the resulting shared library into 
> a specific location where my main application will be looking for those 
> plug-ins.
> 
> I admit right up front, I'm fairly unknowledgeable about using qmake's 
> INSTALL option.  I've been using the DESTDIR option to direct the output to 
> the correct location, but that directs all build files, not just the 
> resulting shared library file.  I only want the shared library file to be 
> deployed to the target location.
> 
> I've tried adding an INSTALL target to the plug-in's project .pro file, but I 
> don't see a way within Qt Creator to execute that target (ideally, it would 
> automatically execute after the build).

You can add another “make” build step which runs “make install” to your build 
configuration
https://doc.qt.io/qtcreator/creator-build-settings.html#build-steps

Br, Eike

>  I also see the "Deployment" section under "Run", but my INSTALL target is 
> not listed there, and I'm not sure how to set that up.
> 
> Can somebody give me some pointers to having (only) my shared library plug-in 
> file deployed to a target location automatically following a successful build 
> within Qt Creator?
> 
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
[email protected]
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B




_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to