Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. Qt 资源文件与QML 的问题
Forum Updated to NodeBB v4.3 + New Features

Qt 资源文件与QML 的问题

Scheduled Pinned Locked Moved Unsolved Chinese
3 Posts 3 Posters 675 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.
  • 1 Offline
    1 Offline
    17cainiao
    wrote on last edited by 17cainiao
    #1

    53a306a2-611b-4ac1-b6b4-8ea9d5720621-image.png

    944de954-7b88-4147-8f27-f492a393f99c-image.png

    想把自定义的QML 组件放到资源文件中 但是引用组件时 报错了 不知道什么原因 求大佬指点一下

    1 Reply Last reply
    0
    • SGaistS SGaist moved this topic from QML and Qt Quick on
    • F Offline
      F Offline
      Fan__
      wrote on last edited by
      #2

      试试这样搞

      image.png

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deslan
        wrote on last edited by
        #3

        不是可以不用qrc添加qml文件吗, 在CMakeLists.txt里编辑添加或者DiskTool添加现有文件

        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