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. Unable to run application with Custom Widget
QtWS25 Last Chance

Unable to run application with Custom Widget

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.0k 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.
  • Q Offline
    Q Offline
    QterMN
    wrote on last edited by
    #1

    I created a custom Widget plugin (using the example AnalogClock) for the Designer which works fine. I am now having trouble using it in my application.

    I create my ui file using the Designer dragging my new Custom Widget.
    added the LIB += ... for the custom widget to the pro file.

    builds fine but get a runtime error for not finding the .dll for the custom widget

    Any help would be appreciated. (if you can show me how to use the AnalogClock widget that would work too)

    Thanks

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      Die you copy your plugin dll to your application.

      Also you can build a (static) lib of your custom widget (without the designer plugin code) that you can link your application against.

      http://www.catb.org/~esr/faqs/smart-questions.html

      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