Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Imports in qml
Qt 6.11 is out! See what's new in the release blog

Imports in qml

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 569 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.
  • I Offline
    I Offline
    Izza
    wrote on last edited by
    #1

    Hello,

    I am having some trouble importing the folders from my library into my qml file .
    QcStyle -> designer
    QcStyle -> Base

    i want to import Base in designer.qml
    i tried following

    import QcStyle.Base .. no gain
    import "../Base" as Base .... no gain
    for both it says "no such directory"

    1 Reply Last reply
    0
    • hooanghiepH Offline
      hooanghiepH Offline
      hooanghiep
      wrote on last edited by
      #2

      import "your/folder/path"

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Izza
        wrote on last edited by
        #3

        And finally my first custom c++ library with Qt 5.12.2 works ![alt text](![image url](0_1558362722831_Capture.PNG image url))

        And its Super Fast !!

        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