Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Qt installation

Qt installation

Anonymous
Not applicable
3,757 Views
31 Replies
Message 1 of 32

Qt installation

Anonymous
Not applicable

I am installing qt now.

 

I am using visual studio 2017 and 3ds max 2020.

 

under

https://help.autodesk.com/view/3DSMAX/2020/ENU/?guid=__developer_writing_plug_ins_using_qt_with_3ds_...

It says I need install Qt 5.11.2, but there is only 5.12.2

qt install.PNG

I installed 5.12.2 and I do not know how to using the $(QTVER) and $(QTDIR) macros

 

Thanks very much!

0 Likes
3,758 Views
31 Replies
Replies (31)
Message 21 of 32

Anonymous
Not applicable

Capture.PNG

Here is my qt setting, is there something wrong?

 

Thanks

0 Likes
Message 22 of 32

omidt_gh
Enthusiast
Enthusiast

you do not need to change anything in the path and other places thank makes it hard to find the issue.
after download and install qt 5.12, what you need to do is, just installing the Qt Tools for visual studio.
Before dining anything just undone any step you take and re-install the SDK to make sure you did not change any unnecessary thing.

Screenshot 2021-03-03 095818.jpg

After installing the Qt tools, go to Qt Options and add the qt version and the path of it that you need.
like this:

Screenshot 2021-03-03 095921.jpg

And that's all it takes. Do not forget to remove any change you made already.

0 Likes
Message 23 of 32

klvnk
Collaborator
Collaborator

If you need the correct version Autodesk should ship the library with the SDK anything else is just nonsense, which they seem to understand with python but not qt.

0 Likes
Message 24 of 32

omidt_gh
Enthusiast
Enthusiast

3d studio uses Qt with c++ mostly, i do not think they use qt and python can you point us at the documentation so we can check too.
The correct version is already available on the Autodesk website and can be download for all 3dsmax and maya ,etc.
Here is the link:
Qt Autodesk download Link 
Also if you prefer to build it your self you can try this link:
Autodesk Qt Fork 

0 Likes
Message 25 of 32

klvnk
Collaborator
Collaborator

LOL nonsense so why not ship the correct version with the SDK ? 

 

is it QT 4.8.6 patched or QT 4.8.7.... can't quite decide.

 

QT5.12 with configuration changes for Autodesk Licensing Manager(AdLM) 19.0.6

 

*Edited by Forum Admin

 

0 Likes
Message 26 of 32

omidt_gh
Enthusiast
Enthusiast

Dude chill out, it is simple every different version explains in SDK requirements.
If you remember i already told you if you can use MFC that's really better than always have many different versions of qt.
But if you want to use Qt is so easy.
I send you an image and it is just 2 simple steps to use it.
1- add Qt tools for visual studio
2- add qt version you want in option
That's all it takes. Finish.
Screenshot 2021-03-05 225934.jpg

Why you are not just using qt installer,
Screenshot 2021-03-05 231023.jpg
That i just selected. qt 5.12.5 msvc 2017 this is all you need. you can use it from 3smax 2019 to 2021 i test it do not worry it is completely compatible.
It doesn't need too much space and do not forget to check this as answer.

0 Likes
Message 27 of 32

klvnk
Collaborator
Collaborator

doesn't answer the question why don't these libraries ship with the sdk ? it's a simple question, it would make sense to ship the right version with the correct sdk would it not ? I don't want to use qt, I have no use for it, it was easier to modify the code so as not to have to use it. Just really curious why autodesk are doing it like this.

0 Likes
Message 28 of 32

omidt_gh
Enthusiast
Enthusiast

it is part of Qt and just free for opensource software not commercial when you ship a commercial package you can not add it to it, that's the obvious term of use that you can find on the Qt website it's not about Autodesk or any other company, it can be pack only with the opensource application, etc.

I hope that answers your question.

0 Likes
Message 29 of 32

istan
Advisor
Advisor

@klvnk wrote:

doesn't answer the question why don't these libraries ship with the sdk ? it's a simple question, it would make sense to ship the right version with the correct sdk would it not ? I don't want to use qt, I have no use for it, it was easier to modify the code so as not to have to use it. Just really curious why autodesk are doing it like this.


Honestly speaking, the point is not that AD does not pack Qt to their SDK, but they shall document the versions they use correctly. They also have to assure, that the version they use, is at least downloadable somewhere (for all three max versions back) and I also expect to find a download link in the documentation, for the case the original source is gone for some reason.

0 Likes
Message 30 of 32

omidt_gh
Enthusiast
Enthusiast

it is already documented, why this thread getting so strange. how they should be documented otherwise in documentation ????
medium.jpg
I'm not a big fan of Autodesk documentation but in this case, it's already there and i pointed multiple times.
What i did not answer here?
And the download links are Download link, also in official qt installer.
Any qt version 5.12.5 will work it doesn't matter it says Maya, max, or anything else they all same.
Please read all posts above, they are the same as inside the qt installer. the modified keyword means almost nothing here (mostly simplify).
Remember you can always use similar versions or have multiple versions, tried it and there is no issue with it.

0 Likes
Message 31 of 32

istan
Advisor
Advisor

Well.. Let's look for example to max2020:

The doc says qt 5.11 but max2020 SP3 uses already 5.12.

But 5.11 can't be downloaded from official sites anymore.

I also cannot find any reference to the AD modified source code in the doc.

For me it made a difference using 5.12 under max2020 sp2.

Btw: What does the doc say about using qt debug-dlls, stylesheets, tooltips, sub-dialogs, rollouts,..

0 Likes
Message 32 of 32

omidt_gh
Enthusiast
Enthusiast

That's what I'm trying to say it doesn't matter at all uses 5.12.5 for all version from 2019 to 2021. The debug parts of Qt, it's already there.
look there are tons of developers working with Qt and other SDK, the question is how many questions you can find about qt installation?
That means there are a few developers have such issue.
I'm a developer and told you you can use qt 5.12.5 as I'm already using it with actual plugins if you want to waste your time continue this conversation, be my quest.

 

0 Likes