c++ - Error deploying QT project with Qwt -


i'm deploying qt project windows machine , worked fine. yesterday add qwt library project , when deploy executable won't start giving error (on qtcreator works fine)

the procedure entry point ?staticmetaobject@qgraphicseffect@@2uqmetaobject@@b not located in dynamic link library qt5widgets.dll

i think included needed library.

i've tried use windeployqt,

i've included

defines += qwt_dll

on top of .pro file read here still give me error. maybe miss dependent dll. have idea on how resolve this?

i had same issue. couldn't understand dependency walker, working apps showed missing dlls.

i used qwt in program , compiled in qt 5.5 msvc2013 32bit on 64bit windows 10. after changing 'qt' folder name 'qthidden', sugested here, attempted application run dlls in same folder , getting weird error qwt you, althouth had added qwt.dll.

to working did following:

  1. copied dlls in qthidden/5.5/mingw492_32/bin deploying folder
  2. i copied folders in qthidden/5.5/mingw492_32/plugins
  3. copied folders in qthidden/5.5/mingw492_32/qml

    // pretty standard untill now

  4. added qwt.dll

    // trick

  5. performed steps 1,2,3 folder qthidden/5.5/msvc2013, overwriting dlls , folders added /mingw492_32.

so, believe happening dlls mingw needed, libgcc_s_dw2-1.dll , libstdc++-6.dll, other dlls need come msvc2013 folder qwt work, wich compiler used.

i managed run in windows xp 32bit after adding msvcp120.dll , msvcr120.dll. still needed ones because msvc2013 wasn't installed in windows xp computer.

compiled in windows 10 resources , ran on windows xp. i'd call success.

hope helps else.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -