Hello Young,

sorry, you did not specify a license for the code you attached, so I will not 
read it. Who knows what kind of legal trouble that could get me into:-)

Anyway, I would recommend trying to do as much as you can in your own 
plugin(s). That reduces your dependency on our APIs. I would also recommend to 
just disable plugins you do not need completely in favor of removing code from 
plugins: That will be really hard to maintain as new versions of creator get 
released.​

I am currently kind of working on a patch set that allows for scripts to be run 
as part of a JSON wizard, so that might be something that would be interesting 
for you to run your python code. No ETA for that yet though, as I got heavily 
side-tracked into cleaning up usage of VcsCommands in Qt Creator. A necessary 
step to be able to eventually merge those custom script infrastructure (the 
current version of the patch produces all kinds of side effects on the Vcs 
systems we support:-).

Apart from that: The only advice I can give is to have fun and to 
communicate:-) If there is some functionality available inside some plugin that 
you would like to use but that is inaccessible from your plugin, feel free to 
send in a patch to change that. Our policy is to keep as much private as we can 
and only export symbols that somebody actually needs and asks for:-)

Best Regards,
Tobias
 
Tobias Hunger, Senior Software Engineer - Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin. USt-IdNr: DE 286 306 868
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B  

From: Yang.H <[email protected]>
Sent: Monday, April 13, 2015 15:46
To: Hunger Tobias
Cc: [email protected]
Subject: Re: [Qt-creator] How to add plugins in Qt Creator (3.3.2) with Qt 5.4? 
Where are the documentations?
  

Hi Hunger,


Thank you for your detailed reply.


I'm working on a project called GRT. It's a reconfigurable system for wireless 
network. In this system you can change the MAC and PHY layers in the network's 
OSI model by re-programming FPGAs. 


My job is to develop an IDE for this system to help user generate Verilog 
code(Hardware Define Language) templates more easily and finish modifing 
modules in MAC and PHY layers more easily. Perhaps I need to add some debug 
info console windows and different  views in it. I also want to read the Qt 
Creator code and delete the functions which I don't need. 


Because there's only me in this task, I decide to tailor Qt Creator to finish 
this job which makes it easier.


There is another person in this project, she wrote a python code which can 
explain the given xml code to a verilog code template. So now I want to 
generate xml code using a wizard.


I attached my code in the attachments. This code is not based on Qt Creator, 
but it can reflect what I want to do. You can compile it if you have time.


Because I am a beginner in Qt, this program I send to you is barely a 
thing...please give me some coding advice if you have time.


You can have a new module and you can read a xml file and parse it to a wizard.


Best,


Young. 


On Mon, Apr 13, 2015 at 6:22 PM, Hunger Tobias  
<[email protected]> wrote:
 Hi Yang.H,

yes, filewizarddialog.h is no more, I removed that a while back. In fact I want 
to trim down further on the number of different wizard-related classes we have. 
Apparently I missed some references to the now gone classes in the 
documentation. Sorry for that,  I'll put updating that onto my todo list. Feel 
free to report this as a bug on  https://bugreports.qt.io/ and assign it over 
to me if you want to follow the progress on the task.

There is documentation on the JsonWizard available here:

http://doc.qt.io/qtcreator/creator-project-wizards-json.html

Those are what I want to use to replace much of the custom wizard-code we have.

Qt Creator is constantly changing. We have quite a few people working on it and 
we do not promise stable interfaces between minor version upgrades. 
Documentation on APIs does get out of date, even though we try to fix the 
documentation along with the code.  I personally find just looking at how other 
parts of Qt Creator implement something the best way to get started with any 
task I did not attempt before. The code is always current after all:-) It is 
hard to recommend anything more specific than this based on  the little 
information I could extract from your mail.

What do you want your wizard to do?

Please also feel free to ask specific questions here or on IRC (freenode 
network, #qt-creator), when (not if;-) you run into things you can not figure 
out. European business hours work best on IRC.

Hope this helps:-)

Best Regards,
Tobias

Tobias Hunger, Senior Software Engineer - Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin. USt-IdNr: DE 286 306 868
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B   
    
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to