Bonjour à tous,
Je bute actuellement sur une erreur de compilation.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
AfficheImage::AfficheImage(QWidget *parent):QWidget(parent)
{
    m_Label = new QLabel(this);
    showLabel();
}
L'erreur
F:\Programmation\AffichageImage-build-desktop\..\AffichageImage\AfficheImage.cpp:7: erreur : no match for 'operator=' in '((AfficheImage*)this)->AfficheImage::m_Label = (QFlags<Qt::WindowType>(0u), (operator new(20u), (<statement>, ((QLabel*)<anonymous>))))'
et
c:\Develop\Qt\Desktop\Qt\4.7.3\mingw\include\QtGui\qlabel.h:165: candidates are: QLabel& QLabel::operator=(const QLabel&)

Merci d'avance