K
K
Kimaen2014-05-24 19:19:13
Programming
Kimaen, 2014-05-24 19:19:13

Connecting OGRE3D to QT

How to cleanly connect Ogre3D to Qt 5.3 without any widgets and add-ons?
The MinGW compiler for the appropriate version.
I tried to compile the application - everything went well, but when I start Qt, it says: "The application has crashed."

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EXL, 2014-05-24
@EXL

Not enough information.
Do you want to use the Ogre3D context in a Qt application? Or do you want to just use the Qt Creator IDE to write programs with the Ogre3D SDK and without any use of Qt itself?
As for the crash, most likely the libraries from the Ogre3D SDK that you downloaded and the objects in your application have a different ABI, hence the crash. For example, the Ogre3D SDK libraries are built using MinGW 4.6.2, and you are compiling the program with the compiler that comes with Qt 5.3.0, that is, using MinGW-w64 4.8.2. When linking, there will be no warnings, but the program will not start.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question