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.

problem with import qrc(or rcc) in 3dsmax plug-in

problem with import qrc(or rcc) in 3dsmax plug-in

Anonymous
Not applicable
535 Views
0 Replies
Message 1 of 1

problem with import qrc(or rcc) in 3dsmax plug-in

Anonymous
Not applicable

maxSDK2019+VS2015,Window 10

    i'm creating a 3dsmax plug-in.i created a GUP with wizard and added a menu to 3dsmax.after i made a interface with qt creator,added all cpps,headers,moc,ui_xxx.h in my vs project.i find that i can't load my qrc file(have icons,pictures and qss).i use qss file to control images for all widgets.i tried to use QResource::registerResource to register rcc file and then use resources by ":/qss/xxxx",but it dosen't work.it register my rcc file successfully,but when it gose to qssFile.isOpen(),return is false.

    am i wrong with import qrc file?i'd like to know how to import and use qrc file correctly,thank you.

0 Likes
536 Views
0 Replies
Replies (0)