-
Notifications
You must be signed in to change notification settings - Fork 47
Installation
Before you start compiling the library from source code you need to check some prerequisites.
To compile QtDropbox you need to have the Qt C++ Framework installed on your system (astonishing, isn't it?). QtDropbox is compatible to any Qt version from Qt 4.7 onwards excluding Qt5. Some Linux/UNIX distributions provide packages (e.g. libqt4-dev) for installation. When using KDE as desktop environment you will notice that the Qt framework may be already installed on your system.
When using windows - or any other OS that does not provide the according package - you can download the latest Qt4 release from the website of the Qt Project.
Another requirement is to have doxygen installed in your system. This is only necessary if you wish to create the library documentation from source though.
The best way to get QtDropbox up and running is to build the library from source.
This project uses the Qt Framework for almost all tasks and so we are using qmake as Makefile generator. Hence the compilation is done in three steps:
qmake
make
make install
qmake
creates a Makefile for your platform based on the project file (qtdropbox.pro
). So this command works similar to the known configure
step during software installation. The second step make
builds the binaries.
The third step does not copy the generated binaries to your library folder but packages the library binaries together with the necessary header files into a directory called lib
. So the final step collects all the files you need to integrate QtDropbox with your projects in one single directory.