Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved] Trying to link Irrlicht 1.73 to a project in QT Creator.
Forum Updated to NodeBB v4.3 + New Features

[solved] Trying to link Irrlicht 1.73 to a project in QT Creator.

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 3.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pwnstar23
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pwnstar23
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        whtemple1959
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tucnak
          wrote on last edited by
          #4

          Hi, ~pwnstar23!

          Use Qt instead of QuickTime (QT), please.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pwnstar23
            wrote on last edited by
            #5

            [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.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved