Re: [SailfishDevel] How to access the viewfinder of the QCamera?

2014-02-17 Thread Stefan Brand

Hi,

On 03.02.2014 09:57, Andrew den Exter wrote:

We're working on a solution which will allow QtMultimedia's
VideoOutput item to use that node instead of it's own built in nodes,
but in the meantime have been accessing it through the
GStreamerVideoOutput type which is defined in the 'Sailfish.Media 1.0'
import.



As the Sailfish.Media 1.0 import is not allowed for applications in 
harbour, is there any way to write an application using the Camera with 
a Viewfinder in QML that would pass harbour QA at the moment? Or do we 
have to wait for the adapted VideoOutput?


I have added a simple QR-Reader to my app (SailOTP), but it only works 
if using the unsuppoerted GStreamerVideoOutput...


Regards,
Stefan Brand
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-17 Thread Roberto Colistete Jr.

Em 16-02-2014 12:40, christopher.l...@thurweb.ch escreveu:

Dietmar

Sailfish is very far from being QML only.

Sailfish like all other platforms based on Qt5.X supports a rich mix 
of C++, QML and Javascript.


The exact mix is up to you, and depends on your own experience, 
preferences and predilections, and of course on what you need to do.


The death of Qt Widgets is nothing to with Sailfish, that is q Qt5.X 
thing.


Grüsse

Chris


Long before Qt5 : with MeeGo Harmattan 1.2 in 2011, Qt Widgets were 
not supported to develop for Nokia N9.


So Qt Quick 1.0  QML is not new at all.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] How can I deploy application without qml file

2014-02-17 Thread J-P Nurmi
On Mon, Feb 17, 2014 at 2:24 PM, itviewer itvie...@jolladev.net wrote:

  Hi all,

 In my application I don't want the qml file to be deployed.
 I know I should use the Qt resource system.

 After added all qml files to the .qrc file and rebuild the application,

 It seems that all qml files are still build in to the rpm file.

 Is it a sdk's bug?
 How can I deploy rpm application without qml file?

 Hi,

Not a bug but an (annoying) feature. :) You probably have CONFIG +=
sailfishapp in your .pro. That will automatically add the qml subfolder to
install rules (
https://github.com/sailfish-sdk/libsailfishapp/blob/master/data/sailfishapp.prf#L40).
A trivial solution is to rename the qml folder to something else.

--
J-P Nurmi
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] How can I deploy application without qml file

2014-02-17 Thread Andrey Kozhevnikov
you can set INSTALLS = without appending to existing contents and 
manually point to desktop (if present) and binary files


On 17.02.2014 19:51, Thomas Perl wrote:

On 2014-02-17 14:43, J-P Nurmi wrote:
Not a bug but an (annoying) feature. :) You probably have CONFIG += 
sailfishapp in your .pro. That will automatically add the qml 
subfolder to install rules 
(https://github.com/sailfish-sdk/libsailfishapp/blob/master/data/sailfishapp.prf#L40). 
A trivial solution is to rename the qml folder to something else.


Yes, an alternative solution is to rm -rf the (installed) QML folder 
in the .spec file from the installroot after the make install step.


HTH :)
Thomas
___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-17 Thread Marcin M.
Is Qt Quick faster on desktop too?

--
Marcin


2014-02-17 13:12 GMT+01:00 Roberto Colistete Jr. 
roberto.colist...@gmail.com:

 Em 16-02-2014 12:40, christopher.l...@thurweb.ch escreveu:

  Dietmar

 Sailfish is very far from being QML only.

 Sailfish like all other platforms based on Qt5.X supports a rich mix of
 C++, QML and Javascript.

 The exact mix is up to you, and depends on your own experience,
 preferences and predilections, and of course on what you need to do.

 The death of Qt Widgets is nothing to with Sailfish, that is q Qt5.X
 thing.

 Grüsse

 Chris


 Long before Qt5 : with MeeGo Harmattan 1.2 in 2011, Qt Widgets were
 not supported to develop for Nokia N9.

 So Qt Quick 1.0  QML is not new at all.

 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list