Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Design Tooling
  3. Qt Design Studio
  4. Custom component not appearing under My Components
Forum Updated to NodeBB v4.3 + New Features

Custom component not appearing under My Components

Scheduled Pinned Locked Moved Unsolved Qt Design Studio
2 Posts 2 Posters 606 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.
  • J Offline
    J Offline
    jaquilio
    wrote on 1 Oct 2022, 00:08 last edited by
    #1

    I followed the instructions at https://doc.qt.io/qtdesignstudio/quick-components-creating.html to create a custom component named ModeSelector which I want to use in my UI. I see that a file named ModeSelector.ui.qml is present in the folder I created to store such custom components. What do I need to do to make these custom components appear under "My Components" in Qt Design Studio?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Thomas Hartmann
      wrote on 1 Nov 2022, 11:52 last edited by
      #2

      A Component will not appear if you are currently inside that component.
      e.g. if you have components A and B then component B will be visible if you are editing component A and vice versa. Any component with a capitalized name, that is derived from Item and does not contain syntax errors should be visible.

      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