title: Qt Determine if application is launched from Qt Creator?
body: <p>How can I from within my code determine if my application is started from Qt Creator (either by "F5" or "Ctrl + R")?</p>
  
  <p>The reason why I want to know this is because I want to create my own debug message handler ( using qInstallMessageHandler()) <strong>only</strong> when the application is launched from the executable directly. Since Qt allows only one message handler, I don't want to create my own when launching from Qt Creator, or else I can't see the debug messages in Qt Creators own debug console.</p>