Search the Community
Showing results for tags 'qt'.
-
Hi everyone! I try to make a unigine project with qt creator cause of qt's features that i need to use (e.g. webscokets and etr.). Now i choose "c++ qt based" in browser and get a project. But. Compile procecess gives me pleanty of errors and base on this fact i want to ask a couple of questions. 1. Is there a tutorial how to use qt creator with unigine? 2. Maybe unigine works only with special qt version like for example 5.4 or something else. I would glad to collet any information about this. Thank you! P.S. I use engineering kit 2.13.0.1 on windows.
-
Hi, we are using opengl at the moment for our project with a QOpenGLWidget which is working fine with the Qt composition of QWidget layers, which have transparency, on each other. We want to use directx because of some shader bugs ,which are not solved in opengl yet, and performance improvement. I also managed to get unigine working with directx but I can not overlay the used QWidget with any other QWidget based elements which have transparency. There is no blending in this case and the Unigine scene will not be visible. Do you already have a solution which works with the way Qt composites its UI elements and DirectX or is anything like that planned in the near future? Regards, Sebastian
-
with unigine 2.7.1 qt frame after set the D3d11AppQt as sub widget of other widget (the crash bug will not occure in center widget),and start the engine , unigine will get crash over here. after debuging ,find that there was called QApplication::processevent when in setVideoMode function in AppQt when an engine object initialization, the processevent will call the timerEvent. however ,in that time, engine object just do not finish it's initialization, then do the update will cause crash. below is my resolution to fix that.
-
Greetings! I'm building an application that's using the Qt project template. I'm referencing the ControlsJoystick, however upon initialization, I get the following console log: Loading "dinput8.dll" ControlsJoystick::updateEvents():SetCooperativeLevel(): failed At this point the joystick is non working. If I run a non-Qt based project, the joystick seems to be ok. Based on the docs, this has something to do with joystick control exclusivity mode ( the cooperative level flags ). How would you suggest I should approach the joystick initialization?
-
Hello everybody, we are planning a Project now with Qt Ui Elements on top of a Unigine Widget. We made a little research and found out that Qt is using a BackingStore to composite their UI Elements/Widgets (Labels, Buttons etc.). After calling winId() on a QWidget, the QWidget class creates a native HWND on Windows. When creating a OpenGL context with the HWND the rendered content is not blended correctly with the UI. Since Unigine uses the same technique with their AppQt example, we are wondering if you have any idea, how to do this. Or is there a solution to use a QOpenGLWidget instead of a QWidget? Thanks, Sebastian
-
Hey guys, I have a little problem with editing content in unigine. I can't even start unigine content editor because of this error: couldnt not find or load platform Qt plugin 'windows' in **. Thans for any help
-
Qt 5.10 platform webgl and the Qml UnigineItem
christophe.meurice posted a topic in Feedback for UNIGINE team
Hi ! I've just tried the new feature of Qt 5.10 witch is webgl streaming the Qt app to a browser without touching the code (just pass "-platform webgl" flag to the executable). For this I've tried to compile the Unigine's App/Qml sample with Qt5.10 to test it but (as expected) doesn't work. I have no idea if the problem comes from Unigine, from the integration or from Qt itself but I think this feature can be very interesting to have. I post here the steps to reproduce the crash if it can help : - Removed qt folder and qt.conf - Copy libUnigine_x64.so to the App/Qml folder - Run qmake from Qt 5.10 than make - Run the executable ./Qml -data_path ../../../../../ -data_path ./ -platform webgl - Browse to http://localhost:8080 than ... crash QObject: Cannot create children for a parent that is in a different thread. (Parent is UnigineItem(0x1aa2780), parent's thread is QThread(0x1a278c0), current thread is QSGRenderThread(0x1ab3790) (Any other apps that don't use Unigine are working fine) -
Hi, we are trying to integrate Unigine with Qt/Qml. On windows using DX11 it work perfectly but on linux with opengl it doesn't work. We have an Unigine viewport and some Qml widget (Qt5QuickWidgets) created dynamically, when a qml widget is created both Unigine and Qt stop refreshing with the following error : OpenGL error: invalid operation Any help would be appreciated. You can reproduce it easily editing the source code of source/app/main_qt : (.zip with complete source code provided) main_qt.pro : -------------------------------- QT += core gui widgets quickwidgets main_qt.cpp : -------------------------------- // Qt #include "MainWindow.h" #include <QApplication> #include <QDesktopWidget> #include <QQuickWidget> #include <QQuickView> (...) int main(int argc, char *argv[]) { // Qt part QApplication app(argc, argv); MainWindow window; QQuickWidget *view = new QQuickWidget; view->setSource(QUrl::fromLocalFile("test.qml")); view->show(); // UnigineApp AppQt *widget = NULL; (...) test.qml : (drop it in the main_qt folder) -------------------------------- import QtQuick 2.0 Item { width: 600 height: 400 Rectangle { id: r anchors.centerIn : parent width: parent.width /2 height: parent.height /2 color: "red" } Timer { interval: 1000; running: true; repeat: true onTriggered: { console.log("Triggered " + r.color) r.color = (r.color == "#ff0000") ? "blue" : "red" } } } main_qt.zip
-
I'm curious as to what the longterm roadmap looks like for the GUI system in Unigine. With the advent of some competitors (Unity) integrating a UI editor directly into the engine, it raises questions about the feasibility of doing the something similar with Unigine. Especially since dropping support for Qt but retaining the UI file format. Is this something that's been discussed internally?