qt - QCocoaColorPanelDelegate error while loading plugin in Maya 2013 -


i'm building plugin maya 2013 uses qt. have compiled , built gcc-4.8 , qt v4.7.1 , when load plugin maya, maya crashes , following errors:

objc[24831]: class qcocoacolorpaneldelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qmacsounddelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoapanel implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoaview implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoawindow implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoawindowdelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoamenuloader implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qnsapplication implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoaapplicationdelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoawindowcustomthemeframe implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoatoolbardelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoamenu implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qnsopensavepaneldelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoafontpaneldelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qnswindowproxy implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qnspanelproxy implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoapagelayoutdelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qcocoaprintpaneldelegate implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qnsmenu implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qnsstatusitem implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. objc[24831]: class qnsimageview implemented in both /applications/autodesk/maya2013/maya.app/contents/macos/qtgui , /library/frameworks/qtgui.framework/versions/4/qtgui. 1 of 2 used. 1 undefined. 

after lot of googling, realized problem caused having qt in path , loading 1 first causing both windows qt modules , maya qt modules loaded , should try ensuring maya’s path first picked proper qt.

is there way resolve issue?

i started plugin debugging. started removing qt_libraries linkages in cmake script , replaced them ones located in maya(they located in /applications/autodesk/maya2013/maya.app/contents/macos/). solved problem.

update : mac os specific. remember check same in other oses too.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -