c++ - I'm having issues getting the qwt widget to work correctly with Qt-Creator -
i'm having issues getting qwt 6.1.0 work correctly qt-creator 5.1.0. works correctly when launch stand alone version of qt-designer , compiles , runs correctly when use qt-creator. designer built qt-creator not display qwt widgets correctly on forms nor give me option add new qwt widgets.
i'm using qt creator 5.1.0 windows 64-bit (vs2012 opengl). i've downloaded , compiled qwt 6.1.0 aforementioned qt-creator, opening qwt.pro file , compiling it. once compiled used 'nmake' , 'nmake install' commands visual studio command prompt directed in qwt instructions (http://qwt.sourceforge.net/qwtinstall.html). copied qwt_designer_plugin.dll c:\qt\qt5.1.0\tools\qtcreator\bin\plugins\designer\ , c:\qt\qt5.1.0\5.1.0\msvc2012_64_opengl\plugins\designer\ directories.
does have suggestions? can manually launch qt-designer , compile qt-creator, kind of annoying have switch , forth , not able use designer bundled qt-creator.
edit #1: i've set path environment variable c:\qwt-6.1.0\lib\ instructed in qwt installation documenation. additionally i've set following in qt project file (.pro) i'm testing with:
config += qwt includepath += c:\qwt-6.1.0\include\ libs += c:\qwt-6.1.0\lib\
the reason might on compatibility of qtcreator the actual qt framework built qwt against.
the qt 5.1.1 windows 64-bit (vs 2012, opengl, 522 mb) package provided in qt-project.org/download has qt libraries built against msvcr110 (c++ 2012) 64 bits actual qtcreator.exe built against mscvr100 (c++ 2010). that's why qwt plugin load form stand-alone qt designer comes in qt framework, not on qt creator comes in tools/ directory. check this, load qtcreator executable in dependency walker , you'll see.
my recommendation download source code of qt, build compiler , compile qwt using same compiler. bit tedious @ least you'll sure plugins load.
Comments
Post a Comment