PDA

View Full Version : Aren't there enough resources for Qt/c++ on web?



Awareness
7th October 2009, 17:47
Hello,this is my first post on this forum.I want to use Qt for C++ under Windows.

I tried searching for +Qt +tutorials on google.It returned many results,much more than +"c++ builder" +tutorials for example.But the problem is,when I examine the results,those sites do not have tutorials really,they just have the words "Qt" and "tutorials" inside their texts and a text about Qt.There are a few tutorial sites,but they are tutorials found on Trolltech/Nokia's own sites or a tutorials list called "independent Qt tutorials" written by Johan Thelin and other sites use the same tutorials.

There maybe a few other tutorial sites for Qt which escaped from my eyes,but there is really too less:(Isn't it?Maybe I am searching with wrong keywords?

Also I couldn't find enough example source codes for Qt/c++.I wrote +c++ +Qt +"source codes",also tried searching +c++ +Qt +examples,although these google searches resulted with thousands of webpages,again it looks like they don't have example source codes(other than Trolltech/Nokia's websites):(Am I searching with wrong keywords?

I am thinking about starting to Qt/C++,but seeing that I will not be able to find tutorials or source code examples bothers me:(

yan
7th October 2009, 18:38
you can find a lot of example and a tutorial in qr src.

Awareness
7th October 2009, 19:10
Thanks for your answer.

But why there is almost no resource other than ones supplied by Trolltech/Nokia?

yan
7th October 2009, 21:14
Thanks for your answer.

But why there is almost no resource other than ones supplied by Trolltech/Nokia?
:confused:

In french, we have create a lot of resources
http://qt.developpez.com/ and other site to http://www.qtfr.org/

In english you can find
http://wiki.qtcentre.org/index.php?title=Main_Page
http://www.digitalfanatics.org/qt4/articles.html
http://cartan.cas.suffolk.edu/oopdocbook/opensource/

what do you search???

[edit]
and you have this forum of course:p

Awareness
8th October 2009, 00:50
Thanks.

Being limited to just a few sites bothers me.For example,when I do a search like +c# +examples, or +java +examples,google returns many useful results which have code examples.But with Qt,seems like we are limited to a few useful sites.

In the future if I want to do a specific thing with Qt,let's say "an ircbot" and I need code examples, if I can't find them in a few sites then I will not be able to write that application cause of insufficient examples,I am just limited to a few sites which have examples.
Also I want to ask another question too,if I want to make an ircbot,should I code it in pure C++ code + Qt(for just GUI),or should I code it entirely in Qt?(is it possible?)

I have trouble about understanding why although Qt seems like a popular framework there is almost no examples and tutorials other than a few sites?

Lesiok
8th October 2009, 07:14
In the future if I want to do a specific thing with Qt,let's say "an ircbot" and I need code examples, if I can't find them in a few sites then I will not be able to write that application cause of insufficient examples,I am just limited to a few sites which have examples.


Why You think You can't do that without examples ? With every problem somebody must be first who solved this. Why not You ?

jano_alex_es
8th October 2009, 08:29
Writting "qt tutorial" gives thousands of different tutorials (1,8 million sites).

:P

pdolbey
8th October 2009, 12:40
There's over a 1000 Qt based projects at sourceforge (http://www.sourceforge.net)
Another source is http://www.qt-apps.org

Qt4 has been used by many open source libraries - in my graphics world you can find OpenCASCADE, Coin3d, CGAL, OpenMesh and many, many more...

Just googling "qt4 irc client" comes up with http://www.quassel-irc.org/about top of the list - you can probably make a bot out of that.

I think you're not trying hard enough :)

Pete

Awareness
9th October 2009, 01:13
Thanks for your answers.


Writting "qt tutorial" gives thousands of different tutorials (1,8 million sites).

:P

Yes,but if you examine them,seems like big most of them copied tutorials from Trolltech/Nokia's own tutorials or Johan Thelin's tutorials,same tutorials.Also there are QuickTime tutorials too in the results.

I'll have a look at sourceforge,how do you search for Qt in that webpage?do you search for Qt in description by search feature of that site?


pdolbey wrote:
Just googling "qt4 irc client" comes up with http://www.quassel-irc.org/about top of the list - you can probably make a bot out of that.

I'll try that.

NicholasSmith
9th October 2009, 10:49
For the most part Qt is pretty easy to pick up, if you know C++. The classes are named nicely enough to be able to pick details out, plus the Nokia reference materials are all pretty excellent!

Searching Qt tutorials is bound to pull a hell of a lot down though, something more like 'qt network tutorial' will get you up and running on the network aspects, and there's plenty of tutorials on writing IRC bots in C++

wysota
9th October 2009, 12:34
Being limited to just a few sites bothers me.For example,when I do a search like +c# +examples, or +java +examples,google returns many useful results which have code examples.But with Qt,seems like we are limited to a few useful sites.

I'd prefer to have as many useful things in one place instead of having lots of both useful and unuseful things at many places. It's easier to search through one place instead of 1000.

Quality of Qt Documentation is very good, it contains few hundred tutorials and examples. There are also tutorial-like articles on Qt Quarterly (some of them are reprinted in our wiki) and a bunch of other sites already mentioned in this thread. For things not covered by any of them you have a few forum-based sites where you can ask for clarifications or guidelines. What more do you need?

Peppy
10th October 2009, 16:18
Yes there is so much tuts but they are very poor or just they posted an code...

squidge
10th October 2009, 18:19
The best tuts are those provided with Qt - there are many examples and demos which you can experiment with to see how things work, and the provided documentation is superb.

The addressbook tutorial in the docs is a good introduction too, and there are also videos on youtube.

wysota
11th October 2009, 11:07
Yes there is so much tuts but they are very poor or just they posted an code...

Can you point me to a poor tutorial in Qt reference? Please also explain why you consider it poor.

Peppy
11th October 2009, 16:32
http://doc.trolltech.com/4.2/mainwindows-mdi.html

Because there isn't a lot of text...how can I study code if there are not any snippets? Or they can write notes into code...just putted code and it's done.

wysota
11th October 2009, 17:24
This example builds on knowledge of Qt you should already have. If you take a look at the code of the example (and I mean its latest version, not the one that is two years old), you will notice there are practically just two lines of code that deal with MDI there. The example is so trivial, it doesn't need any explanation beyond what you should already know. Both those lines are explained in the documentation linked from the example. I do agree though that it looks silly that there is practically no text with the example. But it's still an example and not a tutorial.

Peppy
11th October 2009, 17:30
Yes...you have true...