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

Not applicable
04-10-2020
10:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.