- Remove frequently occurring messages.
- Rename variable to QT_QPA_VERBOSE.
Change-Id: Id930e1422675355a9657edae6505be87aaec98a5
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
# pragma warning( disable : 4996 )
#endif
m_instance = this;
- if (const char *v = getenv("QT_LIGHTHOUSE_WINDOWS_VERBOSE")) {
+ if (const char *v = getenv("QT_QPA_VERBOSE")) {
QWindowsContext::verboseIntegration = componentVerbose(v, "integration");
QWindowsContext::verboseWindows = componentVerbose(v, "windows");
QWindowsContext::verboseEvents = componentVerbose(v, "events");
{
POINT p;
GetCursorPos(&p);
- if (QWindowsContext::verboseWindows)
- qDebug("%s %ld,%ld", __FUNCTION__, p.x, p.y);
return QPoint(p.x, p.y);
}
QPlatformPixmap *QWindowsIntegration::createPlatformPixmap(QPlatformPixmap::PixelType type) const
{
- if (QWindowsContext::verboseIntegration)
- qDebug() << __FUNCTION__ << type;
return new QRasterPlatformPixmap(type);
}