Aller au contenu
Tous les transcripts
Podcast / conversationCybercomLab· 13 octobre 2010 11 minAutoproduitDivertissementNumérique

Qt Quick by Alexis Menard at Cybercom Developer Day 2010 part 4

Transcription Whisper (large-v3), avec identification des locuteurs. À recouper avec la source d'origine.

Analyse automatique

Générée par IA — peut contenir des erreurs. Méthodologie

Chapitres

Répartition du ton (temps de parole politique)

Propositif 100 %

Affirmations vérifiables (citations exactes)

  • 8:27PrésentateurFait
    « It will be for Qt 4.8. »
  • 8:29PrésentateurFait
    « We have also this project called Qt Mobility, which actually expose mobility APIs for phones. »
  • 8:56PrésentateurFait
    « We are working on Qt Components. »
  • 9:42PrésentateurFait
    « We also want to bring our Qt 3D modules into QML. »
  • 9:54PrésentateurFait
    « Vahala is actually a canvas that we redesigned from scratch. »

Temps de parole

  • Présentateur85 %
  • ?15 %

≈ 85,4 interruptions / 10 min (chevauchements et interjections détectés).

Modèle mistral-small-latest · prompt v1 · les citations sont vérifiées mot pour mot dans le transcript ; le taux de réponse directe est calculé à partir des verdicts question par question. Aucun label idéologique n'est produit.

0:06
Locuteur

Donc,

0:06
Présentateur

maintenant, vous savez, comment je peux utiliser ça en QML. Alors, c'est facile. Donc, ici, je vais avoir un projet, qui est un QML. Comme vous pouvez voir ici, il y a un QML. C'est

0:26
Locuteur

un projet en

0:28
Présentateur

Qt Creator. Et ici,

0:30
Locuteur

je

0:30
Présentateur

mets mon C++ implementation, qui est customitem, si je enterais,

0:37
Locuteur

ici, ici,

0:41
Présentateur

vous voyez, il y a le CPP et l'H file.

0:44
Locuteur

Il

0:44
Présentateur

y a l'SO, qui est built, et il y a

0:46
Locuteur

l'est

0:46
Présentateur

actually built. Et il y a un small file que vous avez besoin, qui est appelé QMLdir. C'est pour décrire quel plugin il

0:52
Locuteur

y

0:52
Présentateur

a de load. Et si vous dites QMLdir, c'est quelque chose comme ça. Il y a

0:58
Locuteur

un

0:59
Présentateur

plugin,

1:00
Locuteur

c

1:01
Présentateur

'est le nom de le plugin, c'est ce qu

1:02
Locuteur

'il y a un. Et

1:03
Présentateur

si vous regardez la façon dont

1:04
Locuteur

je

1:04
Présentateur

construis mon QML, il y

1:05
Locuteur

a

1:05
Présentateur

un C++, c'est facile.

1:09
Locuteur

Je

1:10
Présentateur

opene le profil de QMAKE,

1:13
Locuteur

et

1:13
Présentateur

je dis, c'est un livre,

1:16
Locuteur

je dis, c

1:16
Présentateur

'est un démo pour l'extension, et il y a

1:19
Locuteur

un lien

1:19
Présentateur

avec le déclaratif, et c'est un Qt plugin, c'est tout. Et puis, c

1:23
Locuteur

'est

1:23
Présentateur

mes files.

1:24
Locuteur

C

1:24
Présentateur

'est tout que je fais. Il y a

1:26
Locuteur

un fil,

1:26
Présentateur

c'est un fil, et je suis prêt à utiliser le QML.

1:36
Locuteur

So,

1:36
Présentateur

if I come back to the editor

1:38
Locuteur

here,

1:40
Présentateur

and then I go to

1:40
Locuteur

where

1:42
Présentateur

I actually use the file. So, here I've got a rectangle blue. As you can see, Qt Creator show a preview of the element, which is quite cool here.

1:52
Locuteur

So,

1:53
Présentateur

