Linked by Nth_Man on Fri 5th Jul 2013 21:42 UTC
Qt Qt 5.1 has been released. It brings several enhancements, Qt Quick Controls, Qt Sensors, a much better C++11, Wayland and OpenGL support, and the development of Android and iOS applications is very usable for a large number of use cases. In related news, the LXDE desktop prepares the change to Qt.
Thread beginning with comment 566451
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Good news
by twitterfire on Fri 5th Jul 2013 23:42 UTC in reply to "RE: Good news"
twitterfire
Member since:
2008-09-11

Ok, so LXDE and Ubuntu just confirms wwhat I said since 13 years ago: Qt is the best toolkit out there.

It's just a shame people doesn't use it more on Windows, too. Only WPF is comparable somehow but WPF is C# and managed .net and can't be used from regular C++. MFC is just crap.

Reply Parent Score: 3

RE[3]: Good news
by tidux on Sat 6th Jul 2013 00:36 in reply to "RE[2]: Good news"
tidux Member since:
2011-08-13

Qt would have been king from day one if it had been LGPL. The whole reason Gtk exists is that Qt was nonfree at the time.

Reply Parent Score: 5

RE[4]: Good news
by TechGeek on Sat 6th Jul 2013 01:26 in reply to "RE[3]: Good news"
TechGeek Member since:
2006-01-14

True. I think the big problem is that companies fell like they are at the mercy of GTK rather than having an equal hand in developing it. I don't know if Red Hat or some other company has the most pull over GTK3+, but they certainly made a lot of unpopular decisions in the move from GTK2 -> GTK3. The fact that they keep breaking people's GTK apps certainly isn't helping them.

Reply Parent Score: 8

RE[4]: Good news
by bnolsen on Sat 6th Jul 2013 02:50 in reply to "RE[3]: Good news"
bnolsen Member since:
2006-01-06

They need to dump utf16 and go utf8. Also they should drop a bunch of their algorithms and collections and delegate to stdc++. There's a few other things I'm not super pleased with, mostly because the toolkit was originally written when most c++ code looked a lot like java.

Reply Parent Score: 3

RE[3]: Good news
by Soulbender on Sat 6th Jul 2013 01:30 in reply to "RE[2]: Good news"
Soulbender Member since:
2005-08-18

Ok, so LXDE and Ubuntu just confirms wwhat I said since 13 years ago: Qt is the best toolkit out there.


Or maybe it wasn't the best 13 years ago and it's only due to recent developments that these projects are switching.

Reply Parent Score: 1

RE[4]: Good news
by sergio on Sat 6th Jul 2013 03:55 in reply to "RE[3]: Good news"
sergio Member since:
2005-07-06

No, it was the best 13 years ago too (even by a bigger margin than today)... but stupid Trolltech licensed it with a propietary licence and QT won a lot of enemies inside the open source community.

Years later Trolltech finally licensed the QT with the LGPL but the damage was already done. Bummer... ;)

Reply Parent Score: 8

RE[3]: Good news
by moondevil on Sat 6th Jul 2013 06:03 in reply to "RE[2]: Good news"
moondevil Member since:
2005-07-08

Only WPF is comparable somehow but WPF is C# and managed .net and can't be used from regular C++.


You seem to have been away from Windows for some time.

The XAML stack has been rewritten in C++ for Windows 8.

When targeting Metro applications, you can use XAML with C++/CX, which compiles to native code. Or use the Windows Runtime template framework when you prefer to use plain C++ without language extensions.

MFC is just crap.


I always find funny people complaining about MFC.

When Microsoft did MFC they tried to copy Borland's OWL by doing a proper OO framework. This is where Afx prefix comes from.

After some field research, most complained it was too OO and they would prefer just a thin layer over Win32, which triggered a rewrite before publishing it.

So the ones to blame are the C developers moving to Windows that couldn't deal with C++.

Reply Parent Score: 4

RE[4]: Good news
by dpJudas on Sun 7th Jul 2013 02:12 in reply to "RE[3]: Good news"
dpJudas Member since:
2009-12-10

The XAML stack has been rewritten in C++ for Windows 8.

When targeting Metro applications, you can use XAML with C++/CX, which compiles to native code. Or use the Windows Runtime template framework when you prefer to use plain C++ without language extensions.


While true what you write, you are leaving something out:

1. C++/CX only really works for Windows 8+. Thus, unless you are willing to ditch 90% of your potential market, you can't use it yet for quite a while (5+ years with current reception of Win8).

2. C++/CX is not C++. Personally I like C++/CX a lot better than C++/CLI, but it is still a language bridge into a foreign type system. It roughly falls into the same category as Objective C++.

3. The Windows Runtime template framework is indeed C++, but from what I've seen of it so far I'd prefer even MFC over what I saw!

Given those constraints, the C++ XAML stack as an alternative to Qt for a C++ developer is not a very good one at this time. Except when explicitly targeting Metro and nothing else.

Reply Parent Score: 3

RE[3]: Good news
by WorknMan on Sat 6th Jul 2013 19:44 in reply to "RE[2]: Good news"
WorknMan Member since:
2005-11-13

It's just a shame people doesn't use it more on Windows, too.


Are there any good guides out there for getting started with QT for C++ n00bs, esp setting up an IDE and running apps on Windows?

Reply Parent Score: 2

RE[4]: Good news
by moondevil on Sat 6th Jul 2013 20:10 in reply to "RE[3]: Good news"
moondevil Member since:
2005-07-08

The best way would be to download Qt with QtCreator.

http://qt-project.org/downloads

There are lots of videos to learn from,

http://qt-project.org/videos

The documentation is also quite good

http://qt-project.org/doc/

Other than that there are a few books, but I hardly read any of them.

Then again, I know Qt since the KDE 1.0 days, so probably not the most indicated person to give advices how to learn it nowadays.

Reply Parent Score: 5

RE[4]: Good news
by sithlord2 on Mon 8th Jul 2013 14:05 in reply to "RE[3]: Good news"
sithlord2 Member since:
2009-04-02

The latest QT Creator includes everything (IDE, compiler, Qt Library) in a single installer. It's quite easy to set up, and you can start coding right away...

Reply Parent Score: 3