Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
CFUserNotificationDisplayAlert not working
borisa last edited by borisa
In my project i includes:
and i am trying to use the function CFUserNotificationDisplayAlert,
but the compiler throw error "Symbol(s) not found for architecture x86_64"
How can i fix this? (I am compile on OCX environment).
Are you linking your project to the CoreFoundation framework ?
borisa last edited by
Yes, I do.
Using the qtmacextras module doesn't mean that you are linking agains the CoreFoundation framework.
What if you add
LIBS += -framework CoreFoundation
to your .pro file ?