Search found 8 matches

by fang_h_y
Sat Sep 29, 2018 3:01 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: How to use QThread in ECMAScript code?
Replies: 3
Views: 7705

Re: How to use QThread in ECMAScript code?

Hello,andrew

Is there anyway way to solve this problem? I want to do some function that spend a lot of time in other thread. If realize the function in GUI thread, it will block the GUI thread.

Look forward your reply
fang_h_y
by fang_h_y
Tue Aug 14, 2018 1:25 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: How to use QThread in ECMAScript code?
Replies: 3
Views: 7705

How to use QThread in ECMAScript code?

Hello.

I want to set a new thread to compute. Because compute costs a lot of time so I want to set a new thread. But when I use
var thread = new QThread();
The console tell me that "Can't find variable: QThread".
How should I do to realize it?

Thank you very much.
fang_h_y
by fang_h_y
Wed Aug 01, 2018 11:31 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: How to release the QCAD from source code with some change?
Replies: 2
Views: 6547

Re: How to release the QCAD from source code with some change?

Hello, andrew I just try to compile the example that the source code give and generate the qcadexample.dll file. I put the qcadexample.dll file to the plugin folder that location in the qcad install folder from the qcad.org website download. But there is an error shown in the Help->Plugin page. (Sor...
by fang_h_y
Wed Aug 01, 2018 3:32 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: How to release the QCAD from source code with some change?
Replies: 2
Views: 6547

How to release the QCAD from source code with some change?

Hello, andrew

Recently, I try to add some functions with the source code. But I don't know how to release the QCAD. Can you tell me how to release the QCAD? :)

Look forward your reply.
fang_h_y
by fang_h_y
Thu Jul 19, 2018 1:02 am
Forum: QCAD 'How Do I' Questions
Topic: How to set the length of side of a polygon?
Replies: 2
Views: 2867

Re: How to set the length of side of a polygon?

Hello, andrew

Thank you very much!

fang_h_y
by fang_h_y
Sat Jul 14, 2018 10:33 am
Forum: QCAD 'How Do I' Questions
Topic: How to set the length of side of a polygon?
Replies: 2
Views: 2867

How to set the length of side of a polygon?

Hello, andrew In the AutoCAD we use a circumscribed circle or an inscribed circle to set the size of the polygon. I find that I cannot set the side length of a polygon. If I set the every side, then I need to spell every side to a whole polygon. I think there is a way to set the polygon side length ...
by fang_h_y
Sat Jul 14, 2018 10:04 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: How to Debug JavaScript code in the QtCreator?
Replies: 2
Views: 7072

How to Debug JavaScript code in the QtCreator?

Hello, Andrew.
We know the code is realized by JavaScript. When I debug the code I cannot debug the js file. Can you teach me how to debug JavaScript code with QtCreator?

Look forward to your reply.
fang_h_y

Go to advanced search