Compile Qt For Maya 2011 c++ library in MacOS & Linux?

Compile Qt For Maya 2011 c++ library in MacOS & Linux?

Anonymous
Not applicable
991 Views
7 Replies
Message 1 of 8

Compile Qt For Maya 2011 c++ library in MacOS & Linux?

Anonymous
Not applicable

Hi guys, am using Qt library for maya to develop c++ plugins. Everything goes well in  Windows, I have compiled Qt for Maya2011~2015 successfully and they works well, but I encountered serious problems under Linux & MacOS:

 

1: I can't find the modified Qt library for Maya 2011 to compile in MacOS/Linux, I downloaded qt-4.5.3-for_maya2011.zip, but it is only for windows and don't have a configure executable but only a configure.exe. I download Qt 4.5.3 generic library and found that .so plugins compiled under it will crash maya, since maya use modified Qt library.

Does anyone has the modified qt library for Maya 2011 for Linux & MacOS?

 

2. Difficulty in compiling qt library in MacOS.  

In MacOS I found that the compile of Qt library need OSX SDK seriously. But XCode in the os has been updated and the old osx sdk are no longer availabe. How you guys work around this?

 

Miguel

0 Likes
992 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable

check the  /Applications/Autodesk/maya2011/Maya.app/Contents/MacOS  there should be QtCore, QtGui, QtOpenGL, QtSvg and QtXml libs

0 Likes
Message 3 of 8

Anonymous
Not applicable
Thanks so much for the reply 🙂
So where can I find the headers? and how can the QtCreator utilize all these?

0 Likes
Message 4 of 8

Anonymous
Not applicable

use heaers from official Qt you downloaded

0 Likes
Message 5 of 8

Anonymous
Not applicable

Still no luck...

Anyway, am using Qt-Creator as IDE and when I tried to setup a kit based on Maya's own dll and include files, it is unable to build. 

Did you mean using VS/XCode as IDE or just using the command line ?

Thanks beforehand.

0 Likes
Message 6 of 8

Anonymous
Not applicable
Did you mean use the headers from windows version Maya2011 modified qt library, or the generic qt 4.5.3 library?
0 Likes
Message 7 of 8

Anonymous
Not applicable
with link to qt libs from maya,k I used the headers from windows version Maya2011 modified qt library, this won't compile... if I use generic qt 4.5.3 standard headers, it makes me .so files, but still very tend to crash, which works well in 2012 linux and maya 2011 windows.
0 Likes
Message 8 of 8

Anonymous
Not applicable

you may use libs supplied with maya and headers of correspondent Qt version downloaded form official site

0 Likes