Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-02 Thread [EMAIL PROTECTED]
I'm interested, but I don't know the correct steps to do the libqt4intf... I
do:

1) Copy Qt4 sources to my home directory;

2) Build Qt4;

3) Copy the compile_lib.bash to compile_lib_fbsd.sh and change it to use my
Qt4 (in my home directory)

4) Run compile_libfbsd.sh

5) Put the libqt4intf.so in /usr/local/lib

6) Rebuild Lazarus without sucess... :(

How you do the libqt4intf.so in Linux?


Fabio Luis Girardi


2007/11/24, Den Jean [EMAIL PROTECTED]:

 On Thursday 22 November 2007 04:50:59 pm [EMAIL PROTECTED] wrote:
  Qt 4.3.1 is installed from ports and my Lazarus snapshot verion 0.9.25of
  22-nov-2007...

 probably because the linker does not find libqt4intf.so.
 I have so bsd experience. Are you interested in
 creating a libqt4intf.so for bsd :-). ?
 if so start from the linux source code and compile script.

 kind regards,

 Den Jean


 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-02 Thread Den Jean
On Saturday 01 December 2007 12:28:21 pm [EMAIL PROTECTED] wrote:
 6) Rebuild Lazarus without sucess... :(

in point 5 you succesfully got a libqt4intf.so ?. Great.
So the rest is just compiling lazarus. 

cd lazarus
make LCL_PLATFORM=qt clean all OPT=dUSE_QT_4_3 

and look at output

The option USE_QT_4_3 is if you use the Qt 4.3.1 libs.
Do not add it if you used the Qt 4.2.3 libs.
 
Did you put llibQtCore.so.4 and libQtGui.so.4 in /usr/local/lib as well ?
and ran ldconfig or the bsd equivalent ?

The resulting executable ofcourse depends on Qt :-)

 ldd ./lazarus | grep -i qt
libqt4intf.so = /usr/lib/libqt4intf.so (0xb7d21000)
libQtCore.so.4 = /usr/lib/qt4/lib/libQtCore.so.4 (0xb7a51000)
libQtGui.so.4 = /usr/lib/qt4/lib/libQtGui.so.4 (0xb7294000)

(/usr/lib on my system) 


regards,

Den Jean
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Re: Help getting started with FPC

2007-12-02 Thread Ingemar Ragnemalm



Edward Kearns wrote:

First of all, note that LWP 0.2.9's demo is TransSkel.p, not  
NewSkel.p, as in the Lightweight Pascal IDE notes.


Yes, that was my fault. I only included the newest demos, but NewSkel.p 
should have been included all the same, since it is the example demo. 
TransSkel is something completely different.


Then when I do  
compile, and see nothing happen, the about box says:


Lightweight IDE: 0.2.9
FPC (Intel): Failed!
FPC (PPC): 2.2.0
GCC: powerpc-apple-Darwin8-gcc-4.0.1(GCC)
TransSkel: 4.0a1
  


Looks perfect! (As long as you don't need to compile for Intel.)


/Ingemar

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2007-12-02 Thread Edward Kearns
Then when I do  compile, and see nothing happen, the about box  
says:



Lightweight IDE: 0.2.9
FPC (Intel): Failed!
FPC (PPC): 2.2.0
GCC: powerpc-apple-Darwin8-gcc-4.0.1(GCC)
TransSkel: 4.0a1




Looks perfect! (As long as you don't need to compile for Intel.)


/Ingemar

That's fine, but I don't have a clue as to how to use FPC. However, I  
don't need to, as Lightweight IDE should do all I want to do.


Ed

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] can we have fpc's doc in chm format?

2007-12-02 Thread Bisma Jayadi
Can we have fpc's doc in chm format? It's easier to navigate and search 
compare to other formats. :)


-Bee-

has Bee.ography at:
http://beeography.wordpress.com
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-02 Thread Michael Van Canneyt


On Sun, 2 Dec 2007, Bisma Jayadi wrote:

 Can we have fpc's doc in chm format? It's easier to navigate and search
 compare to other formats. :)

