[solved] Trying to link Irrlicht 1.73 to a project in QT Creator.
-
I am using mingw as my compiler, not the one that comes with the current SDK, I'm using 4.62.
Irrlicht uses .dll and .a file for linking. How can I get this into QT project, I'm using .pro if that matters.
I tried right clicking the project and clicking add library, it doesn't let me select .a files?
found my answer
INCLUDEPATH += C:\SkyDrive\irrlicht173\include
LIBS += -LC:\SkyDrive\irrlicht173\lib\Win32-gcc -lIrrlicht.dll -
I just wanted to add that the line
LIBS += -LC:\SkyDrive\irrlicht173\lib\Win32-gcc -lIrrlicht.dll
the last part is -lIrrlicht.dll
even though the actuall file is called
libIrrlicht.dll.a
the added lib and .a are gcc/linux thing. -
pwnstar23,
Have you figured this out yet?
I am working on a project and the pieces where developed in QT but I believe I will also need the service of a 3D terrain engine...Irrlicht, Ogre, Lillith researching them all.
Any input would be appreciated.
Bill -
Hi, ~pwnstar23!
Use Qt instead of QuickTime (QT), please.
-
[quote author="whtemple1959" date="1353745921"]pwnstar23,
Have you figured this out yet?
I am working on a project and the pieces where developed in QT but I believe I will also need the service of a 3D terrain engine...Irrlicht, Ogre, Lillith researching them all.
Any input would be appreciated.
Bill[/quote]
Yes the problem was that I didn't understand that it automatically added a prefix and a suffix to the lib name.It's been months since I did it, but I think it was lib"filename".a for the gcc compiler.