The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

Hey guys,

we would love to integrate Godot into a Qt6 application, as many tasks are already done there like network functionality, database access and also the overlay is done based on QGraphicsScene & widgets. Until now we embedded Ogre 2.3 engine and the integration works fine but lacks editor functionality as not all of us are familiar with C++ and the programming overhead is enormous in Ogre compared to Godot. In Ogre you use a Window handle which can directly create a render window used in a QWidget something like:


Ogre::NameValuePairList param;
param["FSAA"]=std::tostring( 4 );
param["vsync"]="false";
param["externalWindowHandle"]=std::to
string( winId() );
param["gamma"]="true";
_window=Root::getSingleton().createRenderWindow( "RenderWindow", width(), height(), false, &param );

Is there something similar in Godot? Can we us a QOpenGLWidget for example?
Can we use the upcoming GDExtension in v4.0 to act as an interface between Godot an Qt?
Are there any experiences out in the community to use Godot and Qt together? Any Examples or docs? Qt is such a great library and it would be a pity if it doesn't work together with Godot.
Thanks & have a good day!
marius
in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.