Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

not displaying image in the window

$
0
0
the source code QPalette p = palette();         QPixmap pixmap1(":/new/prefix1/BG");           QDesktopWidget* desktopWidget = QApplication::desktop();         QRect rect = desktopWidget->availableGeometry();           QSize size(rect.width() , rect.height());         QPixmap pixmap(pixmap1.scaled(size));         p.setBrush(QPalette::Background,  pixmap);         setPalette(p); when the project is built in the output console it displays—QPixmap::scaled: Pixmap is a null pixmap

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>