mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-29 05:35:16 +03:00
9cb2c840ec
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"
33 lines
910 B
C++
Executable file
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));
|
|
}
|
|
|