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. How to import installed QML plugin
Forum Updated to NodeBB v4.3 + New Features

How to import installed QML plugin

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 130 Views 1 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.
  • T Offline
    T Offline
    tubbadu
    wrote on last edited by
    #1

    Hello there! I'm trying to learn to write QML plugins following this guide.
    So I cloned this project and run:

    qmake-qt5
    make
    

    and running qmlscene -I imports plugins.qml correctly shows the clock
    now I'd like to install this module to the whole system in order to access it from any QML project, so I run

    sudo make install
    

    it installed it correctly, so now I need to import it in my qml project:
    how can I tell qmake (or cmake, even better) that I want to use it?

    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