Results 1 to 6 of 6

Thread: Specific compiler options for specific source files in qmake?

Threaded View

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

    Default Re: Specific compiler options for specific source files in qmake?

    I think it is a bad idea to compile one file with rtti enabled and others with it disabled. Either enable it everywhere or disable it everywhere. It is best to avoid dynamic_cast altogether. Maybe you can substitute it with qobject_cast?
    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. The following user says thank you to wysota for this useful post:

    thru (14th February 2011)

Similar Threads

  1. platform specific qmake versions ?
    By andjesto in forum Newbie
    Replies: 1
    Last Post: 17th January 2011, 18:45
  2. Replies: 3
    Last Post: 19th July 2010, 10:59
  3. Replies: 1
    Last Post: 10th March 2010, 10:12
  4. Replies: 4
    Last Post: 10th February 2010, 06:47
  5. How to access files from specific folder using QContentSet
    By hrudhay in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 30th June 2008, 19:57

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.