[Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Settoken
I'm trying to compile *qtforms* which is one of the Qt example plugins provided by Autodesk with the Maya Devkit. It demonstrates 3 different ways to integrate Qt in a maya plugin. You can find it here: devkit plug-ins

Re: [Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Justin Israel
Are you using a compiler and Qt version that is compatible with Maya 2016? On Thu, 19 Nov 2015 5:12 AM Settoken wrote: > I'm trying to compile *qtforms* which is one of the Qt example plugins > provided by Autodesk with the Maya Devkit. It demonstrates 3 different ways > to

Re: [Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Settoken
Well I'm not sure about the compiler. I'm using the visual studio 2013 command prompt, QMAKESPEC is set on win32-msvc2010, and the Qt version is the 4.8.6 shipping with Maya2016 and the devkit. I've found this

Re: [Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Justin Israel
I don't know much about compiling on Windows, but that is telling you the required version of Visual Studio, for compatibility with Maya 2016. I know that when compiling Maya plugins, on Windows, you have to use the right msvc version to match the particular Maya. Aside from that, your error

Re: [Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Settoken
Unfortunately I've already tried to compile with VS2012. I just installed the update 4 to see if it helps but it doesn't. Here is the output: C:\Users\A\Documents\Visual Studio 2013\Projects\qtForms>nmake -f Makefile.qt re lease\qtForms.mll Microsoft (R) Program Maintenance Utility Version

Re: [Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Robert White
Maya 2016 on windows uses VS2012 not 2013. So you'll need to install the other compiler. I believe there is a way to tell VS2013 to use older compilers, but I'm not sure how on earth to go about doing that. Also if you don't want the entire VS2012 installation you should be able to use the

Re: [Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Settoken
According to this: http://stackoverflow.com/questions/6943865/visual-c-cant-find-windows-types-like-pvoid-dword-ulong-etc, I've given #include another try, this time including it before anything else in qtForms.h and it worked. Thank you for your help. Le jeudi 19 novembre 2015 04:03:03

Re: [Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Justin Israel
Ah cool. Glad that ended up sorting it out. Because I was out of suggestions :-) On Thu, Nov 19, 2015 at 4:53 PM Settoken wrote: > According to this: > http://stackoverflow.com/questions/6943865/visual-c-cant-find-windows-types-like-pvoid-dword-ulong-etc, > I've given

Re: [Maya-Python] Qmake: Error compiling qtforms from the Maya devkit [C++]

2015-11-18 Thread Settoken
Yes but no result. Le mercredi 18 novembre 2015 21:40:14 UTC+1, Justin Israel a écrit : > > I don't know much about compiling on Windows, but that is telling you the > required version of Visual Studio, for compatibility with Maya 2016. I know > that when compiling Maya plugins, on Windows,