Does Qt need a modern C++ GUI API?
-
No, quite contrary to, there is always something to do for everyone.
Creating a wiki page summarizing all the ideas which have been brought up so far for a native interface (as sparse as they are) serving as a place to go for interested people requires no intrinsic knowledge at all.
Maintaining a forum thread where these ideas can be discussed and improved and encouraging people to contribute to it requires no intrinsic knowledge at all.
Joining the mailing list or the chat, asking for and discussing those contributions with the developers requires no intrinsic knowledge at all.
Actually gaining instrinsic knowledge for a specific part of Qt, creating a summary and good examples out of it and thus enabling other people to get familiar with it faster requires no instrinsic knowledge at all. If there are specific questions just join the mailing list or the chat, and you will usually get a valuable answer within a minute, directly from a Qt developer.
Picking specific problems, liking bindings or interface design, providing and sharing general ideas, sketches and prototype implementations, which then can be later on integrated and improved in a Qt-ish way by people who actually have intrinsic knowledge requires no intrinsic knowledge at all. Just take a look at the binding concept using variadic templates and lambdas. It isn't even quite Qt-related, but it serves as possible solution for a problem a native interface for sure has to solve.
Improving the existing implementation might not require instrinsic knowledge at all. Just take a look at the mentioned fluent interface. All it takes is the ability to read a header and to add a set of methods, without even knowing what the to be improved class actually does.
Starting your own implementations, which then might be rewritten, but still act as a basis others can built upon requires no interinsic knowledge at all. Creating a custom Quick component is as simple as creating a custom Qt widget.
Requesting a new project in Qt's "playground":http://qt-project.org/wiki/Creating-a-new-module-or-tool-for-Qt, which serves as assembling and staging area and a common repository for all those various ideas requires no intrinsic knowledge at all. A Qt playground module fully benefits from the Qt project infrastructure, like the bugtracker, the continous integration system, the build system, the early warning system and much more.
Participating in discussions and providing constructive feedback here at the forums, the mailing list or the IRC channels requires no intrinsic knowledge at all.
Beeing a native evangelist, who spreads the idea and kindly asks for contribution at various media requires no instrinsic knowledge at all. There are acutally quite a lot people having extensive instrinsic knowledge about Qt, but not beeing part of the Qt development team.
Originating a crowdfunded project, where interested people, who do not want to or are not able to contribute time or effort can donate money (I would) to fund a kickstarting project requires no instrinsic knowledge at all. If everyone of those, who are supposedly intersted in a native interface, gives a single dollar there would be enough money to pay a set of fulltime developers or a company having intrinsic knowledge to kickstart the project.
Finding your own ways how to support the native interface project requires no intrinsic knowledge at all. Beeing spirited and creative is one, beeing a nuisance is not.
The Qt team has always mentioned that if there is a momentum from the community they will support and contribute to the efforts. You can be sure they stick to their words.
Yes, a native interface is quite a piece of work. But a journey of a thousand miles begins with a single step. You can either moan for noone taking it or you just take it on your own.
-
First of all, stop with the "moaning" - we are users and we express feature and functionality request. Calling this "moaning" is yet another of your attempts of discrediting and downplaying, and not intending to insult you, but it is getting pathetic.
And second - besides parroting a part of my last post, you completely ignored its body - if you claim this poll is not enough representative of developer needs, do you have something better?
Everyone can parrot, in this regard, considering you said you'd like a native UI API as well, why do you exactly keep moaning and waiting on others like me to do it, fund it or whatever?
Until you provide a better source of Qt developer base wishes, realize this poll is the best we all got, stop trying to downplay in those numerous direct and indirect ways of yours. Your "loyalty" is not the kind that's admirable.
-
^^Thank you!!!
bq. The C++Builder roadmap has been announced and now includes exciting plans for 64-bit, C++11, ARM, iOS and Android.
'Nuff said. It was only obvious that ignoring developer base needs will have its consequences the moment there is an alternative.
-
bq. Nuff said. It was only obvious that ignoring developer base needs will have its consequences the moment there is an alternative.
LOL :O)
I came from C++ Builder to Qt and I can tell you that Qt is so much better than C++ Builder. And the funny thing: their roadmap says ARM, iOS and Android - so they do the very same like Nokia did with Qt framework - they will add support for the mobile market. The only difference: Qt already supports mobile devices and Embarcadero only has a roadmap. Maybe if they implement their roadmap they will see that they require a declarative language for the mobile market - I would laugh me. And if you finished your switch to C++ builder Nokia suddenly releases a C++ API for Qt ;O)
So I wish you a lot of fun with C++ builder - I worked several years with it and finally switched over to Qt framework. :O)
-
[quote author="Uwe Kindler" date="1339482347"]@utcenter
bq. Nuff said. It was only obvious that ignoring developer base needs will have its consequences the moment there is an alternative.
LOL :O)
I came from C++ Builder to Qt and I can tell you that Qt is so much better than C++ Builder. And the funny thing: their roadmap says ARM, iOS and Android - so they do the very same like Nokia did with Qt framework - they will add support for the mobile market. The only difference: Qt already supports mobile devices and Embarcadero only has a roadmap. Maybe if they implement their roadmap they will see that they require a declarative language for the mobile market - I would laugh me. And if you finished your switch to C++ builder Nokia suddenly releases a C++ API for Qt ;O)
So I wish you a lot of fun with C++ builder - I worked several years with it and finally switched over to Qt framework. :O)
[/quote]Which mobile platforms does Qt support ? Probably you meant those two platforms killed by Nokia. And to be a successful, a mobile framework needn't be declarative. First of all I would like to see Nokia release a platform which support Qt. The funny thing now is that all these debates go on Nokia don't have a platform that support their framework.
-
@Jayakrishnan.M
As far as I know (I'm not a mobile developer yet - but maybe in future) Qt supports:
- Symbian (I know you call it dead - but it is a mobile platform and it is currently supported by Qt)
- MeeGo Harmatten (the same like symbian)
- QNX
- Windows CE
- iOS (community port)
- Android (community port in alpha stage)
- RIM Playbook OS (based on QNX)
- Raspberry PI
How many mobile platforms supports C++ Builder?
bq. And to be a successful, a mobile framework needn’t be declarative
Which declarative mobile frameworks do you know besides QML?
-
Symbian and Meego are platforms with no future. The Android port is not progressing at all for lack of resources and some technical issues. There is a commercial port for ios by somebody. I agree with you on the RIM port, that is official. Pi is not mobile phone platform. Again Windows CE is not a mobile phone platform. What I was talking about was official support on mobile platforms. I don't know anything about c++ builder and I was not defending it. The point is that officially Qt is not available on any major mobile platforms. WP is Nokia's future and no Qt on WP.
-
Yes, it is really sad that Qt is not supported on WP.
But I think Symbian, iOS and RIM are major mobile platforms and the Android port is still progressing.
-
I'am not hopeful of the ios and Android ports. Would they ever attain production quality so that we reliably create quality apps ? That is my concern. Yet these are the most important mobile platforms now. BB has only around 7% market share. For ios, there is a commercial offering, though I'am not sure of its quality. Information is hard to come by. That is why I think, if c++ builder provides support for both ios and Android that alone will make it more valuable than Qt, for mobile development, though may be it is more difficult.
-
@Uwe - no professional developer will ever count on the community ports of Qt for Android and iOS, which are broken, incomplete and severely lacking in very important aspects. Nokia is unlikely to ever OFFICIALLY SUPPORT those platforms, and OFFICIAL SUPPORT is what professional developers want and paying consumers deserve.
The Android port hasn't moved an inch the last few moths, I am not aware if there is any development on the iOS front, but last time I checked was even worse.
Symbian is dead, Meego was stillborn, same appears to apply to Meltemi, Raspberry Pi is a small project for geeks and hardly a market opportunity, Windows CE is a goner, WP is not supported, RIM seems to be the only platform with some viability but it is in decline too. The mobile future of Qt is as bleak as its native GUI future...
I agree the API of Embarcadero is not as clean as that of Qt, but if they commit to officially supporting iOS and Android, plus already supporting Windows and MacOS, the professional edition of C++ builder is only 700$ - much cheaper than a commercial Qt license and with much wider market. At least Embarcadero are committed to C++, and if they officially commit to officially supporting iOS and Adroid - I am sold.
-
Yes -you are perfectly 100% right. C++ Builder is much better than Qt. You should really try it - and bug the people in the Embarcadero forums instead of the Qt users ;O). I also think seriously about changing back to C++ Builder because Nokia is so evil and forced me to use its unprofessional LGPL license, its outdated widgets libary and now they also started their evil QML conspiracy.
Nokia is so stupid. Instead of trying to make money with their rattly Low-Cost-Phones they should spend some millions to port Qt to iOS and Android and offer OFFICIAL SUPPORT to boost their competitors ;O).
-
Oh no, you are wrong, Nokia is so smart, smart enough to drop from 70% to 5% share for their flagship mobile OS and completely run it into the ground, smart enough to lose billions, give the boot to thousands of hard working people and become cheap enough for MS to take over, and when MS settles in Nokia, then the future of Qt gets really bleak.
Congrats on your infantile attempts of mockery, but you will really have to try harder for it to work. Or better off, don't try to insult me, if you have to say anything of value on the subject - feel free to, or GTFO ;) I don't recall claiming for C++ builder to be better, in fact, my powers of observation detect that I actually called it "not as clean as Qt" in the very last paragraph of my previous post. So why would you infer I said otherwise? In an attempt to build up your solid argument? All I said is if Embarcadero provide official iOS and Android support, I can live with it, as it will beat having to deal with two different frameworks with inconsistent APIs for desktop and mobile, as I am forced to do presently.
-
Ok -- everyone -- let's try to keep it civil in here. This is obviously an emotional issue for everyone involved and (like any good holy war) spirits tend to run a little high. But, nonetheless, let's all try to stick to coherent and productive discussion and keep the jabs and aggression (both passive and active) down to a minimum.
If that can't be done, then there's no point in continuing this thread.
-
bq. All I said is if Embarcadero provide official iOS and Android support, I can live with it, as it will beat having to deal with two different frameworks with inconsistent APIs for desktop and mobile, as I am forced to do presently.
Here are some infos about C++ Builder:
http://docwiki.embarcadero.com/RADStudio/en/FireMonkey_Application_Platform
bq. Visual Component Library (VCL) is an object hierarchy of visual components that are supported on Windows only (in Win32 and Win64 applications).
The VCL is the C++ "widget" library of C++ Builder - comparable to the Qt C++ libraries. This library is supported on Windows only.
bq. You can create FireMonkey applications that target the Mac OS X, Win32, and Win64 platforms.
...
You can freely use the RTL in a FireMonkey application, but you cannot directly use the VCL in a FireMonkey application module.So you don't have consistent APIs for Windows and Max OS. Linux is not supported in any way. Android and iOS support is not available yet - only announced. In my opinion C++ Builder does not provide real cross platform support if an important desktop platform like Linux is missing completely.
And regarding development of Windows 64 Bit applications with C++ Builder - forget it:
bq. (C++Builder supports Win32 and Mac OS X applications, but does not support Win64 applications.)
-
Cross platform support including iOS and Android support is also provided by the C# Mono Project:
I haven’t used it so I can’t say anything about its quality.
-
^^ - C# Mono performance sucks BIG TIME, which is the last thing either a user or a developer needs on a mobile platform with weak CPU and low memory. Heck, even Java is faster than C# mono, albeit with an ever more horrendous memory bloat. And on Android, with C# mono you simply add yet another VM to run on that poor hardware, it is certainly inferior to use a Java frontend with a native C++ backend with the NDK.
@Jayakrishnan.. - yep, I've been using Mosync, unfortunate it is not a complete solution either, it supports all major mobile platforms allright, but for some reason they decided to not support desktops.
I am also looking at Juce, which fully supports Windows, Mac, Linux since kernel 2.6, iOS and there is even an android port being actively worked on. It is not very expensive too. It does seem as the most viable solution for me at this point.
There are also a few lower level C frameworks that support Android and iOS, SDL for one, but it is strictly low level, no widgets, components or whatsoever, not even a complete painting solution, although OpenGL is supported and there are already a few OpenGL accelerated OpenVG implementations, which could be of use. It is still too much work for me right now.
Sadly, the APIs of all those alternatives are inferior to Qt, which kind of makes me sad Nokia purchased Trolltech, for if not, today we could very well have had a still C++ centred, more flexible Qt with official support for those platforms.
-
bq. Sadly, the APIs of all those alternatives are inferior to Qt, which kind of makes me sad Nokia purchased Trolltech, for if not, today we could very well have had a still C++ centred, more flexible Qt with official support for those platforms.
I'm not very sad that Nokia purchased Trolltech because I use the LGPL version of the Qt framework and this license is only available because Nokia made it available. That decision gave Qt a great boost and accelerated further Qt development.
In my opinion Qt is and will remain a C++ centered framework and QML won't change that. I think, if QML desktop components are released and the first GUIs based completely or partly on QML will popup many concerns about QML will dissapear.
-
I don't think anyone will argue that LGPL licensing is a good thing, especially with commercial licensing being so ridiculously expensive... But the LGPL license through Nokia comes at a steep price - no hope of officially supporting the most popular and profitable mobile platforms. On the other hand, it is possible that Qt would have been opened to a LGPL license even without Nokia, whereas the lack of platform support can concretely be associated to Nokia.
Also I don't think Qt is C++ centered any more. C++ is being shifted in the bowels, from a primary language of programming to a language of extending and writing custom QML components. I can see the merits of such an approach, but when chosen to be exclusively developed, I can also see many downsides, which arise due to the lack of an alternative native API, not a public one anyway.
There are many areas where QML is a winning combination, may I say applicable to the majority of developers and application scenarios. There are however the scenarios where QML is no longer an advantage and becomes overhead, the only way to avoid is depriving yourself from all the features that are exclusive to QML.
QML is similar to a LEGO constructor, you get a number of ready-to-use components with different shapes and purpose, elements you can easily and quickly achieve general results. QML is applicable for people relying on extensive reuse of a few either stock or custom components , but when you change the components from few to many and reuse from extensive to none, the outcome of the equation changes. In my more custom line of work, like that of many others, the number of components is very high and the amount of their reuse is very low, to the point interfacing the component to QML becomes an extra and wasted effort, designing and connecting an application on QML and native level is a wasted effort too. This just adds another layer of considerations and work that has no actual purpose. At this point using QML is no longer about the ease and speed it normally brings, but a tedious task just to get the new nice features which aren't being incorporated into the old, "DONE" native API. And all this doesn't really stack with the resource overheads of QML too, as minimal as they might be on desktop machines.
I for one don't think the issue of so many people with QML is a product of finding QML hard, fearing change or whatnot. QML is simple and in many scenarios - perfectly applicable with great results. But then again, there are the "deeper", more "out of the box" scenarios where you are faced with the following choice:
a) - deal with QML interfacing even thou you don'y really need to, spend extra efforts so you can use all the new ready-to-use features
b) - keep to the old API, avoid the extra work to interface components to QML but spend extra efforts to replace the beneficial aspects of Qt QuickSo, while an undisputed improvement for many, there are those, to whom QML adds extra efforts, whether they chose to use it or avoid it or use it. And surely, you are free to pretend like QML never existed and in this regard neither did all the benefits of Qt Quick and do everything yourself, but THE POINT of using a framework is not having to keep reinventing the wheel but take advantage of that huge team of developers who got paid good money to add features to it.
That is the reason I think so MANY people are in favor of a new native API - because for as long as QtQuick's nice features are exclusive to QML, users are put in a situation, where using Qt becomes less than optimal, either by having to incorporate QML's limitation in your design and interface your components to it, or by having to re-implement QtQuick features you lose if you chose to avoid QML. It is discriminatory to the needs of many developers, benefiting some while hindering others. And as it turns out, despite such scenarios being fairly rare, and most developers are after more trivial apps, where QML is an undisputed advantage, this poll indicates 2/3 of the Qt developers visiting this forum want an alternative. This is not surprising at all, since we are talking about C++, which is a complex and performance oriented language, after all, if a developer is after lush eye-candy, C++ is probably the worst choice, developers vote C++ when they are interested in deeper, more complex, more advanced and out of the box scenarios, in which the merits of QML aren't that pronounced but questionable and often - an obvious downsite. Qt made it easy to achieve results with C++, and it is just wrong for all those benefits to be redirected away from C++, the language that made Qt, both literally and figuratively speaking.