newAct = new RGuiAction(tr("NewFile","&New"),this);
newAct->setRequiresDocument(false);
QString strIcon = tr("../Icon/NewFile.svg");
newGui->setIcon(strIcon);
there's no error when compiling, but linking, an unhandled exception happen, why?
set icon for menu,error
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
-
- Active Member
- Posts: 33
- Joined: Thu Jan 14, 2016 4:17 am
set icon for menu,error
- Attachments
-
- exception.png (163.31 KiB) Viewed 4123 times
-
- Active Member
- Posts: 33
- Joined: Thu Jan 14, 2016 4:17 am
Re: set icon for menu,error
problem is solved. variable is used by error.