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 componenet with other qml file in the project?

How to import componenet with other qml file in the project?

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

    I want to divide components (or something else) with main.qml to other qml files but i don't know what i need do that my components be visible in main.qml.

    I readed:
    http://doc.qt.io/qt-5/qtqml-syntax-imports.html
    but this dont work for me or i do someting wrong. Maybe you have give me any example?
    http://imgur.com/a/nIypr
    http://imgur.com/a/nIypr

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Pyroxar
      wrote on last edited by
      #2

      I think that this is solved my problem.
      http://doc.qt.io/qt-5/qml-qtquick-loader.html

      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