Hello everyone!
I want to connect Ogre3D with Qt. But the article on the site is written not correctly. Qt Creator shows compilation error that isn't found user32.lib.
How can I connect Ogre? Maybe there are other articles?
I'm using Qt Creator 5.2.1 with MinGW compiler without VS add-ons.
Ogre3D + Qt
-
- Gremlin
- Posts: 164
- Joined: Sun Apr 14, 2013 8:51 pm
- x 10
Re: Ogre3D + Qt
Did you tried this code?:
https://bitbucket.org/MindCalamity/qtogre
I'm sure you're using a dated implementation of an Qt-Ogre integration.
https://bitbucket.org/MindCalamity/qtogre
I'm sure you're using a dated implementation of an Qt-Ogre integration.
-
- Gnoblar
- Posts: 8
- Joined: Mon May 12, 2014 5:57 pm
Re: Ogre3D + Qt
Hello. I don't use this integration.hydexon wrote:Did you tried this code?:
https://bitbucket.org/MindCalamity/qtogre
I'm sure you're using a dated implementation of an Qt-Ogre integration.
I used the instructions that are given on the official website (see first post).
-
- Gremlin
- Posts: 164
- Joined: Sun Apr 14, 2013 8:51 pm
- x 10
Re: Ogre3D + Qt
Sorry i didn't see that, but you shouldn't link the user32.lib, i've tested Qt 5 + Ogre3D integration easliy using Qt Creator and without linking that library and that articles is quite old (Uses Qt 4.7) so try to use the code in my prev post, works for me
-
- Gnoblar
- Posts: 8
- Joined: Mon May 12, 2014 5:57 pm
Re: Ogre3D + Qt
So, I used code from prev website, but Qt gave a new error: cannot find -llibboost_system-mgw47-mt-d-1_51.
I know: this is static library *.a from boost/lib. Qt doesn't want to link this libraries.
I know: this is static library *.a from boost/lib. Qt doesn't want to link this libraries.
-
- Gnoblar
- Posts: 8
- Joined: Mon May 12, 2014 5:57 pm
Re: Ogre3D + Qt
Bit changed the code in *.pro-file:
So, the program is compiled! But it doesn't start; in console is written: "The program has unexpectedly finished".
What's wrong?
Code: Select all
LIBS += -L$$quote(E:\Programms\Ogre_MinGW\OgreSDK_MinGW_v1-8-1\boost\lib) \
-llibboost_system-mgw47-mt-d-1_51.a
What's wrong?