Overview
--------
Maya uses a customized version of Nokia's Qt libraries. If you want to
write Maya plug-ins which also make use of Qt you will have to build Qt
from the modified source files provided in this directory and link your
plug-ins against those libraries.
cd qt-adsk-4.8.5
OpenSSL
-------
Configure
---------
To avoid problems with differences in compiler versions between Maya and
Qt, Qt should be built with the same versions of the compilers as are used
for building Maya plug-ins. Refer to the Maya API Guide for instructions on
how to set them up.
ln -s /opt/gcc412/bin/gcc412 /usr/bin/gcc410
ln -s /opt/gcc412/bin/g++412 /usr/bin/g++410
Once the compilers are properly set up, configure the Qt build using the
following command:
Build
-----
Build the binaries using the following command:
The '-j' flag instructs 'make' to use multiple processes, which can speed
up the build on multicore systems. For optimal results the value after '-j'
should be roughly double the number of cores on your system.
Install
-------
To perform the installation, make yourself superuser then execute the
following command:
make install
The directory where you expanded the archive is no longer needed and may be
deleted if you wish to free up the space.
which qmake
If you didn't change the install location for Qt then you should get back
the following:
/usr/local/Trolltech/Qt-4.8.5/bin/qmake
1) Copy Maya's devkit/plug-ins directory to some place where you have write
privileges. E.g:
cp -r /usr/autodesk/maya2014-x64/devkit/plug-ins ~/myPlugins
cd ~/myPlugins
make -f Makefile.qt
that means that the 'qmake' command could not be found in your path.