Forum
Sign Up

Help: QtitanRibbon 6.2.1 with VS 2015 and Qt 5.6.3, lnk2019 error.

1 year 8 months ago #1 by Hua Su
QtitanRibbon 6.2.1 with VS 2015 and Qt 5.6.3, lnk2019 error.
I compiled the source secucessfully. Then I add it to a new QMainWindow program with the lib and dll, but I got fatal error LNK1120: 131 个无法解析的外部命令
like:
1>DemoRibbonWindow.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static class WindowTitleBar * __cdecl WindowTitleBar::get(class QWidget *)" (__imp_?get@WindowTitleBar@@SAPAV1@PAVQWidget@@@Z),该符号在函数 "public: __thiscall DemoRibbonWindow::DemoRibbonWindow(class QWidget *)" (??0DemoRibbonWindow@@QAE@PAVQWidget@@@Z) 中被引用
1>DemoRibbonWindow.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall WindowTitleBar::setBlurBehindWindowEnabled(bool)" (__imp_?setBlurBehindWindowEnabled@WindowTitleBar@@QAEX_N@Z),该符号在函数 "public: __thiscall DemoRibbonWindow::DemoRibbonWindow(class QWidget *)" (??0DemoRibbonWindow@@QAE@PAVQWidget@@@Z) 中被引用
1>DemoRibbonWindow.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall CommonStyle::setAnimationEnabled(bool)" (__imp_?setAnimationEnabled@CommonStyle@@QAEX_N@Z),该符号在函数 "protected: void __thiscall DemoRibbonWindow::animationChanged(bool)" (?animationChanged@DemoRibbonWindow@@IAEX_N@Z) 中被引用
1>DemoRibbonWindow.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall CommonStyle::setDialogsIgnored(bool)" (__imp_?setDialogsIgnored@CommonStyle@@QAEX_N@Z),该符号在函数 "protected: void __thiscall DemoRibbonWindow::setNativeDialogs(bool)" (?setNativeDialogs@DemoRibbonWindow@@IAEX_N@Z) 中被引用
1>DemoRibbonWindow.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall CommonStyle::setScrollBarsIgnored(bool)" (__imp_?setScrollBarsIgnored@CommonStyle@@QAEX_N@Z),该符号在函数 "protected: void __thiscall DemoRibbonWindow::setNativeScrollBars(bool)" (?setNativeScrollBars@DemoRibbonWindow@@IAEX_N@Z) 中被引用
1>DemoRibbonWindow.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static void __cdecl ToolTip::setWrapMode(enum ToolTip::WrapMode)" (__imp_?setWrapMode@ToolTip@@SAXW4WrapMode@1@@Z),该符号在函数 "public: __thiscall DemoRibbonWindow::DemoRibbonWindow(class QWidget *)" (??0DemoRibbonWindow@@QAE@PAVQWidget@@@Z) 中被引用
1>DemoRibbonWindow.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall RibbonMainWindow::RibbonMainWindow(class QWidget *,class QFlags<enum Qt::WindowType>)" (__imp_??0RibbonMainWindow@@QAE@PAVQWidget@@V?$QFlags@W4WindowType@Qt@@@@@Z),该符号在函数 "public: __thiscall DemoRibbonWindow::DemoRibbonWindow(class QWidget *)" (??0DemoRibbonWindow@@QAE@PAVQWidget@@@Z) 中被引用
1>DemoRibbonWindow.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: virtual __thiscall RibbonMainWindow::~RibbonMainWindow(void)" (__imp_??1RibbonMainWindow@@UAE@XZ),该符号在函数 __unwindfunclet$??0DemoRibbonWindow@@QAE@PAVQWidget@@@Z$0 中被引用
1>TestFrameworkQt.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: virtual __thiscall RibbonMainWindow::~RibbonMainWindow(void)" (__imp_??1RibbonMainWindow@@UAE@XZ)
1>main.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: virtual __thiscall RibbonMainWindow::~RibbonMainWindow(void)" (__imp_??1RibbonMainWindow@@UAE@XZ)

The test grogarm was uploaded.

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.118 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )