Missing QT includes from 2018 sdk

Missing QT includes from 2018 sdk

Anonymous
Not applicable
1,687 Views
5 Replies
Message 1 of 6

Missing QT includes from 2018 sdk

Anonymous
Not applicable

I'm converting my project from 2016 to 2018 and the current include of qt 5.6.1 (with the Maya install) is missing a bunch of includes (QLabel, QComboBox, ect) from the current QT libraries contained in the Maya directory (the libraries that come with the install) @C:\Program Files\Autodesk\Maya2018\include\qt-5.6.1_vc14-include.tar.gz

 

Would anyone know if these includes 'included' in the Maya 2018 SDK 'DevKit  (I can't download them from Autodesk App Store and Maya developer center it seems to be down). Or can I grab these missing includes from QT directly? If not do I have to convert all my libraries to work with 2018, (not looking forward to this)  

0 Likes
Accepted solutions (1)
1,688 Views
5 Replies
Replies (5)
Message 2 of 6

cheng_xi_li
Autodesk Support
Autodesk Support
Accepted solution

Hi,

 

If you are an ADN member, 2018 devkit is available at ADN Extranet now. It will come to App Store and Maya developer center later.

 

I did a quick search and I think they should be included in qt-5.6.1-include.zip.

 

Screen Shot 2017-08-15 at 10.03.30 AM.png

 

 

Yours,

Li

0 Likes
Message 3 of 6

Anonymous
Not applicable

I did a quick search and I think they should be included in qt-5.6.1-include.zip.

 

When you say they will be included you're referring to the Devkit? Thanks! 

0 Likes
Message 4 of 6

cheng_xi_li
Autodesk Support
Autodesk Support

Hi,

 

Yes, I mean the qt-5.6.1-include.tar.gz in Devkit.

 

image.png 

Yours,

Li

0 Likes
Message 5 of 6

SimonJWakley
Contributor
Contributor

I am trying to build an existing plug that works with 2014 and 2016 but the Qt include files seem to have moved and when I install the devkit and un tar the Qt the files are all lower case.  I know that's not an issue for windows but it surprised me.  Have the paths changes.  qdialog.h is now in qwidgets, but it used to be in qQtGui.

 

I can change my code with some #ifs but is this correct and why was it changed?

 

this happens with 2017 and will try 2018 soon

 

I could not find any DevKit examples using Qt with Visual Studio.  Does anyone know if there are samples and if so where?

 

Thanks,

Simon

0 Likes
Message 6 of 6

cheng_xi_li
Autodesk Support
Autodesk Support

Hi,

 

The path is changed after Maya using Qt5 instead of Qt4 after Maya 2017. Here is the porting guide from Qt's website.

 

There are several Qt samples in the devkit provided with Qt Project files(.pro). It requires qmake to generate makefiles for current platform like cmake.

 

Yours,

Li

0 Likes