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. where should i place CustomWidgetPlugin.dll and CustomWidgetPlugin.lib?
Forum Updated to NodeBB v4.3 + New Features

where should i place CustomWidgetPlugin.dll and CustomWidgetPlugin.lib?

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 718 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.
  • O Offline
    O Offline
    opengpu
    wrote on last edited by
    #1

    where should i place CustomWidgetPlugin.dll and CustomWidgetPlugin.lib?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by dheerendra
      #2

      Not sure about the question. Ideally you can place anywhere path in your file system. Ensure that path is appropriately set. If you are compiling ensure you put the LIBS in your pro file. If you want run ensure path available.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      4
      • O Offline
        O Offline
        opengpu
        wrote on last edited by
        #3

        u mean i should put CustomWidgetPlugin.dll and CustomWidgetPlugin.lib in my exe project's include and lib path dir?
        but how QDesigner load this CustomWidgetPlugin ? i want to use CustomWidgetPlugin in QDesigner

        1 Reply Last reply
        0
        • O Offline
          O Offline
          opengpu
          wrote on last edited by
          #4

          i use Qt on Windows, and the IDE is visualStudio and qt-vs-addin

          1 Reply Last reply
          0
          • dheerendraD Offline
            dheerendraD Offline
            dheerendra
            Qt Champions 2022
            wrote on last edited by
            #5

            Have you seen the example "Creating Custom Widgets for Qt Designer" in assistant ? It give you complete detail on how to write designer plugins.

            Dheerendra
            @Community Service
            Certified Qt Specialist
            http://www.pthinks.com

            1 Reply Last reply
            8
            • O Offline
              O Offline
              opengpu
              wrote on last edited by
              #6

              i am look at the tutorial, but not find the answer yet.

              1 Reply Last reply
              0
              • dheerendraD Offline
                dheerendraD Offline
                dheerendra
                Qt Champions 2022
                wrote on last edited by
                #7

                Have you looked at these lines ?

                It is also necessary to ensure that the plugin is installed together with other Qt Designer widget plugins:
                
                  target.path = $$[QT_INSTALL_PLUGINS]/designer
                

                Dheerendra
                @Community Service
                Certified Qt Specialist
                http://www.pthinks.com

                1 Reply Last reply
                7
                • O Offline
                  O Offline
                  opengpu
                  wrote on last edited by
                  #8

                  ok, thank you. i make it.
                  but is CustomWidgetPlugin.lib(associated with CustomWidgetPlugin.dll) useless? i searched qaxwidget, qdeclarativeview, qquickwidget, qwebview in the whole Qt dir, and the result only include the dll, no lib

                  1 Reply Last reply
                  0
                  • O Offline
                    O Offline
                    opengpu
                    wrote on last edited by
                    #9

                    solved.
                    the lib and dll are used in the exe project.
                    while the dll is used for the QDesigner, lib is useless for the QDesigner.
                    thanks

                    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