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. [SOLVED] [Qt Plugin] A simple question on plugins
Forum Update on Monday, May 27th 2025

[SOLVED] [Qt Plugin] A simple question on plugins

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.8k 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.
  • V Offline
    V Offline
    valandil211
    wrote on 5 Jul 2011, 13:47 last edited by
    #1

    Hello Qt Devs!

    On "this":http://developer.qt.nokia.com/forums/viewthread/7186/P15 thread, André advised me to use plugins to write my Qt app (background info "here":http://developer.qt.nokia.com/forums/viewthread/7221/). I read the "wiki":http://developer.qt.nokia.com/wiki/BasicsOfPlugins and went through the "Plug & Paint":http://doc.qt.nokia.com/latest/tools-plugandpaint.html example.

    Now, is it possible for a plugin to have methods that are not defined in the interface? Moreover, for these plugins to return widgets, I must have form files (.UI files) that the plugin processes, right?

    If you need any clarification on any point, please ask me.

    Thanks for your time!

    Joey Dumont

    1 Reply Last reply
    0
    • L Offline
      L Offline
      loladiro
      wrote on 5 Jul 2011, 13:53 last edited by
      #2

      [quote author="Joey Dumont" date="1309873675"]
      Now, is it possible for a plugin to have methods that are not defined in the interface?
      [/quote]

      Yes, but you won't be able to access them from your main app.

      [quote author="Joey Dumont" date="1309873675"]
      Moreover, for these plugins to return widgets, I must have form files (.UI files) that the plugin processes, right?
      [/quote]

      If you compile the plugins and the plugins don't dynamically load the Ui (e.g. via UiLoader), then you don't need the .ui files. (You need them only to compile your plugins, but not afterward)

      1 Reply Last reply
      0
      • V Offline
        V Offline
        valandil211
        wrote on 5 Jul 2011, 14:00 last edited by
        #3

        Thanks, @loladiro. That's all I wanted to know.

        Joey Dumont

        1 Reply Last reply
        0

        1/3

        5 Jul 2011, 13:47

        • Login

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