cutego/quickcontrols2/quickcontrols2.cpp
therecipe 9cb2c840ec initial update to Qt 5.8 + breaking changes + new speech module
1. the qt api changed in various places
2. dropped the "_minimal" suffix for the deployment folders
3. to keep using older versions of Qt (5.7.1 for example), one would
now need to explicit export "QT_VERSION=5.7.1" and also
"QT_DIR=/path/to/Qt5.7.1"
2017-02-10 18:18:44 +01:00

33 lines
910 B
C++
Executable file

// +build !minimal
#define protected public
#define private public
#include "quickcontrols2.h"
#include "_cgo_export.h"
#include <QByteArray>
#include <QQuickStyle>
#include <QString>
struct QtQuickControls2_PackedString QQuickStyle_QQuickStyle_Name()
{
return ({ QByteArray tca3084 = QQuickStyle::name().toUtf8(); QtQuickControls2_PackedString { const_cast<char*>(tca3084.prepend("WHITESPACE").constData()+10), tca3084.size()-10 }; });
}
struct QtQuickControls2_PackedString QQuickStyle_QQuickStyle_Path()
{
return ({ QByteArray t432960 = QQuickStyle::path().toUtf8(); QtQuickControls2_PackedString { const_cast<char*>(t432960.prepend("WHITESPACE").constData()+10), t432960.size()-10 }; });
}
void QQuickStyle_QQuickStyle_SetFallbackStyle(char* style)
{
QQuickStyle::setFallbackStyle(QString(style));
}
void QQuickStyle_QQuickStyle_SetStyle(char* style)
{
QQuickStyle::setStyle(QString(style));
}