3ds Max: Setting up a plug-in project to use QT

3ds Max: Setting up a plug-in project to use QT

Starting in 3ds Max 2017, Qt became an integral part of the application UI. Plug-in developers can now leverage Qt to create compelling UIs for their own Max projects. Although the SDK provides exposure for customized 3ds Max-specific widgets, getting a project up and running in Visual Studio requires you to jump through a few hoops.

Below we have outlined what you need to do to get up and running.

The basic requirements are:

  • 3ds Max 2018 SDK
  • Visual Studio 2015
    • + the 3ds Max Plug-in Wizard
    • + the Qt VS Tools extension
  • Qt 5.6.2, specifically the msvc2015_64 tools and

To set up your project:

  1. Create a new 3ds Max Plug-in project using the
    plug-in wizard.  This will set up property sheets and paths, and give you some skeleton plug-in code.

  2. Hack the .vcxproj file, adding this element to
    the <PropertyGroup Label=”Globals”> element:


    This associates the project with the Qt VS Tools extension. Ideally, the 3ds Max Plug-in Wizard would do this for you, but it doesn’t (yet).

  3. Reload your project in Visual Studio (it should prompt you to reload, click yes).  You can now select: Qt VS Tools > Convert
    Project to Qt VS Tools Project

  4. Select Qt VS Tools > Qt Options, and on the Qt Versions tab, ensure that you have a Qt version pointing at your installation of Qt 5.6. 

  5. Select Qt VS Tools > Qt Project Settings, and on the Qt Modules tab check Core,
    GUI, and Widgets, which is the minimum you need. You can include other Qt modules for additional functionality, as Qt provides a lot more than just a UI toolkit.

Almost done!
Under the project’s settings, under Configuration Properties > C/C++ > General > Additional Include Directories, add $(QtInc). Under Configuration Properties > Linker > General > Additional Library Directories, add $(QtLib).
These are required because the Qt VS Tools and Max SDK organize Qt directory paths slightly differently.

You should be able to now compile your empty 3ds Max Plug-in to confirm that everything is set up properly, though it won’t do anything.

Have any other enquiries about 3DS Max? Want to get the latest version of 3DS Max? Don’t hesitate to contact our technical support team or sales team by clicking HERE


Taking MEP Design to the Next Level

07 September 2023

Software solutions like Autodesk's Revit MEP have transformed the industry by providing robust tools for Mechanical, Electrical, and Plumbing (MEP) professionals. Nevertheless, the path from good to exceptional often involves fine-tuning, and this is where Naviate MEP enters the equation. In this blog, we'll delve into the synergy between Revit MEP and Naviate MEP, showcasing how Naviate MEP takes the capabilities of Revit MEP to new heights, empowering MEP experts to elevate their designs and workflows to an exceptional level.

Learn more

Bluebeam Revu explored in detail: One team, one goal, one source of truth

10 August 2023

Unlocking Efficiency and Precision: Dive into Bluebeam Revu's Comprehensive Features. Discover how Bluebeam Revu empowers professionals with its advanced tools for PDF creation, markup, collaboration, and project management. From customisable markups to real-time collaboration, explore how this industry-leading software streamlines workflows and enhances productivity. Read on to uncover a detailed exploration of Bluebeam Revu's capabilities and how it revolutionises the way you work

Learn more