Important: Please read the Qt Code of Conduct -

Is there some way to 'automatize' plugin creation?

  • When I make a change in my plugin:

    1. I build it
    2. I close the Qt Creator (or else the existing plugin cannot be overwritten )
    3. I move the plugin from folder: C:\Documents\QtProjects\Tml\build-Tml-Desktop_Qt_5_0_2_MSVC2010_32bit-Release\release to the folder G:\Qt\Qt5.0.2\Tools\QtCreator\bin\designer, so the existing plugin is overwritten.
    4. I re - open Qt Creator.

    Is there some way to do all this automatically? (Qt Creator 2.7.0)

  • Lifetime Qt Champion

    I use the "make install" feature

    Look in "Installing Files"

    You can then make it copy it .

    Note for this to trigger. You must make a manual make step
    alt text


    I have ( in pro)

    # if you are using Shadow build, you need to get the output folder
    CONFIG(release, debug|release): DESTDIR = $$OUT_PWD/release
    CONFIG(debug, debug|release): DESTDIR = $$OUT_PWD/debug
    install_it.path = $$DESTDIR/data
    install_it.files = $$PWD/copy_to_install_dir/*
    INSTALLS += \

    This will copy the data folder in the project (copy_to_install_dir) to the build folder i folder called data . ( all files in copy_to_install_dir)

    You can then just copy to plugin folder.

Log in to reply