[PySide] qclipboardevent_wrapper : constructor is missing ?

Guillaume Baty guillaume.baty at andheo.fr
Wed Jul 18 12:49:29 CEST 2012


Hi,

I tried to build last pyside version  (git clone 
git://gitorious.org/pyside today)
But I got this error :

In file included from 
.../PySide/QtGui/PySide/QtGui/qclipboardevent_wrapper.cpp:38:
.../PySide/QtGui/PySide/QtGui/qclipboardevent_wrapper.h:34: error: base 
`QClipboardEvent' with only non-default constructor in class without a 
constructor

Adding a simple constructor calling parent class "fixes" building error.

Constructor used :

QClipboardEventWrapper::QClipboardEventWrapper(QEventPrivate *data) : 
QClipboardEvent(data) {
}

Is this naive fix really solve the problem ?
Is there a reason why this problem happens only on this class ?

Thank you very much for your answers,
Sincerly,

Guillaume B.

Config:
Linux RHEL 4 (Red Hat 4.1.2-14)
Python2.7.2
Qt4.7.3
cmake2.8.2
gcc (GCC) 4.1.2

-- 
ANDHEO
Guillaume Baty - Engineer
01 46 73 43 69
www.andheo.fr

Conditions d'utilisation des courriels envoyés par andheo : Les informations contenues dans ce courriel, ainsi que ses pièces jointes, concernent uniquement le destinataire et l'objet indiqués. Elles sont confidentielles. andheo décline toute responsabilité au cas où ce courrier ou les informations contenues seraient déformées, modifiées, falsifiées ou utilisées indûment par un tiers. Ce courrier n'a pas le caractère d'un engagement commercial ou financier définitif de la part d'andheo.

#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#





More information about the PySide mailing list