Qt5 Qml import folder and qrc problem
来源:互联网 发布:vivo授权网络怎么弄 编辑:程序博客网 时间:2024/04/30 09:37
we can import folder in qml
like:
import "subFolder" as myCompoment
but when we put the root qml in a qrc,
and set the qrc profix as /
we had to add a new folder in qrc, like /subFolder or else QmlEngine will not found that folder for import
after that we can compile
new problem is when we do that, qtcreator don't konw that folder, if that subFolder is a common resource at any other place.
so we had to make a softlink for that ,and put it in root qml's folder to let qtcreator known
it's not smart, but work.
0 0
- Qt5 Qml import folder and qrc problem
- VirtualBox: Full-Screen-Display and Share-Folder problem
- Qt5:QML:LocalStorage
- Qt5+QML笔记
- source folder, folder and package
- generate apk QT5.2 folder
- qrc:/main.qml:18 SButton is not a type
- QML Image: Cannot open: qrc:/image/1.png
- Qt5:QML:c++ 调用qml中的函数
- Qt5官方demo解析集22——Extending QML - Object and List Property Types Example
- Qt5官方demo解析集23——Extending QML - Inheritance and Coercion Example
- Qt5 import Excel data
- Qt5 - c++嵌入qml示例
- QT5之qml元素emitter
- Qt5与QML(一)
- Qt5与QML(二)
- QT5与QML(三)
- Qt5与QML(四)
- Fragment 点点滴滴
- UVA - 110 Meta-Loopless Sorts
- lwIP配置文件opt.h和lwipopts.h初步分析
- 数据结构实验图论一:基于邻接矩阵的广度优先搜索遍历
- hdfs namenode -format报错
- Qt5 Qml import folder and qrc problem
- Android NDK inline函数只有第一个实例化的会生效
- JAVA语言用于做算法
- 面试-----关于海量数据问题的处理详解
- 发货方骨肉团圆他也瑞特我让他
- Deep Dive into Contiguous Memory Allocator
- 黑马程序员------oc的网络
- 【下资源】全网独家首发2014传智播客三层架构及餐饮管理系统项目
- 安卓开发中添加音效(soundpool方法)