Results 1 to 6 of 6

Thread: Model loading

  1. #1
    Join Date
    Feb 2010
    Posts
    7
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Model loading

    Hey,

    is there any way to load a graphic model using QT without using any external libs?

    Thank you in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Model loading

    Please define "graphic model".
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2010
    Posts
    7
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Model loading

    sorry for misunderstading, i meant 3d model formats such as .3ds, . mdl

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Model loading

    Qt, out of the box, does not have that capability.

    You could try with opengl, but I don't think it has that capability either.

  5. #5
    Join Date
    Oct 2009
    Posts
    151
    Thanks
    6
    Thanked 13 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Model loading

    Got to keep the loonies on the path ...

  6. #6
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Angry Re: Model loading

    I loaded the framework qt3d and try to compile it under windows 7, qt 4.6 Visual Studio 2008.

    0. cd qt3d
    1. qmake opengl.pro
    2.1. nmake from command Promp Qt 4.6.2 => error
    2.2. nmake fromVisual Studio 2008 Command Promp with qt2008 plug-in => same error

    -> error:
    Creating library ..\lib\Qt3Dd.lib and object ..\lib\Qt3Dd.exp
    qglblendoptions.obj : error LNK2019: unresolved external symbol "public: void __
    thiscall QGLContextResource::insert(class QGLContext const *,void *)" (?insert@Q
    GLContextResource@@QAEXPBVQGLContext@@PAX@Z) referenced in function "class QGLBl
    endExtensions * __cdecl resolveBlendExtensions(class QGLContext const *)" (?reso
    lveBlendExtensions@@YAPAVQGLBlendExtensions@@PBVQG LContext@@@Z)
    qglpainter.obj : error LNK2001: unresolved external symbol "public: void __thisc
    all QGLContextResource::insert(class QGLContext const *,void *)" (?insert@QGLCon
    textResource@@QAEXPBVQGLContext@@PAX@Z)
    qgltextureutils.obj : error LNK2001: unresolved external symbol "public: void __
    thiscall QGLContextResource::insert(class QGLContext const *,void *)" (?insert@Q
    GLContextResource@@QAEXPBVQGLContext@@PAX@Z)
    qglbuffer.obj : error LNK2001: unresolved external symbol "public: void __thisca
    ll QGLContextResource::insert(class QGLContext const *,void *)" (?insert@QGLCont
    extResource@@QAEXPBVQGLContext@@PAX@Z)
    qglblendoptions.obj : error LNK2019: unresolved external symbol "public: void *
    __thiscall QGLContextResource::value(class QGLContext const *)" (?value@QGLConte
    xtResource@@QAEPAXPBVQGLContext@@@Z) referenced in function "class QGLBlendExten
    sions * __cdecl resolveBlendExtensions(class QGLContext const *)" (?resolveBlend
    Extensions@@YAPAVQGLBlendExtensions@@PBVQGLContext @@@Z)
    qglpainter.obj : error LNK2001: unresolved external symbol "public: void * __thi
    scall QGLContextResource::value(class QGLContext const *)" (?value@QGLContextRes
    ource@@QAEPAXPBVQGLContext@@@Z)
    qgltextureutils.obj : error LNK2001: unresolved external symbol "public: void *
    __thiscall QGLContextResource::value(class QGLContext const *)" (?value@QGLConte
    xtResource@@QAEPAXPBVQGLContext@@@Z)
    qglbuffer.obj : error LNK2001: unresolved external symbol "public: void * __this
    call QGLContextResource::value(class QGLContext const *)" (?value@QGLContextReso
    urce@@QAEPAXPBVQGLContext@@@Z)
    qglblendoptions.obj : error LNK2019: unresolved external symbol "public: __thisc
    all QGLContextResource::QGLContextResource(void (__cdecl*)(void *))" (??0QGLCont
    extResource@@QAE@P6AXPAX@Z@Z) referenced in function "class QGLContextResource *
    __cdecl qt_blend_funcs(void)" (?qt_blend_funcs@@YAPAVQGLContextResource@@XZ)
    qglpainter.obj : error LNK2001: unresolved external symbol "public: __thiscall Q
    GLContextResource::QGLContextResource(void (__cdecl*)(void *))" (??0QGLContextRe
    source@@QAE@P6AXPAX@Z@Z)
    qgltextureutils.obj : error LNK2001: unresolved external symbol "public: __thisc
    all QGLContextResource::QGLContextResource(void (__cdecl*)(void *))" (??0QGLCont
    extResource@@QAE@P6AXPAX@Z@Z)
    qglbuffer.obj : error LNK2001: unresolved external symbol "public: __thiscall QG
    LContextResource::QGLContextResource(void (__cdecl*)(void *))" (??0QGLContextRes
    ource@@QAE@P6AXPAX@Z@Z)
    qglblendoptions.obj : error LNK2019: unresolved external symbol "public: __thisc
    all QGLContextResource::~QGLContextResource(void)" (??1QGLContextResource@@QAE@X
    Z) referenced in function "public: void * __thiscall QGLContextResource::`scalar
    deleting destructor'(unsigned int)" (??_GQGLContextResource@@QAEPAXI@Z)
    qglpainter.obj : error LNK2001: unresolved external symbol "public: __thiscall Q
    GLContextResource::~QGLContextResource(void)" (??1QGLContextResource@@QAE@XZ)
    qgltextureutils.obj : error LNK2001: unresolved external symbol "public: __thisc
    all QGLContextResource::~QGLContextResource(void)" (??1QGLContextResource@@QAE@X
    Z)
    qglbuffer.obj : error LNK2001: unresolved external symbol "public: __thiscall QG
    LContextResource::~QGLContextResource(void)" (??1QGLContextResource@@QAE@XZ)
    ..\lib\Qt3Dd.dll : fatal error LNK1120: 4 unresolved externals
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \link.EXE"' : return code '0x460'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    Could somebody help me? I need to import 3ds-files.

Similar Threads

  1. Replies: 0
    Last Post: 21st April 2010, 12:23
  2. Replies: 1
    Last Post: 1st February 2010, 18:42
  3. Loading a DLL using Qt
    By srohit24 in forum Qt Programming
    Replies: 6
    Last Post: 25th February 2009, 00:27
  4. QSql Model-View: How to keep view in sync with model
    By schall_l in forum Qt Programming
    Replies: 1
    Last Post: 22nd December 2008, 23:31
  5. Loading SVG icons
    By user_mail07 in forum Qt Programming
    Replies: 2
    Last Post: 28th June 2007, 04:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.