Re: [Ubuntu-phone] Library dependency support in click packages?

2013-09-30 Thread Michael Zanetti
On Sunday 29 September 2013 23:16:04 Scott Sweeny wrote: > Matt got farther than I did as far as statically linking the libraries > so I'll let him address that part. > > The reason we mention Qt is that we started from the scope template in > the Ubuntu SDK (as any developer would). Since it's a

Re: [Ubuntu-phone] Library dependency support in click packages?

2013-09-30 Thread David Barth
Le 30/09/2013 09:26, Michael Zanetti a écrit : Additionally, some libraries in Ubuntu apparently don't ship static files in their -dev packages. Once again, we could build those statically by hand and include them but that's the kind of thing I was hoping to avoid as an outcome of this discussion

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Николай Шатохин
I've already found this solution: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-contextproperties.html It helps. Thanks. 2013/9/30 Michael Zanetti > On Sunday 29 September 2013 13:45:01 Vladimir M. wrote: > > Sounds like a "context property" use case (you plain set a QObject as a

Re: [Ubuntu-phone] Library dependency support in click packages?

2013-09-30 Thread Michael Zanetti
On Monday 30 September 2013 09:34:02 David Barth wrote: > Le 30/09/2013 09:26, Michael Zanetti a écrit : > >> Additionally, some libraries in Ubuntu apparently don't ship static > >> files in their -dev packages. Once again, we could build those > >> statically by hand and include them but that's t

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Николай Шатохин
Can I set only one object as context property that contains other objects (and this objects contain objects too) and get this deep objects in QML? For i.e. I have object of class Engine that has object of class Game, Game contains object of Ship and Ship contains object of Reactor. So, I set objec

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Michael Zanetti
On Monday 30 September 2013 12:05:03 Николай Шатохин wrote: > Can I set only one object as context property that contains other objects > (and this objects contain objects too) and get this deep objects in QML? > > For i.e. I have object of class Engine that has object of class Game, Game > contai

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Николай Шатохин
I'm using qmlRegisterType now. I have problems, because two QML objects in different QML files it is two different objects in C++. I registered as type class that have static object of Engine, but now I have butthurt with it (I need retranslate all signals, getters and setters) 2013/9/30 Michael

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Michael Zanetti
On Monday 30 September 2013 12:19:05 Николай Шатохин wrote: > I'm using qmlRegisterType now. I have problems, because two QML objects in > different QML files it is two different objects in C++. I registered as > type class that have static object of Engine, but now I have butthurt with > it (I nee

[Ubuntu-phone] Summary of Landing Task For Call 28.09.2013 (1)

2013-09-30 Thread Didier Roche
Hey all. After this week-end, we are back in full shape for releasing even more images! Here are the latest news: * Image 68 contained all the retained fixes for quite a long time, the lightdm session changes + unity8 and unity changes. Despite all those changes, the autopilot tests results

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread mrqtros
Omg declare global engine object in main qml file and that's all 30.09.13 13:19 Николай Шатохин написал(а): I'm using qmlRegisterType now. I have problems, because two QML objects in different QML files it is two different objects in C++. I registered as type class that have static object of E

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Николай Шатохин
0_o. I didn't know that all objects in QML are global. Thank you very much. 2013/9/30 > Omg declare global engine object in main qml file and that's all > > 30.09.13 13:19 Николай Шатохин написал(а): > I'm using qmlRegisterType now. I have problems, because two QML objects in > different QML fi

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Николай Шатохин
What if I need to show the same QML object in two different places? How to do this? How to create new QML object without recreating it in C++? 2013/9/30 Николай Шатохин > 0_o. I didn't know that all objects in QML are global. Thank you very much. > > > 2013/9/30 > > Omg declare global engine

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Vladimir M.
You probably can't share a single instance of a QML visual item between views, but as soon as you have the type registered properly / importable / etc, you can use instantiate it in as many views as you like. A QObject pointer can be passed around to items living in different veiws inside the same

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Николай Шатохин
I need to have this object in different qml files (for i.e. GameChat must be shown on GameCreation,Game,GameResults pages: this it differents QML files and differents pages in PageStack), but I created only one QtQuickView in main.cpp. So, do view is qml file or QtQuckView object? 2013/9/30 Vladi

