no jpeg

Stefan Petersen stefan at st-petersen.de
Sat Nov 2 15:02:46 GMT 2002


Hi,

to get closer to the problem, I have made a small program with kdevelop.
This I have taken from the Trolltech mailing list.


  KApplication app;

  QPushButton hello(0);
  hello.resize( 200,130);
//  hello.setPixmap(QPixmap("/opt/kde/share/wallpapers/kde_box.png"));   
// <---displayed ok
  hello.setPixmap(QPixmap("/opt/kde/share/wallpapers/only_k.jpg"));
// displayed not ok 
  app.setMainWidget( &hello );
  hello.show();
  return app.exec();

Stefan



___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list