Using a Qt Designer custom widget gives me link errors!
Unsolved
General and Desktop
-
[error LNK2019: unresolved external symbol "public: __cdecl QtDesignerWidget1::QtDesignerWidget1(class QWidget *)" (??0QtDesignerWidget1@@QEAA@PEAVQWidget@@@Z) referenced in function "public: void __cdecl Ui_QtWidgetMinWindowClass::setupUi(class QMainWindow *)" (?setupUi@Ui_QtWidgetMinWindowClass@@QEAAXPEAVQMainWindow@@@Z)
1>U:\Users\Juan Dent\Qt\QtWidgetsApplication1\x64\Release\QtWidgetMinWindow.exe : fatal error LNK1120: 1 unresolved externals](link url)I linked the app with the QtDesignerWidget1.lib in release mode but it does not seem to provide the exported symbol
(the constructor)
?? -
Hi,
Since you mention linking to a library, did you properly export the symbols of that library ?