Qt port checked in

Discussion related to the development & design of the LuxRender Graphical User Interface
coordinator: none (position is open)

Moderator: coordinators

Qt port checked in

Postby tomb » Sun Nov 01, 2009 4:06 pm

Hi,

A port of the wx gui is now available in hg tip. It's a fairly straight port, most stuff is there except the network tab.
When it's functionality complete I will refactor it to make it more OO/Qt-ish. Then we can start discussing changes for 0.7 :)
As it's still a WIP it's not built by default, excecute 'make luxrenderqt' to build it.

In time the idea is that it will replace the wx-based gui, which has grown to be a PITA to build on some platforms (especially on mac).

Edit: thanks to Cperrin88 for helping out a n00b with Qt Designer :)

T
Last edited by tomb on Mon Nov 02, 2009 7:55 am, edited 1 time in total.
User avatar
tomb
Developer
 
Posts: 1919
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

Re: Qt port checked in

Postby lempour » Sun Nov 01, 2009 4:15 pm

oh, 0.7 will have QT gui only? :(
lempour
 
Posts: 190
Joined: Mon Oct 29, 2007 9:12 am

Re: Qt port checked in

Postby tomb » Sun Nov 01, 2009 5:23 pm

That's not up to me really :) We'll see how it pans out
User avatar
tomb
Developer
 
Posts: 1919
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

Re: Qt port checked in

Postby jeanphi » Mon Nov 02, 2009 4:15 am

Hi,

lempour wrote:oh, 0.7 will have QT gui only? :(

Why the :( ? is there an issue with using Qt instead of wxWidgets?

Jeanphi
jeanphi
Developer
 
Posts: 6577
Joined: Mon Jan 14, 2008 7:21 am

Re: Qt port checked in

Postby lempour » Mon Nov 02, 2009 4:49 am

well, for me it's another library installed and loaded in the memory and breaking the UI consistence (I'm running gtk+ desktop).
I know that from the developers point of view the situation is totally different. Of course I respect the decision and amount of that was put into it - then I have to get prepared and find myself some decent Qt-GTK wrappers and themes. Still, for me I'd better see luxgui along the GTK+ line (as wxwidgets on linux wrap around the gtk+ libs)
lempour
 
Posts: 190
Joined: Mon Oct 29, 2007 9:12 am

Re: Qt port checked in

Postby jeanphi » Mon Nov 02, 2009 4:58 am

Hi,

Ok, I see, we'll have to take that into account, as most users will face the same problem. We should really chack the size of the dependencies, requiring users to install hundreds of Mo to run Lux would indeed be bad. However Indigo uses Qt on Windows and the package is quite small.

Jeanphi
jeanphi
Developer
 
Posts: 6577
Joined: Mon Jan 14, 2008 7:21 am

Re: Qt port checked in

Postby jensverwiebe » Mon Nov 02, 2009 5:21 am

Hi Tomb

I did now initial cmake-adaption and build for OSX too:


Image
Image
Image


Just to assure it works. I Rendered something , o.k. too.
Some sidenotes:

- compiling is a lot faster with QT-frameworks
- as you can see on 64bit OSX, now the first time we have coloured log ( wx is broken )
- app-size drops to less than the half ( 9 MB from 23 MB ) , but indeed you have to install QTCore, QTGui and QTOpenGL ( once :) )

Jens
User avatar
jensverwiebe
Developer
 
Posts: 2124
Joined: Wed Apr 02, 2008 4:34 pm

Re: Qt port checked in

Postby SATtva » Mon Nov 02, 2009 6:20 am

What minimum QT version is required?
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5494
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Qt port checked in

Postby tomb » Mon Nov 02, 2009 6:24 am

ATM 4.5 - when and if this moves out of "experimental", I plan on using 4.6 features (which is in beta these days).
User avatar
tomb
Developer
 
Posts: 1919
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

Re: Qt port checked in

Postby SATtva » Mon Nov 02, 2009 6:49 am

Okay, thanks.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5494
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Next

Return to LuxGUI

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron