Results 1 to 7 of 7

Thread: Where are tutorial 2 code examples?

  1. #1
    Join Date
    Jan 2006
    Posts
    46
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Where are tutorial 2 code examples?

    It says on
    http://doc.trolltech.com/3.3/tutorial2-01.html
    that "The complete source for the application is in examples/chart."

    But it isn't and I can't find it... I think it used to be in
    http://doc.trolltech.com/3.3/examples/chart.html

    because if I type
    http://doc.trolltech.com/3.5/examples/chart.html

    I get
    "The document name you requested (/3.5/examples/chart.html)
    could not be found on this server. However, we found documents
    with names similar to the one you requested.

    Available documents:
    * /3.0/examples/chart.html (mistyped character)
    * /3.3/examples/chart.html (mistyped character)
    * /3.1/examples/chart.html (mistyped character)
    * /3.2/examples/chart.html (mistyped character) "

    But none of these links work, so it must have been moved.

    Also, if someone knows where the .pdf of the tutorials have gone...? I printed
    the tutorial 1 but now I would like to print the second and I can't even find
    the first one again...

    Mariane

  2. #2
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where are tutorial 2 code examples?

    If you have Qt installed you can also find the examples' code in ($QTDIR)/doc/examples

  3. #3
    Join Date
    Jan 2006
    Posts
    46
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Where are tutorial 2 code examples?

    Installed? I have a lot of files in /usr/include/qt3
    but there is no doc directory there... Any idea, please?

    But I'll have a look on trolltech, see if I can find any doc in the
    download section... No, got a link to a book (nearly 400 pages!)
    but still no tutorial 2... It's not even mentioned in the doc I downloaded,
    it only says "tutorial" and that's tutorial 1...

    Mariane
    Last edited by Mariane; 24th January 2006 at 18:53. Reason: Addition

  4. #4
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where are tutorial 2 code examples?

    echo $QTDIR
    Does it output /usr/include/qt3 ? I doubt it, but it's your pc you know better
    Do you have assistant installed? There should be a doc directory somewhere (for me (Suse 9.3) it's /usr/lib/qt3/doc).
    Download the book, you'll love all 400 pages of it believe me

  5. #5
    Join Date
    Jan 2006
    Posts
    46
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Where are tutorial 2 code examples?

    Thank you for your help.

    echo $QTDIR
    Says "QTDIR: Undefined variable."

    But I took your advice and downloaded the book .

    I'm actually looking for a simple documented example with menus.
    Tutorial 2 seemed promissing but I don't have the code, and Application
    (another example which is supposed to give a kind of text editor) didn't
    compile because it missed 3 files:

    #include "filesave.xpm"
    #include "fileopen.xpm"
    #include "fileprint.xpm"

    I found these files at http://webcvs.kde.org/qt-copy/examples/
    So I'll try to understand this example instead of tutorial 2, at least until
    someone can tell me where to find a working code for tutorial 2...
    The code for tutorial 2 at http://webcvs.kde.org/qt-copy/examples/
    doesn't compile

    Then, I guess I'll have to start reading the book...

    Mariane

    PS By the way, it's not my pc at all, it's a network. I haven't a clue what
    most of the stuff in /usr is...
    Last edited by Mariane; 24th January 2006 at 19:55. Reason: Addition

  6. #6
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

  7. #7
    Join Date
    Jan 2006
    Posts
    46
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Where are tutorial 2 code examples?

    I'll ask for it next time...

    Thank you very much.

    Mariane

Similar Threads

  1. copyright and gpl
    By janus in forum General Discussion
    Replies: 8
    Last Post: 21st October 2008, 01:13
  2. Qt Licensing And Programming In The Real
    By rushtontb in forum Qt Programming
    Replies: 11
    Last Post: 10th September 2008, 21:45
  3. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  4. Replies: 2
    Last Post: 29th October 2006, 07:54
  5. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 21:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.