GODT-1569: upgrade bridge from qt 5 to qt 6.

Fixed issues introduced by upgrading to Qt 5.15.
WIP: upgrade to Qt 6
WIP: QML fixes. [sklp-ci]
WIP: macOS font fix.
WIP: backend is a now a singleton.
WIP: remove version number of import.
WIP: fixed missing Action in qmldir.
WIP: fixed errors on program exit.
WIP: CMake detects host arch on mac if not specified.
This commit is contained in:
Xavier Michelon
2022-07-14 18:08:54 +02:00
committed by Jakub
parent 8f2e616e07
commit 664f81249c
65 changed files with 742 additions and 714 deletions

View File

@ -56,7 +56,7 @@ QString BridgeMonitor::locateBridgeExe()
for (QString const &dir: dirs)
{
QFileInfo const fileInfo = QDir(dir).absoluteFilePath(exeName);
QFileInfo const fileInfo(QDir(dir).absoluteFilePath(exeName));
if (fileInfo.exists() && fileInfo.isFile() && fileInfo.isExecutable())
return fileInfo.absoluteFilePath();
}
@ -91,7 +91,7 @@ void BridgeMonitor::run()
emit started();
QProcess p;
p.start(exePath_);
p.start(exePath_, QStringList());
p.waitForStarted();
while (!p.waitForFinished(100))