[vlc-devel] How to share a variable between qt4 ui (c++) and playlist thread (c)
fayyazkl at gmail.com
Wed Jan 9 10:28:28 CET 2013
I am using vlc as a sub component in an application and have a UI screen in
the qt4 dialogs which needs to pass a c string to the playlist thread.
If i try placing it in some common header file, i get compilation errors of
If i create the c string in the playlist thread file, and use an extern to
access it in qt gui, i get to compile successfully. But it fails to load UI
by saying "no suitable dialog found to load" (just removing this shared
field or making it static i.e. local to file / class runs the UI fine.
What is the correct way of sharing data between the two?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel