[SailfishDevel] Harmattan to Sailfish Migration: QCamera not found
Aurindam Jana
mail at aurindamjana.in
Sun Apr 7 19:46:37 UTC 2013
Hi,
This is because the qt-mobility-devel package is not installed in the target that is shipped with the SDK.
However, you can install it via the SDK Control Center.
Start the MerSDK VM. In Qt Creator, go to SailfishOS Mode (the sailfish icon on the left panel between Projects and Analyze). This is the SDK Control Center. You should see a page where you can configure targets.
Instead if you see the message, "The SDK VM is not responding...", then from the Menu go to Tools->External->SailfishOS->Launch the MerSDK. Once the MerSDK VM is running, click on the sailfish icon next to "about:blank", you should now see a page where you can configure targets.
Click on "Manage" next to SailfishOS-i486-x86 and you will see a list of packages for the target. Scroll down to qt-mobility-devel and hit install.
Regards,
Aurindam
IRC: auri__ @ freenode
www.aurindamjana.in
On Sunday, April 7, 2013 16:50, christopher.lamb at thurweb.ch said:
> Hi all
>
> firstly I would like to congratulate the guys at Jolla / Sailfish for
> their great work so far: It's looking very promising. Maybe there is
> life after the N9 after all.
>
> This weekend I installed the alpha Sailfish SDK on OSX. I was quickly
> able to add the kits for my N9, the QEMU Harmattan Emulator and the N9
> Simulator, and run my current Harmattan project against these.
>
> Then I decided to try the same project against Sailfish: to see how
> easy it would be to get it up and running. As my project uses the GPS,
> the camera and sends SMSs this is probably quite an evil test for an
> SDK that is only in Alpha.
>
> So having made no changes at all to the project I pressed the green
> run button in QtCreator ....
>
> On compiling I get the error "QCamera no such file or directory"
>
> After much searching and comparison of the Harmattan and Sailfish SDKs
> I find the following:
>
>
> 1)
> //SailfishOS/mersdk/targets/SailfishOS-1486-x86/usr/lib/
> contains the 3 files
> libQtMultimediaKit.so.1
> libQtMultimediaKit.so.1.2
> libQtMultimediaKit.so.1.2.2
>
> while
> //QtSDK/Madde/sysroots/harmattan_sysroot_10.2.2011.34-1_slim/usr/lib/
> contains the 4 files
> libQtMultimediaKit.so
> libQtMultimediaKit.so.1
> libQtMultimediaKit.so.1.2
> libQtMultimediaKit.so.1.2.2
> this directory also contains libQtMultimedia files which are not
> present in Sailfish equivalent
>
> 2) the directories
> //SailfishOS/mersdk/targets/SailfishOS-1486-x86/usr/lib/qt4/imports/
> //QtSDK/Madde/sysroots/harmattan_sysroot_10.2.2011.34-1_slim/usr/lib/qt4/imports/
> both contain a subdirectory QtMultimediaKit
>
> 3) the two directories
> //SailfishOS/mersdk/targets/SailfishOS-1486-x86/usr/include/qt4/
> //QtSDK/Madde/sysroots/harmattan_sysroot_10.2.2011.34-1_slim/usr/include/qt4/
> look quite different, with the harmattan version having more
> subdirectories, including the QtMultimediaKit within which the QCamera
> and qcamera.h files lurk.
>
> Any ideas?
>
> Chris
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sailfishos.org/pipermail/devel/attachments/20130407/a4e00eeb/attachment.html>
More information about the Devel
mailing list