• Tobias Deiminger's avatar
    Compile Qt5 frontend with -DQT_STRICT_ITERATORS · 5dadcc93
    Tobias Deiminger authored
    QT_STRICT_ITERATORS prevents conversion from non-const iterator to const iterator.
    
    It helps detecting situations where we waste resources due to
    needless detach from implicitely shared container data (i.e. deep copy).
    
    If anyone should run into problems, they can disable strict iterators
    using a global cache variable:
    
    $ cmake DENABLE_QT_STRICT_ITERATORS=OFF [...]
    5dadcc93
CMakeLists.txt 361 Bytes