Recent

Author Topic: How to get the Gnome-Design? (QT-Design)  (Read 10371 times)

Amnon82

  • New Member
  • *
  • Posts: 37
How to get the Gnome-Design? (QT-Design)
« on: October 03, 2006, 12:02:20 pm »
When I code some GUI in lazarus I get for example this:

(http://home.arcor.de/amsoft-linux-department/images/Untitled.png)

When I use Gambas and have gtk2-engines-gtk-qt installed, I get something like this:

(http://home.arcor.de/amsoft-linux-department/images/dvd2hdd.png)

Is it possible to to that also with lazarus? Seems to me nicer.

CCRDude

  • Hero Member
  • *****
  • Posts: 596
RE: How to get the Gnome-Design? (QT-Design)
« Reply #1 on: October 03, 2006, 12:39:21 pm »
You can select the widget set om the project options. Take a look at this Wiki page though; gtk2 is nearly complete, qt is in a very early state.

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
RE: How to get the Gnome-Design? (QT-Design)
« Reply #2 on: October 04, 2006, 09:56:48 am »
Gtk2 is far from "complete". It might be "feature" complete, but it's bugged like hell. Some components don't work in gtk2 or work only partialy, some are extremely slow (synedit) and the general speed of gtk2/lcl is extremely slow.

CCRDude

  • Hero Member
  • *****
  • Posts: 596
RE: How to get the Gnome-Design? (QT-Design)
« Reply #3 on: October 04, 2006, 10:49:12 am »
Oh sorry, I just used the Wiki page as a reference and recognized the "working" as "working", not as "stumbling" :D

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: RE: How to get the Gnome-Design? (QT-Design)
« Reply #4 on: October 04, 2006, 02:02:08 pm »
Quote from: "Almindor2"
Gtk2 is far from "complete". It might be "feature" complete, but it's bugged like hell. Some components don't work in gtk2 or work only partialy, some are extremely slow (synedit) and the general speed of gtk2/lcl is extremely slow.


That depends a lot on what you need.

I´ve being using gtk2 lcl with the Virtual Magnifying Glass for about 6 months now, and it works perfectly (ok, almost), and paints very fast.

Also I´ve seen some patches to make it faster on the 0.9.18 new features list. Maybe you could try a recent subversion.

Amnon82

  • New Member
  • *
  • Posts: 37
RE: Re: RE: How to get the Gnome-Design? (QT-Design)
« Reply #5 on: November 01, 2006, 05:42:34 pm »

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Re: RE: How to get the Gnome-Design? (QT-Design)
« Reply #6 on: November 01, 2006, 11:15:36 pm »
You don't need to install anything extra to compile LCL for Gtk 2. Everything necessary comes with Lazarus.

Just open Lazarus, and go to the Menu: Tools --> Configure Build Lazarus

Set all targets to NONE and only LCL to Clean+Build.

Select Gtk 2

And Build Lazarus.

Now, open a project you want to compile for Gtk 2. Go to the Compiler Options menu option. And select Gtk 2 as Widgetset.

Fredz

  • Newbie
  • Posts: 5
How to get the Gnome-Design? (QT-Design)
« Reply #7 on: March 18, 2007, 01:07:18 pm »
To compile LCL for GTK2 on Linux, you need to be root and you must install the package fp-units-gtk2 (Debian) or equivalent.

The GTK2 LCL doesn't seem to be as advanced as the GTK1 one though. Accentuated letters appears as question marks and previsualisation doesn't work in TOpenPictureDialog.

Another problem while using the GTK2 LCL for your application and the GTK1 IDE is that you need to resize small buttons because GTK2 texts are bigger than GTK1 ones.

 

TinyPortal © 2005-2018