now I need to import my library, my custom item, right? So, it's easy.

1:57
Locuteur

I

1:58
Présentateur

do import custom

2:00
Locuteur

item 1

2:04
Présentateur

.0.

2:07
Locuteur

Import

2:08
Présentateur

custom item

2:11
Locuteur

up. And

2:13
Présentateur

then, so let's see, if I run that, what it says.

2:18
Locuteur

Oh,

2:18
Présentateur

yeah. I need to specify the version. 1.0.

2:23
Locuteur

So,

3:34
Présentateur

I need to register my type. That's something I forgot. And, let me do it. That's funny.

3:44
Locuteur

I

3:44
Présentateur

saw that I did it.

3:50
Locuteur

1

3:50
Présentateur

.0. So, that's what I do. I register my item 1.0, custom item. Okay, let's see why it doesn't work, actually. Custom item,

4:20
Locuteur

well,

4:21
Présentateur

then it's 1.0. Ah, it's well known the

4:26
Locuteur

demo

4:28
Présentateur

always failed. 1.0.

4:37
Locuteur

Well,

4:37
Présentateur

but then it doesn't work. That's a bit annoying. Oh, custom item, no? That's really bad.

4:47
Locuteur

Well,

4:48
Présentateur

then I'm sorry, it doesn't work for some reason. But, well, we should have seen the elements. We could have imported like this, actually. I'll show you. So, and then use it like that. Custom item,

5:00
Locuteur

and

5:00
Présentateur

then I could have changed the color, for instance, to, let's say, red. And it would have worked, but

5:04
Locuteur

it

5:10
Présentateur

would have worked. But for some reason, you don't want to import my library. Perhaps I messed up my computer. I don't know. I'm sorry. But it should have worked.

5:17
Locuteur

So,

5:18
Présentateur

you have to believe me. There is examples in the Qt, so that shows how to do it. So, I'm really guilty.

5:27
Locuteur

So,

5:27
Présentateur

now let's have another small example about how you can integrate existing C++ code, like a huge library like Plasma and KDE, which is based on QGraphics widget. And we make it available in QML. So, we can actually work and do Plasma development in QML using Plasma API, which is really cool because we can be faster. So, we can use the Plasma widget and hack them into QML. So, we can actually create user interfaces using QML and using Plasma as well.

5:57
Locuteur

So,

5:57
Présentateur

we can also connect the Plasma.engin. Marco will explain what it is, but it's basically all the data that we get from the network and everything. And we can use them into QML. We've got theming support.

6:09
Locuteur

You

6:09
Présentateur

can create applets in Plasma with QML. You can package them, and you can share it online.

6:14
Locuteur

Well,

6:15
Présentateur

not for now, but

6:16
Locuteur

it

6:17
Présentateur

works. But since it's not yet released, you can't do it.

6:21
Locuteur

But

6:21
Présentateur

I have a small example. This one should work,

6:23
Locuteur

which

6:26
Présentateur

is

6:27
Locuteur

here,

6:28
Présentateur

my main.qml. So, same, you can import Plasma. So, import Plasma

6:38
Locuteur

0

6:39
Présentateur

.1.

6:40
Locuteur

You

6:40
Présentateur

can give an alias, by the way, when you import. So, all classes with Plasma will have a prefix Plasma. So, when I want to use an element,

6:48
Locuteur

I

6:49
Présentateur

actually do Plasma.pushButton. And then I said, with,

6:56
Locuteur

and

7:06
Présentateur

then I can send the text. All of that are properties that are exposed from Plasma.

7:10
Locuteur

And

7:11
Présentateur

I can say,

7:16
Locuteur

and

7:17
Présentateur

here, I'll just go on the terminal.

7:20
Locuteur

And

7:21
Présentateur

then I can actually here, oops, run my app. And

7:28
Locuteur

it

7:29
Présentateur

picked the Plasma button. So, this is a C++. All the button is implemented in C++, right?

7:34
Locuteur

