
Originally Posted by
wysota
Do you have more than one plugin in the "libplugins" lib? I don't think this is possible... AFAIR you can have only one plugin export macro per plugin.
I only have one "libplugins" plugin. This is my first shot at plugins (at least under Qt... I've used ld and libtool ld before), and I had a bit of a misunderstanding that I have not yet corrected. It will end up being libWhiteboard.
The name of the source file(s) are pluginWhiteboard.[h/cpp]
And also, because I forgot to post it, the contents of the .pro file for the plugin:
# Target is a library: whiteboard
QT = network core
INCLUDEPATH += ../src
TARGET = whiteboard
DESTDIR = ../bin/plugins
CONFIG += release \
warn_on \
qt \
plugin
TEMPLATE = lib
HEADERS += pluginWhiteboard.h
SOURCES += pluginWhiteboard.cpp
# Target is a library: whiteboard
QT = network core
INCLUDEPATH += ../src
TARGET = whiteboard
DESTDIR = ../bin/plugins
CONFIG += release \
warn_on \
qt \
plugin
TEMPLATE = lib
HEADERS += pluginWhiteboard.h
SOURCES += pluginWhiteboard.cpp
To copy to clipboard, switch view to plain text mode
Bookmarks