-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks Constantin, Bo and André,
it's working now.
And yes, it was not really a good question but that day I was a
little bit nervous because the end of my timeline was very near
already.
Den 13-01-2015 kl. 04:13 skrev Guenther Boelter:
I have a 'small' problem and my timeline is running so fast ...
How can I use QPointer as an argument? A simple
void myFunction( QPointer *myPointer )
{
// do something
}
myFunction( myPointer );
returns 'error: ‘QPointer’ is not a
Guenther Boelter schreef op 13-1-2015 om 04:13:
Sorrry,
I have a 'small' problem and my timeline is running so fast ...
How can I use QPointer as an argument? A simple
void myFunction( QPointer *myPointer )
{
// do something
}
myFunction( myPointer );
returns 'error:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorrry,
I have a 'small' problem and my timeline is running so fast ...
How can I use QPointer as an argument? A simple
void myFunction( QPointer *myPointer )
{
// do something
}
myFunction( myPointer );
returns 'error: ‘QPointer’ is not a
QPointer is a template class and therefore can't be used by itself, i.e.
without specifying the template parameter.
In your case you should either:
1) specify a particular QObject-related class in the
declaration/definition of myFunction(), e.g.
void myFunction (QPointerQWidget* myPointer)