News for hackers. Stuff that matters.
Re:Qt Creator 3.1.0 released by jevinskie on Wednesday April 16, 2014 @03:50PM (#7600125)
Qt Creator can now use libclang for its code completion. In addition, it can use LLDB for debugging and clang-format for code beautifying. It is nice to see other open source projects adopting LLVM/Clang/LLDB!
Re:Qt Creator 3.1.0 released by malkia on Wednesday April 16, 2014 @06:52PM (#7601022)
My only... only wish for Qt Creator (and the Qt framework as a whole) is to have a docking systems much like Visual Studio - e.g. undock a widget allows docking with another - also put some guide roses instead of moving widgets.
Re:Qt Creator 3.1.0 released by jdreaver on Wednesday April 16, 2014 @07:21PM (#7601124)
Qt does have a docking system, but it is nowhere near as good as visual studio's.

For the application I am building (we are using PySide, the LGPL Python bindings for Qt), I planned a fairly elaborate docking/undocking system for a collection of user-generated plots. It seems to me Qt gimped docking so it only works for toolbars on the edges of a main window. You can't "promote" a widget to be the main, central widget through the docking mechanism.

Re:Qt Creator 3.1.0 released by malkia on Wednesday April 16, 2014 @07:37PM (#7601188)
If you are fully in python, then please take a look at http://github.com/nucleic/enaml - it requires few extra modules (kiwi in C++ which is cassowary constraint system for UI widgets), and atom (python + C++):

But it has exactly what Visual Studio has, and a bit more:

http://nucleic.github.io/enaml/docs/examples/ex_dock_area.ht...

I've started porting this system to C++, but gave up after realizing how much I had to do (spent a week on it, and couldn't do more).

I've chose a much simpler (again written in python) system that has some missing features (does not keep proportions, and it's not visually that appealing) - but it works in general.

It's part of http://github/pyqtgraph/pyqtgraph

Example for Pyqtgraph - http://www.pyqtgraph.org/images/flowchart.png

I have translated this one, except that my (C++ ported) version is currently leaking memory, which eventually would get fixed.

Hope this helps!

Re:Qt Creator 3.1.0 released by jdreaver on Wednesday April 16, 2014 @08:27PM (#7601383)
Thanks for the tip!

I actually already use pyqtgraph extensively. Those plots I was talking about are pyqtgraph plots :)

Re:Qt Creator 3.1.0 released by berkut on Thursday April 17, 2014 @03:41AM (#7602401)
Wish they'd spend some more time fixing some bugs. Since 2.2 they've been pretty much non-stop on new features for the next version, and rarely have they stopped to fix bugs in .1 releases. It's happened, but mainly for huge show-stoppers.

There are all sorts of general bug regressions which affect generic coding and editing since 2.5 which are mildly annoying but happen many times a day when coding, that in JIRA haven't been touched.

Re:Qt Creator 3.1.0 released by kirab on Thursday April 17, 2014 @05:51AM (#7602736)
Why don’t you fix them then? It’s an open source project
Re:Qt Creator 3.1.0 released by berkut on Thursday April 17, 2014 @05:48PM (#7606653)
I've got my own stuff I want to do. I shouldn't have to fix them - they should have regression tests.
Re:Qt Creator 3.1.0 released by barking on Thursday April 17, 2014 @02:36AM (#7602261)
Whenever I've had a look at QT I've never been able to figure out what the licensing costs.

Does anyone know what it costs to license QT creator for a single commercial developer targeting desktop and mobile platforms?

When I looked at their 'try and buy' page it says 'contact us'

Re:Qt Creator 3.1.0 released by blub on Thursday April 17, 2014 @04:04AM (#7602468)
If one does not need technical support, one can use the open source edition on the desktop and on Android. On iOS one would need the commercial edition due to the restriction on dynamic libraries preventing the use of LGPL.

At least a couple of years ago it used to be around 2500 EUR / platform.

Re:Qt Creator 3.1.0 released by flohofwoe on Thursday April 17, 2014 @08:02AM (#7603051)
Minor but important detail: With the LGPL license version you must link against the Qt DLLs and cannot statically link Qt into the executable. If this is not a problem (and you don't modify Qt itself), then the LGPL version is absolutely fine for commercial, closed source applications.
Re:Qt Creator 3.1.0 released by nib952051 on Thursday April 17, 2014 @03:44AM (#7602412)
You should check the http://qt-project.org/downloads and just download the QtCreator
Re:Qt Creator 3.1.0 released by jnbiche on Thursday April 17, 2014 @03:47AM (#7602422)
QT is under LGPL so unless you need to alter the QT source without open sourcing your changes, you can use it with no licensing costs.
Re:Qt Creator 3.1.0 released by barking on Thursday April 17, 2014 @04:06AM (#7602474)
Thanks, that's a very good deal!
Re:Qt Creator 3.1.0 released by hackbinary on Wednesday April 16, 2014 @03:51PM (#7600129)
W00t, llvm support!
Re:Qt Creator 3.1.0 released by notastartup on Wednesday April 16, 2014 @04:00PM (#7600205)
Has anyone used the new Qt to create Android and iOS apps? What has been your experience like?

What does this llvm support mean?

Re:Qt Creator 3.1.0 released by turrini on Wednesday April 16, 2014 @04:17PM (#7600284)
Yes, I'm using Qt both on Android and iOS. Both work without glitches or quirks.

The same application I compile for Linux, Windows, OSX and Mobile Devices (only tablets, for big enterprise stuff) without significative changes on code (only a couple of #ifdefs for fullscreen and alike).

Re:Qt Creator 3.1.0 released by panzi on Wednesday April 16, 2014 @05:24PM (#7600626)
Did you try (native) sailfish?
Re:Qt Creator 3.1.0 released by notastartup on Wednesday April 16, 2014 @05:09PM (#7600549)
This is exciting to hear!

Did you use one codebase to write the application?

Do you need Mac OSX to compile for iOS or run emulator?

Did you use C++ or is there a workaround to it?

Basically I'm hoping that new Qt can replace Intel XDK, RoboVM, Xamarin. However, the biggest hurdle is developing for iOS on a non-Mac machine.

Re:Qt Creator 3.1.0 released by turrini on Wednesday April 16, 2014 @05:20PM (#7600601)
> This is exciting to hear!

Thanks!

> Did you use one codebase to write the application?

Yes, only one codebase

> Do you need Mac OSX to compile for iOS or run emulator?

Unfortunately yes. I hope that in the future Apple will allow some sort of cross-compiling.

> Did you use C++ or is there a workaround to it?

Only C++ and Qt Widgets (no QML yet)

> Basically I'm hoping that new Qt can replace Intel XDK, RoboVM, Xamarin. However, the biggest hurdle is developing for iOS on a non-Mac machine.

It can replace (at least for my needs), but you will always need a Mac OSX to compile for iOS as far as I know (because of XCode dependency and licensing stuff)

Re:Qt Creator 3.1.0 released by rat87 on Wednesday April 16, 2014 @06:10PM (#7600840)
Unreal Development Kit can deploy from windows to ios without buying a mac. I'm not sure if they made a deal with apple or if its possible without their approval.
Re:Qt Creator 3.1.0 released by notastartup on Wednesday April 16, 2014 @08:05PM (#7601315)
that would be very interesting to see. I'd subscribe to their monthly plan just for this.
Re:Qt Creator 3.1.0 released by blub on Thursday April 17, 2014 @04:07AM (#7602477)
How do you handle the iOS theme? When I tried 5.2 it looked like Linux widgets ported straight to iOS.
Re:Qt Creator 3.1.0 released by turrini on Thursday April 17, 2014 @08:26AM (#7603139)
Hi,

I use Qt StyleSheet extensively (globally) to mimick iOS lines & colors. Isn't hard, in fact, it is very easy to do.

Re:Qt Creator 3.1.0 released by zanny on Wednesday April 16, 2014 @06:04PM (#7600819)
> Did you use C++ or is there a workaround to it?

I've been having fun writing apps in strict QML, intentionally. About every weekend I just take a traditional app use case and try writing it from scratch.

And surprisingly, the shortcoming is always documentation shortfalls. It took me digging through code samples to find out activeFocusItem is a thing, for example.

Just note you can't deploy QML only apps to mobile, you need a system with qmlscene installed already, but it is trivial to have a small C++ layer, and removing the JS only restriction gives you a huge amount more power over QML itself (building your own components in C++ vs combining them in JS).

Re:Qt Creator 3.1.0 released by frozenport on Wednesday April 16, 2014 @03:42PM (#7600064)
I want my VS 2013 support and I want it now! :-)
Re:Qt Creator 3.1.0 released by rbanffy on Wednesday April 16, 2014 @04:31PM (#7600351)
What do you mean by "VS 2013 support"?
Re:Qt Creator 3.1.0 released by turrini on Wednesday April 16, 2014 @04:36PM (#7600372)
VS 2013 = Visual Studio 2013.

There's a plugin for those who want to use Qt inside Visual Studio instead of using Qt Creator.

Re:Qt Creator 3.1.0 released by frandroid on Wednesday April 16, 2014 @02:40PM (#7599628)
First reaction: Qt's inventor was in jail? :)
Re:Qt Creator 3.1.0 released by malkia on Wednesday April 16, 2014 @06:50PM (#7601011)
Yup, his real name was 1.0, he's a changed person now!

... Qt Creator is simply amazing. I've been using it on debian/windows/osx to create some custom C++ Qt widgets (have been learning Qt for about a year), and it's very fluid to use.

I even got the Windows Debugging working (through cdb.exe found in the Windows SDK -> DDK package).

Re:Qt Creator 3.1.0 released by aluxeterna on Wednesday April 16, 2014 @04:49PM (#7600452)
no joke, this was my first reaction also. Been reading too many political threads, I guess.
Re:Qt Creator 3.1.0 released by btian on Wednesday April 16, 2014 @02:55PM (#7599757)
what?
Re:Qt Creator 3.1.0 released by pestaa on Wednesday April 16, 2014 @03:03PM (#7599805)
GP read the title as if it talked about the creator of Qt. Though "3.1.0" is a strange name for a guy or gal. ;)
Re:Qt Creator 3.1.0 released by powersurge360 on Wednesday April 16, 2014 @03:02PM (#7599800)
Qt Creator was released. Creator of Qt was released (from jail). Just a joke. Took me a second too.