Build /compile hoops visualize on windows with QT 5.12.12

I am trying to learn how to build visualize on windows with qt 5.12 i am seeing about about 900 errors of the form

variable [somevar] was not declared in scope

What am i missing?

it seems related to this

#ifdef _MSC_VER
        HPS_INLINE static Order Preferred_Order() { return Order_BGRA; }

        unsigned char b, g, r, a;
#endif

#ifdef __linux__
        HPS_INLINE static Order Preferred_Order() { return Order_RGBA; }

        unsigned char r, g, b, a;
#endif

#ifdef __APPLE_CC__
        HPS_INLINE static Order Preferred_Order() { return Order_RGBA; }

        unsigned char r, g, b, a;
#endif
    };

Hello @michael,

You should be able to just load the hps_qt_sandbox.pro file found in HOOPS_Visualize_2025.8.0\samples\qt_sandbox in Qt Creator, choose the kit to be used for the project, build and run. As a quick test, this is what I get:

Can you provide more information on your build?

Thanks,
Tino