Results 1 to 13 of 13

Thread: help dynamic_cast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: help dynamic_cast

    Quote Originally Posted by giorgik View Post
    Wanting to implement "in the scene and only if an interesting collision occurs, pass this information to the interested object" how should I do ?
    I'm sorry if I'm so boring, but for me it is important to be able to solve the problem.
    Take a piece of paper and develop an algorithm of how it should work. Then take a look at API offered by the Graphics View Framework and implement your algorithm with it. If you need some functionality that is missing in the API, come here and ask about it and we'll help you find a solution. Remember that to use Qt you need a decent knowledge of C++. If you lack that knowledge, it's better to learn it now than to struggle at every step.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Apr 2010
    Location
    Italia
    Posts
    149
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 2 Times in 2 Posts

    Default Re: help dynamic_cast

    I managed to solve the problem by following your advice and structuring the program better. thanks

Similar Threads

  1. qobject_cast vs dynamic_cast
    By mike_c in forum Qt Programming
    Replies: 5
    Last Post: 19th April 2010, 19:51
  2. dynamic_cast not working
    By kloffy in forum Newbie
    Replies: 2
    Last Post: 12th October 2007, 00:07
  3. dynamic_cast and templates
    By KShots in forum General Programming
    Replies: 7
    Last Post: 7th August 2007, 21:01
  4. Why can't I make dynamic_cast work properly?
    By pir in forum General Programming
    Replies: 13
    Last Post: 18th July 2006, 17:17
  5. Problem with dynamic_cast
    By vratojr in forum General Programming
    Replies: 7
    Last Post: 12th April 2006, 14:45

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
  •  
Qt is a trademark of The Qt Company.