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
Forum Updated to NodeBB v4.3 + New Features

Assimp isn't available

Scheduled Pinned Locked Moved Unsolved Game Development
qt 5.7qt3d
3 Posts 3 Posters 1.6k 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 last edited by A Former User
    #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
    • njbrownN Offline
      njbrownN Offline
      njbrown
      wrote on 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
      • PoortiP Offline
        PoortiP Offline
        Poorti
        wrote on 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