David Emerson | 1 Dec 01:22

Re: QT binding works!

I'm sorry for being so dense, but where are these Options? I have looked 
in Environment > Options, Tools > Configure Build Lazarus Options, 
Project > Compiler Options ... maybe I missed it?

Thanks!
David

On Tue 24 Nov 2009, Mattias Gaertner wrote:
> On Tue, 24 Nov 2009 15:12:16 -0800
> David Emerson <dle3ab <at> angelbase.com> wrote:
> 
> > I also have an svn installation (actually git) and the same problem 
> > occurs there: 
> > make: Entering directory `/usr/lib/lazarus/0.9.28.2/lcl'
> > 
> > I'm not sure why my svn version wants to go to /usr/lib ... maybe 
the 
> > problem is that I have both installed?
> 
> Check Options / Paths / Lazarus source directory
> 
> Mattias
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus <at> lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> 

(Continue reading)

David Emerson | 1 Dec 01:26

trouble with packages

I have created a package called "sarala_tools" which I'm using in a 
couple projects. I've found it fun, interesting, and incredibly useful 
to create packages.

All was working great for a while, but now one of my projects has 
decided that it cannot find one of the units that is part of the 
sarala_tools package. I can compile the package just fine from 
the "open loaded package" > "package sarala_tools" window.

When I create a new project that uses the package I don't see such a 
problem.

I'm really not sure how to go about fixing my project. Any tips?

Thanks,
David

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Phil Hess | 1 Dec 01:30
Favicon

Re: QT binding works!

David,

I believe that refers to Environment | Options, then on the Environment Files tab, look for "Lazarus directory".

Thanks.

-Phil

----- "David Emerson" <dle3ab <at> angelbase.com> wrote:

> I'm sorry for being so dense, but where are these Options? I have
> looked 
> in Environment > Options, Tools > Configure Build Lazarus Options, 
> Project > Compiler Options ... maybe I missed it?
> 
> Thanks!
> David
> 
> On Tue 24 Nov 2009, Mattias Gaertner wrote:
> > On Tue, 24 Nov 2009 15:12:16 -0800
> > David Emerson <dle3ab <at> angelbase.com> wrote:
> > 
> > > I also have an svn installation (actually git) and the same
> problem 
> > > occurs there: 
> > > make: Entering directory `/usr/lib/lazarus/0.9.28.2/lcl'
> > > 
> > > I'm not sure why my svn version wants to go to /usr/lib ... maybe
> 
> the 
(Continue reading)

Phil Hess | 1 Dec 01:34
Favicon

Re: trouble with packages

David,

Can you right click in the Message window (at bottom) and copy all messages to the clipboard, then send the
last few lines here. I'm curious to see whether it's a checksum issue that I've been wrestling with.

Thanks.

-Phil

----- "David Emerson" <dle3ab <at> angelbase.com> wrote:

> I have created a package called "sarala_tools" which I'm using in a 
> couple projects. I've found it fun, interesting, and incredibly useful
> 
> to create packages.
> 
> All was working great for a while, but now one of my projects has 
> decided that it cannot find one of the units that is part of the 
> sarala_tools package. I can compile the package just fine from 
> the "open loaded package" > "package sarala_tools" window.
> 
> When I create a new project that uses the package I don't see such a 
> problem.
> 
> I'm really not sure how to go about fixing my project. Any tips?
> 
> Thanks,
> David
> 
> 
(Continue reading)

Graeme Geldenhuys | 1 Dec 07:32
Picon
Gravatar

Re: trouble with packages

David Emerson wrote:
> All was working great for a while, but now one of my projects has 
> decided that it cannot find one of the units that is part of the 

Can you open the package and double click on the unit in question in
that package window? Does it find it and open correctly in the IDE? I
often found that I might have manually renamed a unit (Linux case
sensitive can cause unexpected results). The package compiles fine, but
I experienced the same issues as you. Then when I tried to open that
unit, package says it cannot find it. It seems the old .ppu file fooled
the package for a long while.

Clear you unit output directory by deleting all *.ppu, *.o and *.a files
and recompile the package - it should then complain if it can't find a unit.

Old *.ppu files can be a real evil sometimes.

Other than that, I fully agree with you about Packages. To me, they are
the single most handy feature in Lazarus IDE!

Regards,
  - Graeme -

--

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
(Continue reading)

Roberto Padovani | 1 Dec 08:24
Picon