The reference material: If you complete the chm backend of fpdoc, yes.
The manuals: definitely out.

But I don't see how CHM is better than PDF. PDF offers all that CHM offers,
plus well-formatted printed output.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-02 Thread Bisma Jayadi

The reference material: If you complete the chm backend of fpdoc, yes.
The manuals: definitely out.


Actually, the HTML is all fine. I just don't like to always back and forth 
between TOC and the content due its single page nature. It'd be better if 
the layout is change to 2 page/frame. Left frame for the TOC and the right 
pane for the content.



But I don't see how CHM is better than PDF. PDF offers all that CHM offers,
plus well-formatted printed output.


Every format has its best and worst. If PDF is SO good, how can people think 
about other alternative formats? ;) No need to discuss more about this. :)


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-02 Thread Vincent Snijders

Michael Van Canneyt schreef:


On Sun, 2 Dec 2007, Bisma Jayadi wrote:


Can we have fpc's doc in chm format? It's easier to navigate and search
compare to other formats. :)


The reference material: If you complete the chm backend of fpdoc, yes.
The manuals: definitely out.



I once made a chm from the html files, but the index generated by the 
help compiler was horrible.


Vincent
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] DOM stumbles upon DOCTYPE

2007-12-02 Thread Marc Santhoff
Hi,

I'm trying to use the unit located inn

  fpc-2.0.4/fcl/xml/dom.pp

to parse files starting like this (shortened):

?xml version=1.0 encoding=UTF-8?
!DOCTYPE office:document-meta PUBLIC -//OpenOffice.org//DTD OfficeDocument ...
office:document-meta xmlns:office=http://openoffice.org/2000/office; ...
office:meta
meta:generatorOpenOffice.org 1.1.3 (FreeBSD)/meta:generator
...

but the second line naming the document type makes the parser throw an
exception.

Is this an implementation issue (i.e. ToDo) or do I only have two
twiddle the right knob and which one is it?

TIA,
Marc


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] DOM stumbles upon DOCTYPE

2007-12-02 Thread Marco van de Voort
 I'm trying to use the unit located inn
 
   fpc-2.0.4/fcl/xml/dom.pp
 
 to parse files starting like this (shortened):
 
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE office:document-meta PUBLIC -//OpenOffice.org//DTD OfficeDocument 
 ...
 office:document-meta xmlns:office=http://openoffice.org/2000/office; ...
 office:meta
 meta:generatorOpenOffice.org 1.1.3 (FreeBSD)/meta:generator
 ...
 
 but the second line naming the document type makes the parser throw an
 exception.
 
 Is this an implementation issue (i.e. ToDo) or do I only have two
 twiddle the right knob and which one is it?

There were quite some post 2.0.4 fixes to these units. Please first try a
newer version (even if you can only use 2.0.4 for some reason).
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] DOM stumbles upon DOCTYPE

2007-12-02 Thread Marc Santhoff
Am Sonntag, den 02.12.2007, 21:18 +0100 schrieb Marco van de Voort:
  I'm trying to use the unit located inn
  
fpc-2.0.4/fcl/xml/dom.pp
  
  to parse files starting like this (shortened):
  
  ?xml version=1.0 encoding=UTF-8?
  !DOCTYPE office:document-meta PUBLIC -//OpenOffice.org//DTD 
  OfficeDocument ...
  office:document-meta xmlns:office=http://openoffice.org/2000/office; ...
  office:meta
  meta:generatorOpenOffice.org 1.1.3 (FreeBSD)/meta:generator
  ...
  
  but the second line naming the document type makes the parser throw an
  exception.
  
  Is this an implementation issue (i.e. ToDo) or do I only have two
  twiddle the right knob and which one is it?
 
 There were quite some post 2.0.4 fixes to these units. Please first try a
 newer version (even if you can only use 2.0.4 for some reason).

That doesn't work. Injecting the sources produces masses of errors from
makefile conflicts to missing or unknown functions and syntactical
differences.

I'll filter the line out in code.

Thank you anyways,
Marc


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal