It does require some hacking it seems. libopenspotify is made after APIv4 specs and libspotify uses v7, and it doesn't support 96kbps. With some hacking I managed to compile qspot against libspotify but I didn't get it to actually work. If run as root it jammed at "connected to AP:" and if run as user it segfaulted. It was most likely my ugly hacks that caused the issues though. I had some warnings. Aside from changeing #include <spotify/api.h> to #include <libspotify/api.h> and the .pro file, the main problems were the session bits that mostly return void in v7 where they kindly returned sp_error in v4. I just put whatever_error = SP_ERROR_OK; sp_session_something() instead of whatever_error = sp_session_something() Also, turns out sp_session_init is now sp_session_create. Code: #if SPOTIFY_API_VERSION > 4 sp_session_create(&m_config, &m_session); #else sp_session_init(&m_config, &m_session); #endif worked for that. But as I said, it didn't actually work. But it compiled. Now zzz.
#if SPOTIFY_API_VERSION > 4 sp_session_create(&m_config, &m_session); #else sp_session_init(&m_config, &m_session); #endif