Re: trouble with packages

2009/12/1 Graeme Geldenhuys <graeme <at> mastermaths.co.za>:
> David Emerson wrote:
>
> Other than that, I fully agree with you about Packages. To me, they are
> the single most handy feature in Lazarus IDE!
>
> Regards,
>  - Graeme -
>
> --

Very handy, but I have some packages installed in lazarus 0.9.26 and
now I would like to install 0.9.28.2.
How can I keep the packages? I mean, is it possible to upgrade lazarus
rather then reinstall?
When I moved from 0.9.24 to 0.9.26 I had to find again on internet all
the packages I used to have and reinstall :-(

R#

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

zeljko | 1 Dec 08:27

Re: QT bindings as defalt (was Release 1.0, part 2)

On Monday 30 November 2009 18:17, Phil Hess wrote:
> I wish I knew! I really don't have time (or patience) to do more than test
> Orpheus against each widgetset for the stable release of Lazarus.
>
> A couple observations are in order:
>
> (1) Although once in a while I stumble across something in the Orpheus code
> that allows me to fix a problem (as in the expression "Even a blind sow
> occasionally finds an acorn"), in general improvements in Orpheus are due
> to improvements in the LCL and widgetsets. Or in some cases, as happened
> with 0.9.28, Orpheus gets worse over time through no fault of its own.

My fast observations & qt fixes from last night:
1.I've fixed crash in getRegionType function (qt) which happens when someone 
create region with negative width or height.

2.Orpheus spinner control (and maybe others) crashed under qt because of 
MyMisc.ptInRegion() implementation.

function PtInRegion(RGN: HRGN; X, Y: Integer) : Boolean;
{$IFDEF MSWINDOWS}
begin
  Result := Windows.PtInRegion(RGN, X, Y);
{$ELSE}
var
  ARect : TRect;
  APt   : TPoint;
begin
  GetRgnBox(RGN, @ARect);
  APt.X := X;
(Continue reading)

zeljko | 1 Dec 08:31

Re: QT bindings as defalt

On Monday 30 November 2009 18:25, Phil Hess wrote:

> Yes, all of the non-Windows widgetsets should behave the same with Orpheus.
> If not, then there's probably some difference or issue in the widgetset. I
> say "non-Windows" because with win32 you have access to the full Win API,
> so there are some things that have to be simulated on non-Windows
> platforms.
>
> It's a little odd that with Orpheus, Carbon seems to be the most stable of
> all the non-Windows widgetsets. I would not expect that since it's the
> newest of the 4.
>
> Another package that reveals some widgetset differences is this one:
>
> http://wiki.lazarus.freepascal.org/THtmlPort
>
> With THtmlPort, Carbon is actually the most stable, even more stable than
> Windows. GTK2 doesn't run at all and I didn't even bother to test Qt.
> You're welcome to see if you can get it to work on Qt though.

I'll check it today.

>
> I'm not sure how good a test the IDE is. That's kind of like saying, "Well,
> it worked in the lab, why doesn't work in the field?"

hm..I don't agree with you at all.IDE works ok, our commercial apps works ok 
(all ported from K3/D7) + 3rd party components (FastReports, TMS grids 
etc...) and we don't have such problems.When you say that something works ok 
on Carbon, but crashes under win32 or gtk2 then it doesn't deserve to blame 
(Continue reading)

Graeme Geldenhuys | 1 Dec 08:42
Picon
Gravatar

In v0.9.28.3 (svn) the Compiler Options dialog is broken


http://bugs.freepascal.org/view.php?id=15226

The last two tabs/options:  "Inherited" and "Compilation" doesn't work
correctly.

I don't know if the same applies in Trunk, I only updated to 0.9.28.3
(svn) now and tested that.

Regards,
  - Graeme -

--

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Graeme Geldenhuys | 1 Dec 08:45
Picon
Gravatar

Re: trouble with packages

Roberto Padovani wrote:
> When I moved from 0.9.24 to 0.9.26 I had to find again on internet all
> the packages I used to have and reinstall :-(

I install external 3rdParty packages (not included with Lazarus) in a
separate folder from the Lazarus directory. eg:

 /opt/lazarus/              <-- lazarus IDE, LCL, source
 /opt/lazarus-addons/       <-- external addons

That way I can trash, reinstall, upgrade /opt/lazarus/ and my 3rdParty
addons stay untouched.

Regards,
  - Graeme -

--

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Gmane