[Ubuntu-phone] Sometimes I see transparent window when starting app

2013-09-30 Thread Николай Шатохин
Hello. When I starting app, I see transparent (window not transparent, it has a picture of part of screen behind it) window some times. If i click by mouse it the part of window where located button, button works and window draw correctly after this. Is it bug of QML or Ubuntu Components? Best re

Re: [Ubuntu-phone] Sometimes I see transparent window when starting app

2013-09-30 Thread Michael Zanetti
Hi, I've seen this with QML only (no Ubuntu.Components) as well. So seems like an issue in Qt itself. Br, Michael On Monday 30 September 2013 14:10:48 Николай Шатохин wrote: > Hello. > > When I starting app, I see transparent (window not transparent, it has a > picture of part of screen behind

Re: [Ubuntu-phone] Sometimes I see transparent window when starting app

2013-09-30 Thread Николай Шатохин
Is way to bypass this exists? 2013/9/30 Michael Zanetti > Hi, > > I've seen this with QML only (no Ubuntu.Components) as well. So seems like > an > issue in Qt itself. > > Br, > Michael > > On Monday 30 September 2013 14:10:48 Николай Шатохин wrote: > > Hello. > > > > When I starting app, I see

Re: [Ubuntu-phone] Library dependency support in click packages?

2013-09-30 Thread Sergio Schvezov
On Fri, Sep 27, 2013 at 6:37 PM, Scott Sweeny wrote: > Since libmrss0 is not in the image we needed a way to make it available. > For > demo purposes we just copied the .so file (and that of one other > dependency) to > a spot in /custom and wrapped the scope binary with a script that sets > LD_LI

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Vladimir M.
Then, it looks like the standard way would be to have an instance of the item embedded in each page in the stack. If this turns out to be too resource consuming, you may try to play some tricks like removing it from all the pages and overlaying over the whole stack (if the item will always be in t

Re: [Ubuntu-phone] Defining Click framework(s) for 13.10

2013-09-30 Thread Jamie Strandboge
On 09/18/2013 11:24 AM, Jamie Strandboge wrote: > On 09/18/2013 09:31 AM, Loïc Minier wrote: >> Hi! >> >> Click packages uploaded to appstore currently declare a dependency on >> ubuntu-sdk-13.10, but we haven't defined this ubuntu-sdk-13.10 framework >> yet! >> >> This should be as backwards

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Николай Шатохин
What if I will create property backend in QML type and then I will set this property in all QML objects to global object? So, theoretically this can solve my problem. 2013/9/30 Vladimir M. > Then, it looks like the standard way would be to have an instance of the > item embedded in each page in

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Vladimir M.
Sure, you can always wire as many objects as possible to smth existing in a scene or set as a context property -- it's a simple Q_PROPERTY assignment on the C++ side, with a pointer passed to the setter (and works as soon as you declare the property on the QML side (or register and instantiate a C+

[Ubuntu-phone] Anybody have Adobe Illustrator?

2013-09-30 Thread Sam Bull
We're nearly ready to release our first beta of the Bitcoin client. But, we are missing an image, and I've found the perfect image, but it's in Illustrator format. If anybody has access to Illustrator, do you think you could export this image in SVG format? It fails to open correctly in Inkscape.

Re: [Ubuntu-phone] Anybody have Adobe Illustrator?

2013-09-30 Thread Dave Morley
On 30/09/13 16:07, Sam Bull wrote: > We're nearly ready to release our first beta of the Bitcoin client. But, > we are missing an image, and I've found the perfect image, but it's in > Illustrator format. > > If anybody has access to Illustrator, do you think you could export this > image in SVG f

Re: [Ubuntu-phone] Anybody have Adobe Illustrator?

2013-09-30 Thread Vladimir M.
And version 6 is now $0 (remember that story about Adobe giving away their tools?) :) On Mon, Sep 30, 2013 at 7:10 PM, Dave Morley wrote: > On 30/09/13 16:07, Sam Bull wrote: > > We're nearly ready to release our first beta of the Bitcoin client. But, > > we are missing an image, and I've f

