pauldow
Posts: 48
Joined: Fri Aug 05, 2011 12:17 pm
Contact: Website

Looking for Recommendation for Learning Qt

Wed Feb 13, 2013 2:48 am

Hopefully I've selected the right section to post this question.

I've been working with the Pi a bit, and I'm interested in Qt. It looks like something I'd like to learn to use. I was able to install Qt 4.8.2 Creator/Designer/Assistant/Linguist, so it looks like Phase 1 is to install Qt, and since Phase 3 is Profit, I need to fill in Phase 2.

I'm familiar with antique languages, such as BASIC, FORTRAN, etc, but I don't have any C++ experience. I see there are quite a few YouTube videos, and there's quite a bit of documentation that comes with Qt. I still find learning more difficult with online pages that are difficult to move between.

Are there any books recommended?
Thanks for any help,
Paul

Cloudcentric
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am

Re: Looking for Recommendation for Learning Qt

Wed Feb 13, 2013 7:52 am

C++ GUI Programming with Qt4 (2nd Edition) Jasmin Blanchette (Author), Mark Summerfield (Author)

Advanced Qt Programming, Creating Great Software with C++ and Qt 4, Mark Summerfield.

Both are published by Prentice Hall http://www.pearsoned.co.uk/Imprints/PrenticeHall
I know everything about nothing"

User avatar
stephj
Posts: 80
Joined: Thu Jun 21, 2012 1:20 pm
Location: Lancashire, UK

Re: Looking for Recommendation for Learning Qt

Wed Feb 13, 2013 11:09 am

You might want to try the distro mentioned in this post first:

http://www.raspberrypi.org/phpBB3/viewt ... 66&t=11541

It uses the RazorQT desktop, instead of the Rasbian LXDE desktop.

LXDE is built on GTK+, whereas RazorQT is QT based.

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: Looking for Recommendation for Learning Qt

Wed Feb 13, 2013 12:34 pm

Obviously without 'any C++ experience' it might be good to get some elementary book like the mother of all C++ books: http://en.wikipedia.org/wiki/The_C%2B%2 ... g_Language ...second-hands available for next to nothing ;)
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'


jimmy
Posts: 12
Joined: Fri Dec 30, 2011 6:39 pm

Re: Looking for Recommendation for Learning Qt

Wed Feb 13, 2013 1:50 pm

You might want to also look into books/tutorials on object oriented (OO) programming. It's not really that much different in terms of writing code (vs procedural languages like Basic and Fortran), but, conceptually it is quite different. Having a little OO background might make it easier to understand examples.

xian
Posts: 51
Joined: Thu Nov 01, 2012 8:42 pm

Re: Looking for Recommendation for Learning Qt

Wed Feb 13, 2013 3:08 pm

I originally learned C++ from Sams teach yourself C++ in 24 hours. It is very thorough and gives a good grounding, that and http://www.cplusplus.com is all I've needed. Not sure about QT, I've not used it myself.

dr_d_gee
Posts: 84
Joined: Fri Jan 04, 2013 1:30 pm

Re: Looking for Recommendation for Learning Qt

Wed Feb 13, 2013 4:34 pm

There are various books on Qt available; personally I like Mark Summerfield's "C++ GUI Programming with Qt" but I know some people dislike it too. But before you can do a lot qith Qt you will need at least some understanding of C++.

Have you considered using Python (PyQt or PySide) instead?

pauldow
Posts: 48
Joined: Fri Aug 05, 2011 12:17 pm
Contact: Website

Re: Looking for Recommendation for Learning Qt

Fri Feb 15, 2013 2:50 am

Thanks for the suggestions everyone,

I was able to order The C++ Programming Language book for 11.45 USD. Someone must have donated a copy to Goodwill, and they sold it on eBay. They're a charity that helps people get employed. It looks like the next version of this book will be released in May, but this should be good enough for me.
I'm going to download that RazorQt distribution when I finish typing this. Had to go out for more SD cards today. I've got to figure out a way to keep track of what's on the cards. You can't write much on them like floppy disks and CDs.

I did have one class about 12 years ago that covered OO programming, but I think most of that leaked out of my head. I was looking if any of the books by Summerfield and Blanchette were available in area libraries, but the nearest one is 90 miles away. I think I can get them through an inter-library loan so I can read through them to see if I want to buy any.

The first step is probably going through the Wiki and YouTube instructions. There's also several hours of video from Qt Developer Days in Berlin last year. I watched the one on using Qt with the Raspberry Pi, but that session was mostly about basic Pi usage.

I had no idea about the RazorQT distribution, or that QT could be used with Python before this, so thanks again. I've got a lot of knowledge absorbing to do.

Paul

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: Looking for Recommendation for Learning Qt

Fri Feb 15, 2013 10:09 am

I (having left my original behind when moving abroad) bought a copy of the book that was decommissioned from a university for £1.95 - shipping cost triple that :roll:

For the SD cards, I label the cards with just a number - and use a plastic ring-binder pocket page (similar to this http://www.amazon.com/25-Ultra-Pro-Prot ... _sim_hg_17) - slip in a piece of paper with contents and the card number written on :mrgreen:
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

Return to “C/C++”