tonnot
27th October 2010, 19:13
The files dll and lib_####.a are generated at build-desktop folder.
But I dont see my custom widgets, and I copy the .a and dll files by hand to qt\plugins\designer
My pro file is the next :
QT += core gui
TEMPLATE = lib
CONFIG += designer \
plugin \
release \
warn_on \
TARGET = gui_plugins
target.path += $$[QT_INSTALL_PLUGINS]/designer
INSTALLS += target
INCLUDEPATH += ../AnalogWidgets/analogwidgets/analogwidgets \
../AnalogWidgets/analogwidgets/code
HEADERS += \
../AnalogWidgets/analogwidgets/analogwidgets/wallclock.h \
../AnalogWidgets/analogwidgets/analogwidgets/led.h \
../AnalogWidgets/analogwidgets/plugins/led_plugin.h \
../AnalogWidgets/analogwidgets/plugins/wallclock_plugin.h \
../AnalogWidgets/analogwidgets/analogwidgets/widgetwithbackground.h
SOURCES += \
../AnalogWidgets/analogwidgets/code/wallclock.cpp \
../AnalogWidgets/analogwidgets/code/widgetwithbackground.cpp \
../AnalogWidgets/analogwidgets/code/led.cpp \
../AnalogWidgets/analogwidgets/plugins/wallclock_plugin.cpp \
../AnalogWidgets/analogwidgets/plugins/led_plugin.cpp
FORMS +=
Any help ?
But I dont see my custom widgets, and I copy the .a and dll files by hand to qt\plugins\designer
My pro file is the next :
QT += core gui
TEMPLATE = lib
CONFIG += designer \
plugin \
release \
warn_on \
TARGET = gui_plugins
target.path += $$[QT_INSTALL_PLUGINS]/designer
INSTALLS += target
INCLUDEPATH += ../AnalogWidgets/analogwidgets/analogwidgets \
../AnalogWidgets/analogwidgets/code
HEADERS += \
../AnalogWidgets/analogwidgets/analogwidgets/wallclock.h \
../AnalogWidgets/analogwidgets/analogwidgets/led.h \
../AnalogWidgets/analogwidgets/plugins/led_plugin.h \
../AnalogWidgets/analogwidgets/plugins/wallclock_plugin.h \
../AnalogWidgets/analogwidgets/analogwidgets/widgetwithbackground.h
SOURCES += \
../AnalogWidgets/analogwidgets/code/wallclock.cpp \
../AnalogWidgets/analogwidgets/code/widgetwithbackground.cpp \
../AnalogWidgets/analogwidgets/code/led.cpp \
../AnalogWidgets/analogwidgets/plugins/wallclock_plugin.cpp \
../AnalogWidgets/analogwidgets/plugins/led_plugin.cpp
FORMS +=
Any help ?