forked from qt-creator/qt-creator
Fix build with newest Qt 6
No implicit casts from QString to QFileInfo anymore, and a few more QChar(int) fixes. Task-number: QTCREATORBUG-24098 Change-Id: I3326fc0701a9259c7bdd2d8c3025de0a4774f8aa Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -442,7 +442,7 @@ void GenericBuildSystem::parse(RefreshOptions options)
|
||||
FilePath GenericBuildSystem::findCommonSourceRoot()
|
||||
{
|
||||
if (m_files.isEmpty())
|
||||
return FilePath::fromFileInfo(QFileInfo(m_filesFileName).absolutePath());
|
||||
return FilePath::fromFileInfo(QFileInfo(m_filesFileName));
|
||||
|
||||
QString root = m_files.front();
|
||||
for (const QString &item : qAsConst(m_files)) {
|
||||
|
||||
Reference in New Issue
Block a user