I'm starting an institute project. I'll try to create a "web-typograph", a tool that's to be used to correct texts (according to typographic rules of a language) before they're sent to the site. My choice is C++ with Qt be开发者_JS百科cause I'd like to create "multilingual" library (I mean it could be used from Ruby, Python, PHP and so on).
Honestly, I heard something about QtRuby, QtPython (even PHP Qt...) but I just can't imagine, how I can bind my library with them.
P.S. Yes, I've googled. But some comments of the experienced would be nice :)
PyQt
and the other bindings to Qt are bindings to the core Qt library. To add bindings to your own (possibly Qt-based) classes, you'll have to use tools like SWIG or SIP (PyQt
's tool which may be more relevant for Qt-related classes) to generate the bindings. Alternatively, you can make a C API to your library which is easier to wrap and bind from scripting languages.
That said, you should first understand what you need Qt for at all. Are you planning a GUI or using any other capabilities Qt provides? Which?
精彩评论