Skip to content

Can't create a signal with a pointer to a parameter other than a "void *" #106

Description

@bookface

Maybe I'm doing something wrong, but creating a signal with a pointer parameter other than a "void *" causes an error in wobjectimpl.h.

void func(QOpenGLTexture *ptr) W_SIGNAL(func,ptr); fails.

But
void func(void *ptr) W_SIGNAL(func,ptr)
is fine (of course, it's necessary to cast the ptr when calling emit and connect()).

Is this a limitation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions