Announcement

Collapse
No announcement yet.

version 5.1 - VRayInit fails on loadlibrary

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Hello Stan,

    Please find the attached image for comparison of Qt version.

    Shall I update Qt version for max? will that not spoil working max version?

    Regards,
    Gopi.
    Attached Files

    Comment


    • #17
      I think Qt is backwards compatible so yes, try updating the Qt version in 3ds max. But before that, if you don't need the GUI stuff, first just try to disable GUI in V-Ray by calling VRayInit(NULL, false);

      Comment


      • #18
        Ok, it seems changing 3ds max qt wouldn't work because they made custom changes

        Comment


        • #19
          Hi Stan,

          Calling this is not working. same issue.

          VRayInit(NULL, false);

          will try to update Qt in max and will update you.

          Regards,
          Gopi.

          Comment


          • #20
            oh, saw the message after replying.

            any other way to solve this issue ?

            vray plugin version 5.0 for max 2018 is working with existing qt. Is there anything will help from this in appsdk case?

            Comment


            • #21
              Can you ask Autodesk to provide an updated Qt version? Even if we give you an AppSDK built against an older Qt, it would be difficult to support with further updates.

              Comment


              • #22
                Hi Stan,

                Let me check with them.

                Regards,
                Gopi.

                Comment


                • #23
                  Hello Stan,

                  In continuation of this.

                  I tried upgrading our plugins to 3ds Max 2024. With that, I also tried to upgrade Vray version (6.0) also (with Max 2018, I used Vray 4.3, upgrade was not supported). But this time I am getting this error message on initializing Vray plugins.

                  Click image for larger version  Name:	image.png Views:	0 Size:	58.1 KB ID:	1188705

                  Max 2024 SDK is using 5.15.1 version of Qt.

                  We are using Qt for creating a toolbar in our Max plugin. If I remove all Qt related things in plugin code, then will Vray 6.0 will work or will throw same error?

                  Any suggestions?​

                  Regards,
                  Gopi.

                  Comment


                  • #24
                    You can try setting VRAY_VFB2_SKIP_QT_RUNTIME_CHECK=1 environment variable in the parent process or in the current process through the Win32 function before VRaySDKLibrary has been loaded or via the AppSDK function VRay::setEnvVar().

                    Comment


                    • #25
                      Hi Stan,

                      Thanks for the reply.

                      When I set this environment variable, then the error message gone and I was able to see the render. (Max 2024 and Vray 6.10).

                      Regards,
                      Gopi.​
                      Last edited by gopinath_c_1; 18-08-2023, 04:34 AM.

                      Comment

                      Working...
                      X