Hello!

Talking about QT_VERSION macro here: [http://www.qtcentre.org/threads/5539...02#post247602], I ended up having a question regarding knowledge of Qt versions and their relation with specific Qt components, namely, how exactly does I know which is the minimal Qt Version that a given Qt thing requires to be used? Some functions in Qt Assistant do say "this feature was introduced in Qt ...", but this is not regular. For example, how do I know which is the minimal Qt Version that it's required for QMessageBox to be used?

And I got a related question: is there a way by which I can detect if a given header was #include or not? I mean, we can detect if a macro was already defined my using #ifndef:

Qt Code:
  1. #ifndef MACRO
  2. #define MACRO
  3. #endif
To copy to clipboard, switch view to plain text mode 

Is there a way to do a analogous thing regarding header #include?


Thanks,

Momergil