OSDN Git Service

build fix
authorIvailo Monev <xakepa10@laimg.moc>
Thu, 18 Jul 2019 21:49:30 +0000 (21:49 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Thu, 18 Jul 2019 22:04:11 +0000 (22:04 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/declarative/qml/qdeclarativeimport.cpp
src/test/qplaintestlogger.cpp

index a86c787..1bfaa2c 100644 (file)
@@ -872,7 +872,6 @@ QString QDeclarativeImportDatabase::resolvePlugin(const QDir &qmldirPath, const
     //  libfoo.so
 
     return resolvePlugin(qmldirPath, qmldirPluginPath, baseName, validSuffixList, QLatin1String("lib"));
-#endif
 }
 
 /*!
index c54d1f0..9c337c6 100644 (file)
@@ -317,7 +317,7 @@ void QPlainTestLogger::startLogging()
                              ", Qt %s\n", QTestResult::currentTestObjectName(), qVersion());
         }
     }
-    QTest::outputMessage(buf);
+    QAbstractTestLogger::outputString(buf);
 }
 
 void QPlainTestLogger::stopLogging()
@@ -334,7 +334,7 @@ void QPlainTestLogger::stopLogging()
                          QTestResult::passCount(), QTestResult::failCount(),
                          QTestResult::skipCount(), QTestResult::currentTestObjectName());
     }
-    QTest::outputMessage(buf);
+    QAbstractTestLogger::outputString(buf);
 
     QAbstractTestLogger::stopLogging();
 }