Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

plugin.pro Example File

tools/echoplugin/plugin/plugin.pro
TEMPLATE        = lib
CONFIG         += plugin
QT             += widgets
INCLUDEPATH    += ../echowindow
HEADERS         = echoplugin.h
SOURCES         = echoplugin.cpp
TARGET          = $$qtLibraryTarget(echoplugin)
DESTDIR         = ../plugins

EXAMPLE_FILES = echoplugin.json

# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin/plugins
INSTALLS += target

CONFIG += install_ok  # Do not cargo-cult this!
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded