Hi
So I have a custom widget and want to use it in another project.
In the .pro file for the new project I have
LIBS += C://QTProjects/cccc-build-desktop/debug/mycustomwidgetplugin.dll
LIBS += C://QTProjects/cccc-build-desktop/debug/mycustomwidgetplugin.dll
To copy to clipboard, switch view to plain text mode
When I compile the project I get
debug
/MainWindow.
o:C
:\QTProjects\cccc
-build
-desktop
/.
/ui_MainWindow.
h:43: undefined reference to `MyCustomWidget
::MyCustomWidget(QWidget*)'
debug/MainWindow.o:C:\QTProjects\cccc-build-desktop/./ui_MainWindow.h:43: undefined reference to `MyCustomWidget::MyCustomWidget(QWidget*)'
To copy to clipboard, switch view to plain text mode
Any ideas?
Graham
Bookmarks