Results 1 to 4 of 4

Thread: Qt 4.7.4 build problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: Qt 4.7.4 build problem

    qt_dynamic_cast_check probably needs rtti.


    oh hello there,
    error C2065: 'dynamic_cast_will_always_fail_because_rtti_is_dis abled' : undeclared identifier
    Could it be any more clear?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,349
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: Qt 4.7.4 build problem

    See attached screenshot for where to turn on RTTI in VS 2008. If you're using a Makefile, then you need to add -GR to the cl command options.

    Image1.png

  3. #3
    Join Date
    Dec 2010
    Posts
    35
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 4.7.4 build problem

    Quote Originally Posted by amleto View Post
    Could it be any more clear?
    Yes, indeed, I saw that message.

    I was actually looking for a different type of response, one like: "No, Qt cannot be built with the '-no-rtti' option;" or maybe "Oops, there's a bug in the shader package and the fix is..."

    Turns out the correct answer is #2 - there's a bug in Qt shader package. I received a fix from Digia and successfully (re-)built with '-no-rtti' option.

Similar Threads

  1. Qt build problem...
    By antsu in forum Installation and Deployment
    Replies: 2
    Last Post: 27th September 2011, 12:06
  2. Build problem
    By poporacer in forum Newbie
    Replies: 3
    Last Post: 28th September 2010, 00:51
  3. qt build on linux problem
    By paulo_spider in forum Installation and Deployment
    Replies: 0
    Last Post: 14th November 2009, 18:48
  4. A build problem in Qt creator 1
    By Dante in forum Qt Programming
    Replies: 6
    Last Post: 13th March 2009, 17:37
  5. problem after Qt 4.2.2 static build
    By npc in forum Newbie
    Replies: 2
    Last Post: 23rd February 2007, 12:28

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.