Hello,
I use Qt 4.3.1 OpenSource Edition on Windows XP Pro SP2 32bits.
My application has an interface with a QLabel.
My objective is to post an image, also I display it in the QLabel using a QPixmap.
int hauteur_jaquette = (tree->height ()) /2; // 50% of the height of the interface
jaquette_pixmap.load (acces_jaquette); // Loading of the image in QPixmap
jaquette_pixmap = jaquette_pixmap.scaledToHeight (hauteur_jaquette, Qt:: SmoothTransformation); // Scaling the image
label_jaquette->setPixmap (jaquette_pixmap); // Posting of QPixmap (and thus of the image) in the QLabel of the interface
int hauteur_jaquette = (tree->height ()) /2; // 50% of the height of the interface
QPixmap jaquette_pixmap;
jaquette_pixmap.load (acces_jaquette); // Loading of the image in QPixmap
jaquette_pixmap = jaquette_pixmap.scaledToHeight (hauteur_jaquette, Qt:: SmoothTransformation); // Scaling the image
label_jaquette->setPixmap (jaquette_pixmap); // Posting of QPixmap (and thus of the image) in the QLabel of the interface
To copy to clipboard, switch view to plain text mode
That functions perfectly with the version OpenSource of Qt distribuated by Trolltech.
However, if I reconfigure Qt in static mode (configures static, make sub-src) and if I recompile my project, then the image is not displayed any more…
Would somebody have an idea, a council, a suggestion ?
Bookmarks