Viktor Szakáts wrote:
> 
> Hi Przemek and All,
> 
> Perfect.
> 
True.
But still I need a complete set of .h, .cpp, and .prg for only two 
classes with coubple of functions which compiles to a library.

I had tried it and it was working if I wrote them manually 
to indivisual .cpps. 



> Just another idea to put this in practice (and now I'm trying 
> to find optimum without thinking about who will or should 
> implement this):
> 

Let us try this in new folder hbqtex or something.



> Currently we have .qth files as source for the generator.
> I'd find it much better to use the QT headers _directly_, 
> thus fully automatizing the generator and making it quite 
> easy to add/remove classes and update them when newer QT 
> versions are released. At the same time making sure that 
> we are _really_ covering the actual classes with no room 
> for mistakes or differences.
> 
> Quick glance to current .qth files shows that it would 
> be enough to only cover in local config files the few points 
> which need some special handling, the rest could be 
> swapped for a more intelligent parser, following #include 
> references and parsing QT .cpp headers.
> 
> Any opinion on that? (particularly from Pritpal)
> 

I think we should go direct from Qt headers but 
I have to investigate it further if all the constructs are present
in those headers or not. Note that documentation of Qt is so 
perfect and everything is available at one place.



> [ Anyhow even current .qth files seems enough to implement 
> the stuff suggested by Przemek, plus probably the more strict 
> parameter type checking, too. ]
> 

Probably, .qth is a more powerful way to go for it.
We can extend its format to cover practically everything.




-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://n2.nabble.com/Re-A-question-on-C-tp4888792p4891889.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to