Re: [Ubuntu-phone] Anybody have Adobe Illustrator?

2013-09-30 Thread Sam Bull
On Mon, 2013-09-30 at 16:14 +0100, David Aizenberg wrote: > Does it work? > https://docs.google.com/file/d/0B3U7iD3eG4-jdFBJcnA1My1CMFU/edit?usp=sharing Yep, thanks, that's worked, and thanks everyone else for the offers. Unfortunately, the file is really large, and the image looks dreadful unde

Re: [Ubuntu-phone] What If?

2013-09-30 Thread Robert Park
On Sun, Sep 29, 2013 at 11:12 PM, Michal Suchanek wrote: > But where's the touch part on desktop Ubuntu? > > Thanks Unity8 can already be installed on the desktop, but be warned it's a little rough around the edges. -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phon

[Ubuntu-phone] Summary of Landing Task For Call 28.09.2013 (2)

2013-09-30 Thread Didier Roche
Hey everyone. Afternoon (for some ;)) call, here is that status: * We published image 70 which is the greatest and best ubuntu phone image we ever had. Congrats everyone :) * We are close to completion to kick a build for image 71, aka "the boring image". Most of bug fixes are already in the a

[Ubuntu-phone] Error "ToolbarActions is not a type" ?

2013-09-30 Thread Roberto Colistete Jr.
Hi, I'm trying QML examples and some 3rd party source-code for Ubuntu Touch using the Ubuntu SDK (on Ubuntu 13.10 64 bits for PC). Some of them refuse to work (unit-converter, etc), giving an error message : "ToolbarActions is not a type" I've found other people with the same prob

Re: [Ubuntu-phone] Library dependency support in click packages?

2013-09-30 Thread Ted Gould
On Fri, 2013-09-27 at 19:51 -0600, Matthew Fischer wrote: > On Fri, Sep 27, 2013 at 4:04 PM, Ted Gould wrote: > > On Fri, 2013-09-27 at 17:37 -0400, Scott Sweeny wrote: > > > One thing click could do is look (at build time) at what external > libraries an > > ap

Re: [Ubuntu-phone] Anybody have Adobe Illustrator?

2013-09-30 Thread Ted Gould
On Mon, 2013-09-30 at 17:15 +0100, Sam Bull wrote: > On Mon, 2013-09-30 at 16:14 +0100, David Aizenberg wrote: > > Does it work? > > https://docs.google.com/file/d/0B3U7iD3eG4-jdFBJcnA1My1CMFU/edit?usp=sharing > > Yep, thanks, that's worked, and thanks everyone else for the offers. > > Unfortuna

Re: [Ubuntu-phone] Error "ToolbarActions is not a type" ?

2013-09-30 Thread Michael Hall
ToolbarActions was replaced with ToolbarItems, see here for more details about it and example code: http://91.189.93.79/api/qml/sdk-1.0/Ubuntu.Components.ToolbarItems/ Michael Hall mhall...@gmail.com On 09/30/2013 03:41 PM, Roberto Colistete Jr. wrote: > Hi, > > I'm trying QML examples a

Re: [Ubuntu-phone] Anybody have Adobe Illustrator?

2013-09-30 Thread Israel
On 09/30/2013 11:15 AM, Sam Bull wrote: On Mon, 2013-09-30 at 16:14 +0100, David Aizenberg wrote: Does it work? https://docs.google.com/file/d/0B3U7iD3eG4-jdFBJcnA1My1CMFU/edit?usp=sharing Yep, thanks, that's worked, and thanks everyone else for the offers. Unfortunately, the file is really la