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.
Order by: Score:
heh
by spikeb on Fri 5th Jul 2013 22:00 UTC
spikeb
Member since:
2006-01-18

pretty soon GTK will be only a GNOME thing, just as they like it. (oh, and XFCE too I suppose)

Reply Score: 7

RE: heh
by Symgeosis on Fri 5th Jul 2013 22:18 UTC in reply to "heh"
Symgeosis Member since:
2005-09-13

Honestly, that'd surprise me. No matter how you feel about it, GTK is probably the most popular GUI library for major and commercial software packages on Linux largely thanks to Red Hat's immense popularity in the commercial world. Sure, I suspect GTK3 is considerably less popular than it's predecessor but I'd be extremely shocked to see Mozilla start shipping Firefox with the XUL-QT backend or the MySQL admin tools to suddenly be ported to something else.

Is QT a dream to work with? Does it work extremely well on most common platforms? Yes to both. Do I think it'll suddenly become more popular than GTK in the Linux world? I doubt it.

Edited 2013-07-05 22:18 UTC

Reply Score: 3

RE[2]: heh
by moondevil on Sat 6th Jul 2013 05:54 UTC in reply to "RE: heh"
moondevil Member since:
2005-07-08

Is QT a dream to work with? Does it work extremely well on most common platforms? Yes to both. Do I think it'll suddenly become more popular than GTK in the Linux world? I doubt it.


This is more to do with C++ vs C than Qt vs GTK.

I was there in the beginning, before GNOME existed, so I do remember those flamewars, that were based in language and license than technical merit.

Reply Score: 4

RE[2]: heh
by diegoviola on Sun 7th Jul 2013 17:12 UTC in reply to "RE: heh"
diegoviola Member since:
2006-08-15

Qt.

"QT" is spelled wrong.

Qt == Qt
QT == QuickTime

Reply Score: 4

Good news
by twitterfire on Fri 5th Jul 2013 22:19 UTC
twitterfire
Member since:
2008-09-11

LXDE switching to the best GUI toolkit out there. I wonder if Canonical will switch Unity to QT.

Reply Score: 4

RE: Good news
by Lazarus on Fri 5th Jul 2013 22:37 UTC in reply to "Good news"
Lazarus Member since:
2005-08-10

Ubuntu's Unity Written In Qt/QML For "Unity Next"

http://www.phoronix.com/scan.php?page=news_item&px=MTMxNzM

Reply Score: 9

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 Score: 3

RE[3]: Good news
by tidux on Sat 6th Jul 2013 00:36 UTC 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 Score: 5

RE[4]: Good news
by TechGeek on Sat 6th Jul 2013 01:26 UTC 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 Score: 8

RE[4]: Good news
by bnolsen on Sat 6th Jul 2013 02:50 UTC 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 Score: 3

RE[3]: Good news
by Soulbender on Sat 6th Jul 2013 01:30 UTC 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 Score: 1

RE[4]: Good news
by sergio on Sat 6th Jul 2013 03:55 UTC 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 Score: 8

RE[5]: Good news
by zima on Wed 10th Jul 2013 20:55 UTC in reply to "RE[4]: Good news"
zima Member since:
2005-07-06

Qt, not QT ...that's QuickTime ;)

Reply Score: 2

RE[3]: Good news
by moondevil on Sat 6th Jul 2013 06:03 UTC 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 Score: 4

RE[4]: Good news
by dpJudas on Sun 7th Jul 2013 02:12 UTC 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 Score: 3

RE[5]: Good news
by moondevil on Sun 7th Jul 2013 07:37 UTC in reply to "RE[4]: Good news"
moondevil Member since:
2005-07-08

I agree with your points.

Before using Microsoft tooling, I was using Borland most of the time.

Visual C++ funny enough, being Visual did not offer the same RAD capabilities of Delphi and C++ Builder have since 1995.

Or the capabilities provided by OWL in Turbo Pascal and Turbo/Borland C++.

Instead Microsoft extensions always seemed to cater more to the C developer going C++. Which given the background of the initial MFC prototype seems to have been the case.

Reply Score: 3

RE[6]: Good news
by Nth_Man on Sun 7th Jul 2013 12:00 UTC in reply to "RE[5]: Good news"
Nth_Man Member since:
2010-05-16

> I agree with your points.

I agree with the points of both of you, too. Your opinions and experience with those software are frequent ones.

Edited 2013-07-07 12:01 UTC

Reply Score: 3

RE[5]: Good news
by Nelson on Sun 7th Jul 2013 13:41 UTC in reply to "RE[4]: Good news"
Nelson Member since:
2005-11-29

You can use WRL and ISO C++ as well.
Really you only use CX at the ABI boundary and it maps nicely to C++11 semantics.

Reply Score: 3

RE[3]: Good news
by WorknMan on Sat 6th Jul 2013 19:44 UTC 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 Score: 2

RE[4]: Good news
by moondevil on Sat 6th Jul 2013 20:10 UTC 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 Score: 5

RE[4]: Good news
by sithlord2 on Mon 8th Jul 2013 14:05 UTC 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 Score: 3

Nice video
by Nth_Man on Sat 6th Jul 2013 09:44 UTC
Nth_Man
Member since:
2010-05-16

A nice video about the capabilities of Qt can be found in http://www.youtube.com/watch?v=FIs5YqzS4Bc

Edited 2013-07-06 09:45 UTC

Reply Score: 4

LXDE is increasingly awesome
by pepa on Sat 6th Jul 2013 17:34 UTC
pepa
Member since:
2005-07-08

Just like to highlight that LXDE is awesome in its usability and now also in its flexibility. If they would just integrate a 'view timezones' applet, it would be feature-complete for my use. (For now, gsimplecal works -- but I'd like a Qt equivalent as well.)

Note that LXDE-Qt is now on Qt4, but apparently the porting to Qt4.1 should be relatively easy (they're skipping Qt5.0 for ease-of-porting reasons). That makes the release of Qt5.1 double-plus-good to me!

Reply Score: 4