Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unable to run application with Custom Widget

    General and Desktop
    2
    2
    1881
    Loading More Posts
    • 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
      QterMN last edited by

      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 Reply Quote 0
      • G
        goetz last edited by

        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 Reply Quote 0
        • First post
          Last post