Hi, I ported qt3 code to qt4, but this error happens when I make the code.
####code
setIcon(QPixmap::fromMimeSource("document.png"));
####
and it returns...
editor.cpp: In constructor 'Editor::Editor(QWidget*, const char*)':
editor.cpp:38: error: 'qPixmapFromMimeSource' is not a member of 'QPixmap'
What is wrong and what should I do ?
Thanks in advance.
Bookmarks