Click here to Skip to main content
15,914,452 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Can any USians confirm? Pin
Vivi Chellappa11-Apr-14 1:42
professionalVivi Chellappa11-Apr-14 1:42 
GeneralLearning C++/Qt Pin
Brisingr Aerowing10-Apr-14 5:14
professionalBrisingr Aerowing10-Apr-14 5:14 
GeneralRe: Learning C++/QT PinPopular
Marco Bertschi10-Apr-14 5:27
protectorMarco Bertschi10-Apr-14 5:27 
GeneralRe: Learning C++/QT Pin
Brisingr Aerowing10-Apr-14 6:10
professionalBrisingr Aerowing10-Apr-14 6:10 
GeneralRe: Learning C++/QT Pin
Marco Bertschi10-Apr-14 6:17
protectorMarco Bertschi10-Apr-14 6:17 
GeneralRe: Learning C++/QT Pin
Gary Wheeler10-Apr-14 6:36
Gary Wheeler10-Apr-14 6:36 
GeneralRe: Learning C++/QT Pin
Marco Bertschi10-Apr-14 8:25
protectorMarco Bertschi10-Apr-14 8:25 
GeneralRe: Learning C++/QT Pin
Sean Hopen11-Apr-14 4:08
Sean Hopen11-Apr-14 4:08 
(Good reply Marco. And good luck with the book I think we need a good new book on Qt. )
If I may add my few cents to that:
C++ programmers know there are many ways and styles to use C++. Try to find out the Qt way of doing things. Its a good way, and it saves you a lot of time.

For example:
Make sure you understand the implicitly shared data types, and the smart pointers. They save you a lot of effort.
QML is definitely the way to go, IMO, not just for cross-platform.
For databinding to the UI (QML), I like QProperties, but there's a lot of ceremonial code required for them. You need to find a good snippet, macro, code-completion thingy in your IDE to take care of all the typing you have to do for them.
An alternative to QProperties, if you have dumb objects consider using QDeclartivePropertyMaps. They're a quick way of making simple objects that automatically bind to your QML.
I have some other tips in this blog post/[^].
Good luck.
GeneralRe: Learning C++/QT Pin
Marco Bertschi11-Apr-14 5:04
protectorMarco Bertschi11-Apr-14 5:04 
GeneralRe: Learning C++/Qt Pin
newton.saber10-Apr-14 7:29
newton.saber10-Apr-14 7:29 
GeneralRe: Learning C++/Qt Pin
Marco Bertschi10-Apr-14 8:29
protectorMarco Bertschi10-Apr-14 8:29 
GeneralRe: Learning C++/Qt Pin
Member 460889811-Apr-14 5:15
Member 460889811-Apr-14 5:15 
GeneralJust got the new AD/HD album... Pin
Nagy Vilmos10-Apr-14 3:23
professionalNagy Vilmos10-Apr-14 3:23 
GeneralRe: Just got the new AD/HD album... Pin
glennPattonWork310-Apr-14 3:28
professionalglennPattonWork310-Apr-14 3:28 
GeneralRe: Just got the new AD/HD album... Pin
PIEBALDconsult10-Apr-14 4:14
mvePIEBALDconsult10-Apr-14 4:14 
GeneralAlbum Cover Pin
MehGerbil10-Apr-14 5:15
MehGerbil10-Apr-14 5:15 
GeneralRe: Album Cover Pin
Roger Wright10-Apr-14 7:56
professionalRoger Wright10-Apr-14 7:56 
GeneralRe: Album Cover Pin
Member 1069936914-May-14 9:10
Member 1069936914-May-14 9:10 
GeneralRe: Just got the new AD/HD album... Pin
Jörgen Andersson10-Apr-14 6:16
professionalJörgen Andersson10-Apr-14 6:16 
GeneralSpeed Dating in Wales PinPopular
Blue Waffle10-Apr-14 2:06
Blue Waffle10-Apr-14 2:06 
GeneralRe: Speed Dating in Wales Pin
Bassam Abdul-Baki10-Apr-14 2:28
professionalBassam Abdul-Baki10-Apr-14 2:28 
GeneralRe: Speed Dating in Wales Pin
R. Giskard Reventlov10-Apr-14 5:24
R. Giskard Reventlov10-Apr-14 5:24 
GeneralRe: Speed Dating in Wales Pin
Marco Bertschi10-Apr-14 5:29
protectorMarco Bertschi10-Apr-14 5:29 
GeneralRe: Speed Dating in Wales Pin
phil.o10-Apr-14 2:38
professionalphil.o10-Apr-14 2:38 
GeneralRe: Speed Dating in Wales Pin
Marco Bertschi10-Apr-14 2:48
protectorMarco Bertschi10-Apr-14 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.