Showing posts with label deprecated API. Show all posts
Showing posts with label deprecated API. Show all posts

Wednesday, April 5, 2017

Make the compiler warn you of deprecated Qt features

QT_DEPRECATED_WARNINGS is a keyword that can be used in your Qt's project files (.pro) so qmake makes your compiler emit warnings if you use any feature of Qt which as been marked deprecated. The exact warnings depend on your compiler, but it'll be easy to spot any location in your source base that might be affected for any Qt's API changing soon.