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. Create custom widget for project

Create custom widget for project

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

    Hi!
    How create custom widget for project?
    I create folder "CustomWidgets", in folder create ComboBoxCustom.qml and qmldir

    qmldir:

    module CustomWidgets
    ComboBoxCustom 1.0 ComboBoxCustom.qml
    

    If I write "import CustomWidgets 1.0" the get eroor:

    qrc:/Settings.qml:3:1: Type SettingsForm unavailable
    qrc:/SettingsForm.ui.qml:5:1: module "CustomWidgets" is not installed
    

    6.png

    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