Add GitHub build workflow to Qt Creator plugin wizard template

By default the workflow uses the Qt and Qt Creator version that the
wizard was triggered from. The user has to adapt these as needed.

Change-Id: I9dc38324756b571563fee64ddd3ed641f07a358f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Eike Ziller
2020-01-03 10:48:30 +01:00
parent 8b143d5f5a
commit b475817c7c
6 changed files with 379 additions and 1 deletions

View File

@@ -25,6 +25,8 @@
#include "corejsextensions.h"
#include <app/app_version.h>
#include <utils/fileutils.h>
#include <utils/mimetypes/mimedatabase.h>
#include <utils/qtcassert.h>
@@ -36,6 +38,16 @@
namespace Core {
namespace Internal {
QString UtilsJsExtension::qtVersion() const
{
return QLatin1String(qVersion());
}
QString UtilsJsExtension::qtCreatorVersion() const
{
return QLatin1String(Constants::IDE_VERSION_DISPLAY);
}
QString UtilsJsExtension::toNativeSeparators(const QString &in) const
{
return QDir::toNativeSeparators(in);