|
@@ -155,13 +155,14 @@ int main(int argc, char *argv[])
|
|
|
{
|
|
|
// Load virtualkeyboard input context plugin
|
|
|
qputenv("QT_IM_MODULE", QByteArray("QtFreeVirtualKeyboard"));
|
|
|
- QGuiApplication app(argc, argv);
|
|
|
QtWebEngine::initialize();
|
|
|
|
|
|
+ QGuiApplication app(argc, argv);
|
|
|
|
|
|
qDebug() << QSysInfo::kernelVersion() << " CPU Arc " << QSysInfo::currentCpuArchitecture();
|
|
|
|
|
|
QQmlApplicationEngine appEngine;
|
|
|
+
|
|
|
//transload klasse in QML Context
|
|
|
TransLoad transLoad;
|
|
|
appEngine.rootContext()->setContextProperty("transLoad", &transLoad);
|
|
@@ -182,10 +183,10 @@ int main(int argc, char *argv[])
|
|
|
if(QSysInfo::currentCpuArchitecture() == "x86_64") {
|
|
|
//item->setProperty("width", 640);
|
|
|
//item->setProperty("height", 480);
|
|
|
- item->setProperty("width", 480);
|
|
|
- item->setProperty("height", 272);
|
|
|
- //item->setProperty("width", 800);
|
|
|
- //item->setProperty("height", 480);
|
|
|
+ //item->setProperty("width", 480);
|
|
|
+ //item->setProperty("height", 272);
|
|
|
+ item->setProperty("width", 800);
|
|
|
+ item->setProperty("height", 480);
|
|
|
//item->setProperty("width", 1280);
|
|
|
//item->setProperty("height", 800);
|
|
|
} else {
|