qt4 - Is Qt 4 a programming language? -
is qt 4 programming language? can viewed substitute java , python? can used developing user interactive software in linux?
qt not programming language @ all.
"qt cross-platform application development framework desktop, embedded , mobile", says official site. hate word "framework" though, can refer many things, not as word "system", enough make things pretty confusing. "t" in "qt" stands "toolkit", describes better. in fact set of tools. written "qt", not "qt". latter stands apple quicktime , has little programming, although qt users make mistake.
if describing qt toolkit doesn't clarify things more word "framework", here non-exhaustive list of tools qt consists of:
- the main component set of libraries, written natively in c++. these libraries include: core library providing important stuff, gui library surprisingly providing gui components, networking library, xml library , more.
- the moc tool program generate boilerplate code in c++ use conjunction macros provided core library. extends c++ little bit, adding nice features more powerful rtti, signals/slots mechanism similar events/delegates in c# allowing typesafe callbacks, plugin/interface mechanism provides way extend applications implementing pre-defined interface.
- the gui designer tool , uic. qt designer graphical tool create guis visually , save them xml files, , uic command-line tool translate xml files c++ code.
- the tools internationalize applications, namely qt linguist,
lupdate
tool ,lrelease
tool.lupdate
extracts text strings translated c++ code xml file, qt linguist graphical tool translator edit xml files , provide translations, ,lrelease
compiles translated texts binary file loaded qt application @ run time. - the resource compiler tool, used integrate various data files (like pictures , sounds) executable file, forming virtual file system inside it.
- the
qmake
tool, used automate build process, don't have run moc, c++ compiler, uic , other things manually. - the qt creator, graphical ide integrate stuff described above single environment.
programs written in portable c++ , using qt can recompiled no changes platform supported qt. includes windows (at least xp , later), linux (pretty distribution), mac, various unices freebsd, hp-ux, solaris , much, more.
the native language of qt c++, bindings provided other languages, many of them. of these bindings provided trolltech (well, it's nokia), third parties. bindings not alternative implementations of qt other languages, rather special add-ons languages allowing use c++ qt binaries. can lead many troubles, differences in interface , various inefficiencies, doesn't mean can't or shouldn't used. it's c++ remains main language of qt.
Comments
Post a Comment