-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
37 lines (25 loc) · 1.05 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
You need to download libspotify 12 for ARM to be able to compile and create the .deb package.
Get it here: http://developer.spotify.com/en/libspotify/overview/
Extract the content of the tarball inside 'libspotify' at the root of the project.
The resulting hierarchy should be:
libspotify/
include/
libspotify/
api.h
lib/
libspotify.so
libspotify.so.12
----
You also need your own libspotify API key to be able to compile and run the program
(see https://developer.spotify.com/en/libspotify/application-key/)
Create the file spotify_key.h inside libQtSpotify and copy the provided key inside it
using the following format:
#ifndef SPOTIFY_KEY_H
#define SPOTIFY_KEY_H
const uint8_t g_appkey[] = { 0x00, 0x00, ..., ... };
const size_t g_appkey_size = sizeof(g_appkey);
#endif // SPOTIFY_KEY_H
----
To compile the project, use the Qt SDK (version 1.1 or higher) with the Harmattan component
installed from the Qt SDK maintenance tool.
--> Open the project in Qt Creator, compile and deploy on the device!