Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using a Qt Designer custom widget gives me link errors!
QtWS25 Last Chance

Using a Qt Designer custom widget gives me link errors!

Scheduled Pinned Locked Moved Unsolved General and Desktop
designplugin install
2 Posts 2 Posters 201 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jdent
    wrote on last edited by
    #1

    [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)
    ??

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Since you mention linking to a library, did you properly export the symbols of that library ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved