Qt5 is released.
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Qt5 is released.
http://qt-project.org/doc/qt-5.0/qtdoc/qt5-intro.html
Are we happy?
Are we happy?
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Goth Zagog-Thou
- Regular

- Posts: 1582
- Joined: 06 Jan 2007, 08:08
- Location: Delta Base
Re: Qt5 is released.
This will make Emdek happy. 
Me too, actually, I've been waiting for this. Now I can sink my teeth into QT and learn how to make it go.
Me too, actually, I've been waiting for this. Now I can sink my teeth into QT and learn how to make it go.
-
Rman Virgil
- Professional

- Posts: 3812
- Joined: 25 Sep 2006, 01:06
- Location: USA
Re: Qt5 is released.
.
If it's used to replace the old UI widget scheme...
.
If it's used to replace the old UI widget scheme...
.
.
Impact = C x (R + E + A + T + E)
Contrast
Reach
Exposure
Articulation
Trust
Echo
.
Impact = C x (R + E + A + T + E)
Contrast
Reach
Exposure
Articulation
Trust
Echo
.
-
bendib
- Regular

- Posts: 1016
- Joined: 29 Aug 2010, 05:22
- Location: Imeuta
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: Qt5 is released.
So, who's gonna replace the WZ menu system with a webkit browser?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
Emdek
- Regular

- Posts: 1329
- Joined: 24 Jan 2010, 13:14
- Location: Poland
Re: Qt5 is released.
Goth Zagog-Thou, I will wait for 5.1 or 5.2. 
aubergine, that is overshoot, if it should be done with Qt at all (so require at least OpenGL 2.0 for 5.x) then it should be done in QML and only use embedded WebKit element when needed. This is more efficient way.
aubergine, that is overshoot, if it should be done with Qt at all (so require at least OpenGL 2.0 for 5.x) then it should be done in QML and only use embedded WebKit element when needed. This is more efficient way.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: Qt5 is released.
The front-end menus (like "main menu", "options menu", "game setup", etc) don't need to be efficient. In fact, the current GUI system used for the menus is massively inefficient, driving my CPU temp to 88º C (from usual 77º C when, for example, watching videos on youtube) just by having Warzone open at the main menu. My CPU temp drops to 87º C when I start a game in the 3D environment.
Regardless, the desire to have WebKit for the front-end menu UI (not the in-game UI) is not driven by efficiency requirements, it's driven by the desire to make the menus highly moddable using HTML/JS/CSS. A few JS API functions would need exposing to the browser environment (see here) and then modders could set to work overhauling the menu systems.
Regardless, the desire to have WebKit for the front-end menu UI (not the in-game UI) is not driven by efficiency requirements, it's driven by the desire to make the menus highly moddable using HTML/JS/CSS. A few JS API functions would need exposing to the browser environment (see here) and then modders could set to work overhauling the menu systems.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
Rman Virgil
- Professional

- Posts: 3812
- Joined: 25 Sep 2006, 01:06
- Location: USA
Re: Qt5 is released.
Part of my last WZ dream is to be able to do this with the unit command UI.... especially with the Commander UI.... but thats a bit deeper than the front end and, alas, a ways down the road....aubergine wrote:.......and then modders could set to work overhauling the menu systems.
.
.
Impact = C x (R + E + A + T + E)
Contrast
Reach
Exposure
Articulation
Trust
Echo
.
Impact = C x (R + E + A + T + E)
Contrast
Reach
Exposure
Articulation
Trust
Echo
.
-
Emdek
- Regular

- Posts: 1329
- Joined: 24 Jan 2010, 13:14
- Location: Poland
Re: Qt5 is released.
aubergine, I believe that the same result can be achieved using QML, which uses JavaScript anyway.
It would be better to have an API to manipulate existing items and add new (in all cases, no matter which technology would be used) or in case of QML also allow to completely replace each page by custom definitions (which could include WebView so it could load HTML if it would be really needed
).
It would be better to have an API to manipulate existing items and add new (in all cases, no matter which technology would be used) or in case of QML also allow to completely replace each page by custom definitions (which could include WebView so it could load HTML if it would be really needed
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: Qt5 is released.
How do you apply CSS to QML? And what benefit does QML give over HTML/CSS/JS? (for the front-end menus, like main menu, options menu, single player menu, etc)?
I can see QML being perfect for in-game UI, but for the front end menus (not in-game menus) it seems like making life difficult just for the sake of making life difficult?
I can see QML being perfect for in-game UI, but for the front end menus (not in-game menus) it seems like making life difficult just for the sake of making life difficult?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
Per
- Warzone 2100 Team Member

- Posts: 3780
- Joined: 03 Aug 2006, 19:39
Re: Qt5 is released.
QML is CSS/JS.
-
Emdek
- Regular

- Posts: 1329
- Joined: 24 Jan 2010, 13:14
- Location: Poland
Re: Qt5 is released.
aubergine, let mu put that in another way, how many non standard items we need to add there in typical mod?
I guess that in most cases none.
And if someone needs a lot of non standard items then there is option to simply replace whole scene by single WebView and do everything in HTML by loading custom QML file.
I guess that in most cases none.
And if someone needs a lot of non standard items then there is option to simply replace whole scene by single WebView and do everything in HTML by loading custom QML file.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: Qt5 is released.
Ok, that makes sense. I'll need to learn more about QML - any good beginners guides out there?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
Emdek
- Regular

- Posts: 1329
- Joined: 24 Jan 2010, 13:14
- Location: Poland
Re: Qt5 is released.
aubergine, official documentation is usually best choice to start. 
For example:
http://qt-project.org/doc/qt-5.0/qtquic ... index.html
For example:
http://qt-project.org/doc/qt-5.0/qtquic ... index.html
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.