0

As well-known, C++ has steeper learning curve than most of the mainstream languages, which results in better performance . But, does using C++ over other languages[like Java,Ruby,Python] for Qt development have still (major) advantages,let's say about Qtopia? If any, what are they?

4

3 回答 3

8

Qt is natively a C++ API, so any other languages have to have wrapper code around it which needs to be maintained, etc. The primary documentation will also be for the C++ API.

I'm not sure if there are any "official" bindings to other languages which are maintained and released together with Qt.

于 2008-10-25T13:40:30.283 回答
0

If you are looking at Qtopia, you are probably looking into embedded systems. In that case, C++ will likely be the one you want to choose, specifically for those performance reasons.

Otherwise, Trolltech maintains a Java binding, and I imagine that some of the other language bindings aren't too bad either, since those languages can interact directly with c/c++ code. However, those bindings are likely to always be a little out of date.

于 2008-10-25T14:53:08.953 回答
-2

it's easier to create a single executable.

don't know if that will be for long...

于 2008-10-25T13:28:44.070 回答