And,

7:35
Présentateur

but I created via QML. I can animate it. I can do whatever I want with it.

7:40
Locuteur

So,

7:40
Présentateur

for instance, I can use the encores

7:42
Locuteur

on

7:43
Présentateur

it. Like, instead of setting the width and the height, I can say

7:47
Locuteur

encores fill.

7:52
Présentateur

And then, let's say

7:55
Locuteur

id rect. And

8:03
Présentateur

then it will have the same size as the rect.

8:09
Locuteur

You

8:09
Présentateur

see?

8:10
Locuteur

And

8:11
Présentateur

this is C++ code

8:12
Locuteur

to

8:12
Présentateur

do that. So,

8:14
Locuteur

you

8:15
Présentateur

can integrate easily Plasma code.

8:19
Locuteur

So,

8:20
Présentateur

I did the demo. What's coming next? It's a multi-touch support for QML. It's already underway. It will be for Qt 4.8. We have also this project called Qt Mobility, which actually expose mobility APIs for phones. Mostly Nokia phones. So, like having the sensors, the GPS location, mails, SMS and stuff like that. Then via Qt APIs, Qt Mobility, you can access it. So, what we want is also make those APIs available in QML. So, you can actually write the

8:52
Locuteur

complete

8:54
Présentateur

phone app in QML.

8:56
Locuteur

We

8:56
Présentateur

are working on Qt Components. This is a huge project, which will bring more advanced elements in QML. Because as I showed,

9:04
Locuteur

it

9:04
Présentateur

was only basic components. Rectangle, Pix, Map, Text and so on. But we want also people to be able to use easily

9:12
Locuteur

already

9:13
Présentateur

made push button.

9:15
Locuteur

So

9:15
Présentateur

that they don't spend time creating, yet again, a button.

9:19
Locuteur

So,

9:20
Présentateur

and then the button will be styled using the platform that it is running on. So, for now, we've got target Migo

9:26
Locuteur

as

9:27
Présentateur

a first release. And then we will extend to desktops and everything. So, as I was giving an example, a push button, checkbox, sliders, tab bars, scroll bars and stuff like that.

9:39
Locuteur

We

9:40
Présentateur

also want to bring our Qt 3D modules into QML. So,

9:42
Locuteur

you

9:42
Présentateur

can actually do 3D or OpenGL in QML.

9:46
Locuteur

And

9:46
Présentateur

we are working on this Vahala, which is a new canvas that will replace Graphic View on QML. So, Vahala is actually a canvas that we redesigned from scratch. It has nothing to do with, I mean, we don't use any legacy in Qt.

10:03
Locuteur

We

10:03
Présentateur

just think the problem from zero. And we want to create a thin graph which is really close to the graphic count. So, we get optimal performance. And then you can actually get nice effects like blur and

10:17
Locuteur

stuff

10:18
Présentateur

like that really fast.

10:21
Locuteur

That's

10:21
Présentateur

all. If you have questions, then you can ask. If you want to contribute then in QML or get involved, you can join the RC chat, which is hash Qt-QML on Freenauts. You can sign up on the Qt QML

10:35
Locuteur

mailing

10:36
Présentateur

list. This mailing list is not for QML development. It's

10:40
Locuteur

for

10:40
Présentateur

people that are using QML. So, you can ask questions.

10:43
Locuteur

We

10:43
Présentateur

also have another mailing list where we talk about QML development because we want to do development in the Open.

10:52
Locuteur

For

10:52
Présentateur

Plasma, if you want to contribute or get involved, the mailing list is there, plasma-dwell or hash Plasma on Freenauts. And for the mobile that we'll show this afternoon, mobile code, which is QML and Plasma,

11:04
Locuteur

the

11:05
Présentateur

code is on the KDE repo.

11:08
Locuteur

Yeah. And

11:09
Présentateur

there is my mail addresses if you want to contact me.

11:11
Locuteur

That's

11:12
Présentateur

all. Thank you.