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. Basic QML module/lib/plugin
Qt 6.11 is out! See what's new in the release blog

Basic QML module/lib/plugin

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

    I am attempting to create a module ala https://doc.qt.io/qt-6.2/cmake-build-reusable-qml-module.html. Is there a code example with this working? I get over and over:

    "Mistake is not a type"

    Rather than "Cannot assign to read-only property answer" as expected.

    Additionally import example.mylib yields errors in editor, though not at runtime.

    My code is at https://bitbucket.org/malachib/playground.qt/src/master/src/PGQT-29/

    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