Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. qmlextension plugin
Qt 6.11 is out! See what's new in the release blog

qmlextension plugin

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 3 Posters 1.7k Views 3 Watching
  • 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
    jayshetti
    wrote on last edited by jayshetti
    #1

    Hello everyone,
    I have to create QT quick 2 extension Plugin which includes simple qml file to draw rectangle
    after creating that extension plugin i have to use that plugin into another qt quick application to display that rectangle is it possible if so how to do that can anybody help !

    i referred Qt documentation exmple (clock) but unable to understand.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jagh
      wrote on last edited by
      #2

      Can you perhaps say more precisely what is it that you don't understand?

      It's quite hard to answer a broad question like this, other than by pointing to a Qt Doc example(which you already found, so this clearly didn't help)

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jayshetti
        wrote on last edited by
        #3

        @Jagh i referred this example
        i am able to expose time class from example to qml side but in that example there are qml files like Clock.qml and plugins.Qml i want to use these qml files as components is it possible if so how to do that

        my qmldir contains

        module TimeExample
        Clock 1.0 Clock.qml
        plugin qmlqtimeexampleplugin

        raven-worxR 1 Reply Last reply
        0
        • J jayshetti

          @Jagh i referred this example
          i am able to expose time class from example to qml side but in that example there are qml files like Clock.qml and plugins.Qml i want to use these qml files as components is it possible if so how to do that

          my qmldir contains

          module TimeExample
          Clock 1.0 Clock.qml
          plugin qmlqtimeexampleplugin

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @jayshetti
          no need to double post the same question.

          ... CLOSING

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          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