Comments (4)
I think we need to use https://doc-snapshots.qt.io/qtcreator-extending/qmljs-modelmanagerinterface.html to load files.
In .pro, we do
RESOURCES += qml.qrc
I don't find where to set this variable.
https://doc-snapshots.qt.io/qtcreator-extending/qmljs-document.html
The crash happen with line
document->parse();
One solution we can do is temporary hide
import "qrc:
I think the error is produce here : https://github.com/danimo/qt-creator/blob/master/src/libs/qmljs/qmljsdocument.cpp#L263
from qmlfmt.
Hi Mathieu,
Thank you for reporting the issue, I will take a look at it tomorrow. I
assume that the files you are testing work with no issues when reformatting
through Qt Creator?
- Jesper
On Sep 13, 2016 6:51 AM, "Mathieu Benoit" [email protected] wrote:
I think we need to use https://doc-snapshots.qt.io/
qtcreator-extending/qmljs-modelmanagerinterface.html to load files.In .pro, we do
RESOURCES += qml.qrc
I don't find where to set this variable.
https://doc-snapshots.qt.io/qtcreator-extending/qmljs-document.html
The crash happen with line
document->parse();One solution we can do is temporary hide
import "qrc:
I think the error is produce here : https://github.com/danimo/qt-
creator/blob/master/src/libs/qmljs/qmljsdocument.cpp#L263—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#5 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEyLkfnLEakfIpyElHzoKHXzLjPJqycmks5qpiu4gaJpZM4J7MA2
.
from qmlfmt.
Hi Jesper,
Yes, it works with no issues when reformatting through Qt Creator.
Thanks!
from qmlfmt.
It works, thanks you.
from qmlfmt.
Related Issues (20)
- Error on build using Mac OS HOT 23
- Generate an AST document HOT 4
- No version number output HOT 5
- generating an AST HOT 1
- QML enum is removed HOT 5
- Distributing as a standalone tool HOT 1
- "cannot execute binary file" using prebuilt on macOS HOT 3
- I get some error about the error while loading shared libraries HOT 3
- Indent with tabs HOT 1
- More options for format? HOT 2
- Problem with launching cmake HOT 1
- Binaries HOT 2
- Doesn't work with JS lambdas HOT 3
- Difference to qmlformat HOT 1
- Build against Qt Creator 10.x HOT 4
- Properties sorting HOT 1
- Alphabetical order HOT 2
- Column and line information not shown HOT 1
- Formatting of QML comments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qmlfmt.