[SailfishDevel] Third party modules / header files

christopher.lamb at thurweb.ch christopher.lamb at thurweb.ch
Tue Nov 26 15:22:29 UTC 2013


Hi Sven

Zitat von "Putze Sven" <sailfish.os at hardcodes.de>:

> If my understanding of the official documentation is right, then the  
> home folder of my development machine (where QtCreator runs) is  
> shared with the VM. This way the compiler can access the source.
> But I want the other way around. Re-using header files already there  
> on the SDK machine (the headless one). Is there a drive mapped into  
> my home folder? And if yes, where?

Exactly how the build machine works is not my area of expertise, but I  
think it works the other way around: The header files are installed to  
your homedrive, and accessed from there by the SDK Build Engine:

If I search my host for files called .h, then I find large numbers in  
the folder below (or its subfolders)

/Users/christopherlamb/SailfishOSAlpha5/mersdk/targets/SailfishOS-i486-x86/usr/include/

e.g. qcamera.h in  
/Users/christopherlamb/SailfishOSAlpha5/mersdk/targets/SailfishOS-i486-x86/usr/include/qt5/QtMultimedia

One of the shared drives of the SDK VM is  
/Users/christopherlamb/SailfishOSAlpha5/mersdk/targets, so it will  
have access to the header files found above.

Chris



More information about the Devel mailing list