chore(cpn): update to Qt 5.15.2 and rework application packaging (#4270)

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
Neil Horne
2023-11-10 15:12:28 +10:00
committed by GitHub
co-authored by raphaelcoeffic philmoz
parent 9d5c6e62cb
commit a3faf7e9df
49 changed files with 347 additions and 197 deletions
+6 -6
View File
@@ -51,9 +51,9 @@ void showMessage(const QString & message, enum QMessageBox::Icon icon = QMessage
{
if (useConsole) {
if (icon < QMessageBox::Warning)
QTextStream(stdout) << message << endl;
QTextStream(stdout) << message << Qt::endl;
else
QTextStream(stderr) << message << endl;
QTextStream(stderr) << message << Qt::endl;
return;
}
@@ -70,16 +70,16 @@ const QString sharedHelpText()
QString ret;
QTextStream stream(&ret);
// list all available profiles
stream << endl << QApplication::translate("SimulatorMain", "Available profiles:") << endl;
stream << Qt::endl << QApplication::translate("SimulatorMain", "Available profiles:") << Qt::endl;
QMapIterator<int, QString> pi(g.getActiveProfiles());
while (pi.hasNext()) {
pi.next();
stream << "\t" << QApplication::translate("SimulatorMain", "ID: ") << pi.key() << "; " << QApplication::translate("SimulatorMain", "Name: ") << pi.value() << endl;
stream << "\t" << QApplication::translate("SimulatorMain", "ID: ") << pi.key() << "; " << QApplication::translate("SimulatorMain", "Name: ") << pi.value() << Qt::endl;
}
// list all available radios
stream << endl << QApplication::translate("SimulatorMain", "Available radios:") << endl;
stream << Qt::endl << QApplication::translate("SimulatorMain", "Available radios:") << Qt::endl;
foreach(QString name, SimulatorLoader::getAvailableSimulators()) {
stream << "\t" << name << endl;
stream << "\t" << name << Qt::endl;
}
return ret;
}