forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user