[SOLVED] QT

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

[SOLVED] QT

Post by GroundUpEngine »

I can't recall ever using QT, but it looks quite nice for quick GUI based stuff in C/C++. Can anyone recommend some good tutorials on thier SDK and what not? ;)

Thanks,
HebronS
Last edited by GroundUpEngine on Sun Mar 13, 2011 2:32 pm, edited 2 times in total.
N64vSNES
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Thu Aug 12, 2010 11:25 am

Re: QT

Post by N64vSNES »

I'm fairly sure some decent documentation comes with the IDE.
I could be wrong though, been a while since I've done Cute.
User avatar
adikid89
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 94
Joined: Tue Apr 27, 2010 6:59 am
Current Project: small tiny-mini projects
Favorite Gaming Platforms: PC I guess...
Programming Language of Choice: c++

Re: QT

Post by adikid89 »

Yep. Documentation comes with qt designer, it also comes with a lot of very well document tutorial projects.
My first game C++/SDL Yoshi Combat! = http://www.youtube.com/watch?v=HQ9mMBEWSZg
==============================================================
Image
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: QT

Post by Falco Girgis »

Dude, the documentation built in to QT Creator is fucking AMAZING. It's all you'll ever need.

Just download the QT Creator IDE, and you're set.
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: QT

Post by Ginto8 »

GyroVorbis wrote:Just download the QT Creator IDE, and you're set.
Note: This IDE is amazing for almost any project, not just Qt ones ;)
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
ParticleGames
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 53
Joined: Sat Feb 19, 2011 1:20 pm
Current Project: A map editor for a platformer I plan to develop
Favorite Gaming Platforms: Wii, Gamecube
Programming Language of Choice: C++

Re: QT

Post by ParticleGames »

Wow sounds pretty good, I will have to check it out.
Check out my iPhone app here: http://twilighthop.com
kaktusas2598
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 15
Joined: Sat Feb 12, 2011 9:37 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: Lithuania

Re: QT

Post by kaktusas2598 »

Oh men, I looked in QT website and all those screenshots look cool, also I know that Elysian Shadows Level Editor are created with QT, I might learn QT, but one question: I already learning SDL, Lua and plan OpenGL, it is not too much ? It would be great to know some GUI framework such as QT...

Edit: Are you guys in ES team use QT designer for creating GUI or you hard code all GUIin your level editor?
User avatar
Milch
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Sat Jul 11, 2009 5:55 am
Programming Language of Choice: C++
Location: Austria, Vienna

Re: QT

Post by Milch »

Well, I don't want to be a bitch or something,but I dont like to use Qt because of 2 reasons:
1. I was not able to get Qt running inside CodeBlocks - so I had to use QtCreator (Though, this not only a fault of Qt itself, its more less a fault on my side too)
2. Qt creates .moc files out of your source files (for the slot system) - so basically it compiles your code before it gets sent to GCC (or whatever compiler you are using), and I simply hate that.

Otherwise, Qt is pretty cool.
It has a super neat slot system and a great documentation!
Follow me on twitter!
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: QT

Post by MrDeathNote »

Milch wrote:Well, I don't want to be a bitch or something,but I dont like to use Qt because of 2 reasons:
1. I was not able to get Qt running inside CodeBlocks - so I had to use QtCreator (Though, this not only a fault of Qt itself, its more less a fault on my side too)
Yea, this is a fault on your end not Qt's. It can be a pain to get it set up in a different IDE, I had it set up in eclipse for a while but then I started using Qt creator and loved it so there really isn't a problem.
Milch wrote: 2. Qt creates .moc files out of your source files (for the slot system) - so basically it compiles your code before it gets sent to GCC (or whatever compiler you are using), and I simply hate that.
I don't understand why that bothers you. You like the slot system but not the way they implement it, there really aren't a lot of other options for implementing this design? Also if your using Qt creator all of that precompilation is done behind the scenes and you don't have to worry about it.

If these are the only faults you can find with Qt I think it's doing a damn fine job!!
Milch wrote: It has a super neat slot system and a great documentation!
Amen!!
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: QT

Post by Falco Girgis »

kaktusas2598 wrote:Oh men, I looked in QT website and all those screenshots look cool, also I know that Elysian Shadows Level Editor are created with QT, I might learn QT, but one question: I already learning SDL, Lua and plan OpenGL, it is not too much ? It would be great to know some GUI framework such as QT...

Edit: Are you guys in ES team use QT designer for creating GUI or you hard code all GUIin your level editor?
Of course it's not too much. There's no such thing as learning too much in this business.

And we do kind of a hybrid. Any window/widget that I make, I completely code by hand, because I'm very familiar with the widget system and suck ass with designer. Marcel uses designer for most of his widgets/windows, so...
Milch wrote:2. Qt creates .moc files out of your source files (for the slot system) - so basically it compiles your code before it gets sent to GCC (or whatever compiler you are using), and I simply hate that.
Well considering the fact that the entire metaobject/signals and slots system would be impossible without an extra layer of translation... this doesn't bother me...
kaktusas2598
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 15
Joined: Sat Feb 12, 2011 9:37 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: Lithuania

Re: QT

Post by kaktusas2598 »

GyroVorbis wrote:
kaktusas2598 wrote:Oh men, I looked in QT website and all those screenshots look cool, also I know that Elysian Shadows Level Editor are created with QT, I might learn QT, but one question: I already learning SDL, Lua and plan OpenGL, it is not too much ? It would be great to know some GUI framework such as QT...

Edit: Are you guys in ES team use QT designer for creating GUI or you hard code all GUIin your level editor?
Of course it's not too much. There's no such thing as learning too much in this business.

And we do kind of a hybrid. Any window/widget that I make, I completely code by hand, because I'm very familiar with the widget system and suck ass with designer. Marcel uses designer for most of his widgets/windows, so...
Ok, when I will consider learning Qt, it might become handy..
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: QT

Post by GroundUpEngine »

Thanks a bunch guys, and I'm glad others want to learn QT too!
GyroVorbis wrote:Dude, the documentation built in to QT Creator is fucking AMAZING. It's all you'll ever need.

Just download the QT Creator IDE, and you're set.
Dayum your right about that, amazing! :mrgreen:
Post Reply