Qt transition completed.

The projects speaking tube.
Add your two cents if you want to.

Qt transition completed.

Postby Buginator » 27 Apr 2011, 04:31

The Warzone 2100 Project Team would like to mention that we have now finished the transition to the Qt framework.

This means that there will be no future SDL builds available, and only Qt builds for 3.X.

2.X will still use SDL, however, there won't be any feature enhancements in this series.
We just don't have the time / manpower to maintain different code bases.


Once again, we do not have any mac developers, and without mac developers, we can't make the platform specific changes that are needed for the mac. If you know of any mac developer that can help us, feel free to send them this way!

Thanks for helping us test these new builds!
and it ends here.
Buginator
Special

User avatar
 
Joined: 04 Nov 2007, 01:20

Re: Qt transition completed.

Postby Buginator » 27 Apr 2011, 04:49

...
Buginator
Special

User avatar
 
Joined: 04 Nov 2007, 01:20

Re: Qt transition completed.

Postby Sim » 27 Apr 2011, 08:17

I have not been following the Warzone project lately., could you please explain what does this change mean? QT is an ui framework, while SDL is a graphics framework, so as a non-programmer I don't get it.
Sim

User avatar
 
Joined: 05 Mar 2010, 10:00
Location: Prague, Czech republic

Re: Qt transition completed.

Postby Per » 27 Apr 2011, 08:23

There should be no immediate, visible changes from this transition (well, except for coloured mouse cursors). There may be a few wanted/unwanted side-effects, though, so worth knowing about.
Per
Warzone 2100 Team Member

 
Joined: 03 Aug 2006, 18:39

Re: Qt transition completed.

Postby Asgorath » 27 Apr 2011, 09:42

If I get it there will be no more master-releases but you will restart with beta 3.X?
I would like the idea because almost every new person asks what a master is^^

Congratulations btw 8)
Asgorath
Regular

User avatar
 
Joined: 10 Dec 2010, 15:45
Location: Hamburg, Germany

Re: Qt transition completed.

Postby cybersphinx » 27 Apr 2011, 13:35

Sim wrote:I have not been following the Warzone project lately., could you please explain what does this change mean? QT is an ui framework, while SDL is a graphics framework, so as a non-programmer I don't get it.
SDL provides basically an OpenGL window and keyboard/mouse input. Qt provides an OpenGL window, keyboard/mouse input, coloured hardware cursors (not bound to the game's fps like with SDL), ini file handling, a Javascript implementation (QtScript), and the GUI elements for error dialogs. Those are just the features we actually use already (those I rembered anyway), and they all come from one well-maintained and widely used libary instead of a conglomeration of random libraries and custom code.

Asgorath wrote:I would like the idea because almost every new person asks what a master is^^

viewtopic.php?f=1&t=7114
cybersphinx
Inactive

 
Joined: 01 Sep 2006, 18:17

Re: Qt transition completed.

Postby NoQ » 27 Apr 2011, 15:56

By the way, what will happen when some Qt5 comes out? Just curious (i'm sure you thought about it).
NoQ
Hero

User avatar
 
Joined: 24 Dec 2009, 10:35
Location: /var/zone

Re: Qt transition completed.

Postby Per » 27 Apr 2011, 17:48

NoQ wrote:By the way, what will happen when some Qt5 comes out? Just curious (i'm sure you thought about it).

Why would we think about it? It is not even on the Qt roadmap yet. As to what would happen, we would do what everyone else did when Qt4 arrived - wait until the dust has settled, the most popular distros have it, and port our stuff over. No big deal.
Per
Warzone 2100 Team Member

 
Joined: 03 Aug 2006, 18:39

Re: Qt transition completed.

Postby sylwen » 01 May 2011, 01:41

Hello, first timer here!

I've been browsing the sources in the default repository. It seems that these sources include Qt libraries (the QCoreApplication somehow indicated me this)

However, it seems that the compilation guides for windows are a bit out of date, may it be for MinGW or for VS. So, I just wanted to know two things :
- For compilation purposes, do I need only Qt, Bison and Flex?
- For runtime, do I still need the SDL (and the others libraries mentionned in http://developer.wz2100.net/wiki/CompileGuide)?

Thanks in advance! And wonderful idea to port this game to Qt! I can honestly tell you that I would have never browsed the sources during the time it used SDL. Personal preferences are hard to argue with =)
sylwen

 
Joined: 01 May 2011, 01:31

Re: Qt transition completed.

Postby Per » 01 May 2011, 08:57

I've updated the wiki page at the link above. You no longer need SDL and QuesoGLC, but you will need Qt (obviously) and all the libraries listed for runtime also for compilation.
Per
Warzone 2100 Team Member

 
Joined: 03 Aug 2006, 18:39

Re: Qt transition completed.

Postby fezvez » 01 May 2011, 21:18

Yay!

I'll come back to you as soon as the game compiles!

Or I'll come back to you to ask for some more explanations if I get some "unresolved externals" or similar things =)

Thanks again!

Edit : Didn't want to post again, but I just wanted to tell you that this game requires an unbelievably small amount of time in order to be compiled. Like, 15 minutes of package installation max! That was great!
Last edited by fezvez on 12 May 2011, 23:13, edited 1 time in total.
fezvez

 
Joined: 30 Apr 2011, 14:24

Re: Qt transition completed.

Postby Buginator » 03 May 2011, 04:26

For building Qt on VS2010:
Make a Environment Variable called QTdir, and point it to where you unpacked the source archive
Then open up the x86 VS2010 shell, and cd to that directory, and type
configure -debug-and-release -opensource -shared -no-qt3support -qt-sql-sqlite -phonon -phonon-backend

and wait until that is done.
Then type nmake, and wait a looooooooooooooong time (depending on your CPU speed/threads/cores) and when done, you should be set with Qt.
and it ends here.
Buginator
Special

User avatar
 
Joined: 04 Nov 2007, 01:20

Re: Qt transition completed.

Postby NoQ » 11 May 2011, 12:09

Per wrote:
NoQ wrote:By the way, what will happen when some Qt5 comes out? Just curious (i'm sure you thought about it).

Why would we think about it? It is not even on the Qt roadmap yet. As to what would happen, we would do what everyone else did when Qt4 arrived - wait until the dust has settled, the most popular distros have it, and port our stuff over. No big deal.
Fresh news on Qt5: [1] [2] :wink:
NoQ
Hero

User avatar
 
Joined: 24 Dec 2009, 10:35
Location: /var/zone

Re: Qt transition completed.

Postby NoQ » 20 May 2011, 05:23

How do we configure the screen font in Qt? Most of the interface fonts aren't affected by qtconfig (only size is changed). Sorry if it was asked already.
Attachments
wz2100-20110520_082345-main.png
You can see URW Gothic in the chat box, taken from qtconfig, but other fonts are somehow built-in and look ugly at this size.
NoQ
Hero

User avatar
 
Joined: 24 Dec 2009, 10:35
Location: /var/zone

Re: Qt transition completed.

Postby toney » 23 May 2011, 10:00

Very important question: will QT-based interface of Warzone2100 take more system resources (CPU, RAM, Video) than SDL did?
toney

 
Joined: 23 May 2011, 09:49

Next

Return to News and announcements

Who is online

Users browsing this forum: No registered users and 3 guests