Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Assimp isn't available
QtWS25 Last Chance

Assimp isn't available

Scheduled Pinned Locked Moved Unsolved Game Development
qt 5.7qt3d
3 Posts 3 Posters 1.5k Views
  • 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.
  • B Offline
    B Offline
    BHeaney
    wrote on 18 Jul 2016, 16:00 last edited by A Former User 8 Jul 2016, 12:44
    #1

    I'm trying to use Qt3D Assimp module to import 3D models with Qt5.7. Following the man page, I added the following to my .pro file
    QT += 3drender

    but #include <AssimpIO> resulted in a "file not found" compiler error.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      njbrown
      wrote on 7 Aug 2016, 03:39 last edited by
      #2

      Because it's not a part of the public api

      https://github.com/qt/qt3d/blob/721ea2d2a323da63163fb086d8c10829a8415ad5/src/plugins/sceneparsers/assimp/assimpio.h#L43

      //
      //  W A R N I N G
      //  -------------
      //
      // This file is not part of the Qt API.  It exists for the convenience
      // of other Qt classes.  This header file may change from version to
      // version without notice, or even be removed.
      //
      // We mean it.
      //
      

      use QMesh for loading models instead

      1 Reply Last reply
      1
      • P Offline
        P Offline
        Poorti
        wrote on 6 Sept 2016, 08:42 last edited by
        #3

        Yes, assimp is no longer part of the public api, but its sample is present in the qt 5.7 source files.
        You can look at it to see how they are using it in the latest version.

        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