when i give this code
QPixmap b ("C:/Users/Desktop/image.png");
QRect rect(12,15,16,17);
QPainter painter(&b);
mySlider->drawSlider(b,rect);
i got an error.
cannot convert parameter 1 from 'QPixmap' to 'QPainter *
whats wrong
when i give this code
QPixmap b ("C:/Users/Desktop/image.png");
QRect rect(12,15,16,17);
QPainter painter(&b);
mySlider->drawSlider(b,rect);
i got an error.
cannot convert parameter 1 from 'QPixmap' to 'QPainter *
whats wrong
Bookmarks