[fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-11-23 Thread [EMAIL PROTECTED]
Hi! How to build lazarus with Qt4?? I set the interface of lazarus to Qt and try rebuild only LCL, but when it is rebuilding, it stops because it don't found qt4.pas. I'm doing all steps of wiki (http://wiki.lazarus.freepascal.org/Qt_Interface).

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

2007-11-23 Thread Mattias Gaertner
On Thu, 22 Nov 2007 13:50:59 -0200 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi! > > How to build lazarus with Qt4?? I set the interface of lazarus to Qt > and try rebuild only LCL, but when it is rebuilding, it stops because > it don't found qt4.pas. > > I'm doing all steps of wiki > (ht

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

2007-11-24 Thread Den Jean
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.25 of > 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

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

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 U

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

2007-12-05 Thread [EMAIL PROTECTED]
Hi!! If you ran ldd libqt4intf.so, what is the output? Fabio Luis Girardi 2007/12/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > I'm stupid!!! > > > In lcl/interfaces/qt/qt4.pas is wrote: > > {$IFDEF MSWINDOWS} > QtIntf = 'libqt4intf.dll'; > {$ENDIF} > {$IFDEF LINUX} > QtIntf = 'libqt4intf.so

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

2007-12-05 Thread [EMAIL PROTECTED]
I'm stupid!!! In lcl/interfaces/qt/qt4.pas is wrote: {$IFDEF MSWINDOWS} QtIntf = 'libqt4intf.dll'; {$ENDIF} {$IFDEF LINUX} QtIntf = 'libqt4intf.so'; {$ENDIF} {$IFDEF DARWIN} QtIntf = ''; {$ENDIF} FREEBSD... not found!! :D I sugest add this: {$IFDEF FREEBSD} QtIntf = 'libqt4intf.so'; {$EN

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

2007-12-07 Thread Den Jean
On Tuesday 04 December 2007 05:08:15 pm [EMAIL PROTECTED] wrote: > {$IFDEF FREEBSD} > QtIntf  = 'libqt4intf.so'; > {$ENDIF} but there are many LINUX ifdefs. (see below) It would be complicated to add "... or FREEBSD or NETBSD" everywhere etc. I am considering to replace LINUX with UNIX everywh

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

2007-12-07 Thread Den Jean
On Tuesday 04 December 2007 05:08:15 pm [EMAIL PROTECTED] wrote: > If you ran ldd libqt4intf.so, what is the output? $ ldd -r libqt4intf.so linux-gate.so.1 => (0xe000) libQtCore.so.4 => /usr/lib/qt4/lib/libQtCore.so.4 (0xb7be8000) libQtGui.so.4 => /usr/lib/qt4/lib/lib

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

2007-12-11 Thread [EMAIL PROTECTED]
Hi!! I can build lazarus with Qt in FreeBSD, but when I ran ./startlazarus... crash! Attached the script that build libqt4intf.so in FreeBSD (test) Fabio Luis Girardi 2007/12/7, Den Jean <[EMAIL PROTECTED]>: > > On Tuesday 04 December 2007 05:08:15 pm [EMAIL PROTECTED] wrote: > > If you ran ld

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

2007-12-11 Thread Felipe Monteiro de Carvalho
On Dec 11, 2007 8:05 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I can build lazarus with Qt in FreeBSD, but when I ran ./startlazarus... > crash! In cases of crashes, please create a backtrace http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB -- Felipe Monteiro de Carvalh

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

2007-12-11 Thread Den Jean
On Tuesday 11 December 2007 08:05:49 pm [EMAIL PROTECTED] wrote: > Attached the script that build libqt4intf.so in FreeBSD (test) try to run the demoes of c++ qt4 e.g. cd qt-x11-opensource-src-4.3.1/demos/textedit ./textedit try to build the demo of the fpc qt4 bindings and run those make su

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

2007-12-12 Thread [EMAIL PROTECTED]
I ran qt4 demos and all right! Lazarus demos crash... Attached is the backtrace of lazarus and ldd of lazarus example (hello). I will update my lazarus to a recent snapshot... Fabio Luis Girardi 2007/12/11, Den Jean <[EMAIL PROTECTED]>: > > On Tuesday 11 December 2007 08:05:49 pm [EMAIL PROTE

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

2007-12-12 Thread Den Jean
On Wednesday 12 December 2007 07:33:15 pm Den Jean wrote: > do you have a sse2 capable processor ? compile and run pure pascal (no qt or lazarus) program below to check anyhow (more verbose version of testsse2 of svn/fpctrunk/tests/test/testsse2.pp) { %OPT=-OaVARMAX=16 -OaVARMIN=16 } { %CPU=i386

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

2007-12-12 Thread Den Jean
On Wednesday 12 December 2007 12:24:02 pm [EMAIL PROTECTED] wrote: > $28cf59fa in qt_memfill32_sse2 () from /usr/local/lib/libQtGui.so.4 do you have a sse2 capable processor ? http://en.wikipedia.org/wiki/SSE2 ___ fpc-pascal maillist - fpc-pascal@lis

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

2007-12-14 Thread [EMAIL PROTECTED]
Yes, I have an CPU SSE2 enabled (AMD Athlon 64 X2 3600+) I ran fpc test and the output is: %fpc teste1.pas Free Pascal Compiler version 2.2.0 [2007/09/02] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: FreeBSD/ELF for i386 Compiling teste1.pas teste1.pas(10,2) Note: Local variab

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

2007-12-16 Thread [EMAIL PROTECTED]
I will try disable SSE2 instructions... 2007/12/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Yes, I have an CPU SSE2 enabled (AMD Athlon 64 X2 3600+) > > > I ran fpc test and the output is: > > %fpc teste1.pas > Free Pascal Compiler version 2.2.0 [2007/09/02] for i386 > Copyright (c) 1993-2007 b

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

2007-12-16 Thread Marco van de Voort
On Sat, Dec 15, 2007 at 11:25:59AM -0200, [EMAIL PROTECTED] wrote: > I will try disable SSE2 instructions... My 3700+ already had SSE3, and afaik X2's are newer. So I would be very surprised if it didn't support SSE2 ___ fpc-pascal maillist - fpc-pasca

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

2007-12-17 Thread Den Jean
On Saturday 15 December 2007 02:25:59 pm [EMAIL PROTECTED] wrote: > I will try disable SSE2 instructions... It was a long shot ... can you tell us which freebsd ? if I have time I may give it a try please try latest lazarus svn source again. (you are already using fpc 2.2.0 I see, Ok).

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

2007-12-18 Thread [EMAIL PROTECTED]
Well, FreeBSD is my personal choice. It´s stable and fast, more than Linux or Windows (to me), because it has less drivers (and less bullshit, is a joke :D) than... And have the ports system... I´m creating a project (http://pascalscada.blogspot.com in portuguese) to allow create industrial appli

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

2007-12-18 Thread Jonas Maebe
On 18 Dec 2007, at 11:22, [EMAIL PROTECTED] wrote: 2007/12/17, Den Jean <[EMAIL PROTECTED]>: On Saturday 15 December 2007 02:25:59 pm [EMAIL PROTECTED] wrote: I will try disable SSE2 instructions... It was a long shot ... can you tell us which freebsd ? if I have time I may give it a t

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

2007-12-18 Thread [EMAIL PROTECTED]
Sorry... I read why... I'm using FreeBSD 6.2 (PC-BSD 1.4.1)... I will test on pure FreeBSD 6.2 on my home. Fabio Luis Girardi 2007/12/18, Jonas Maebe <[EMAIL PROTECTED]>: > > > On 18 Dec 2007, at 11:22, [EMAIL PROTECTED] wrote: > > > 2007/12/17, Den Jean <[EMAIL PROTECTED]>: > >> > >> On Saturd

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

2007-12-18 Thread Den Jean
On Tuesday 18 December 2007 11:39:44 am Jonas Maebe wrote: > It appears that you misunderstood the question: he asked *which*   > FreeBSD, not *why* FreeBSD. yes what should I download :-) ? 6.2, 6.3RC1 or 7.0BETA4 ncftp ...FreeBSD/ISO-IMAGES-i386 > ls 6.2 6.2-RELEASE-i386-bootonly.iso

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

2007-12-19 Thread [EMAIL PROTECTED]
6.2 Release disc 1 and 2... 2007/12/18, Den Jean <[EMAIL PROTECTED]>: > > On Tuesday 18 December 2007 11:39:44 am Jonas Maebe wrote: > > It appears that you misunderstood the question: he asked *which* > > FreeBSD, not *why* FreeBSD. > > yes what should I download :-) ? 6.2, 6.3RC1 or 7.0BETA4 > >

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

2007-12-19 Thread [EMAIL PROTECTED]
Debug detailed 2007/12/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi! > > I do some tests in my FreeBSD 6.1. In another FreeBSD 6.2 I build QT from > ports (that is an automated process, that applies some patchs before build). > In my FreeBSD 6.1 I build QT without ports (./configure, make

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

2007-12-21 Thread [EMAIL PROTECTED]
Hi! I do some tests in my FreeBSD 6.1. In another FreeBSD 6.2 I build QT from ports (that is an automated process, that applies some patchs before build). In my FreeBSD 6.1 I build QT without ports (./configure, make, make install) and I got the same result, but with a more detailed backtrace (bec

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

2007-12-21 Thread Den Jean
On Wednesday 19 December 2007 11:37:33 am [EMAIL PROTECTED] wrote: > I do some tests in my FreeBSD 6.1. In another FreeBSD 6.2 I build QT from > ports (that is an automated process, that applies some patchs before > build). In my FreeBSD 6.1 I build QT without ports (./configure, make, make > insta

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

2007-12-21 Thread [EMAIL PROTECTED]
I don't remember if I'm running lazaurs with ./startlazarus or ./lazarus, I will see if this ocurs with GTK2.. Yes, QT4 ports don't work, then I build QT4 manualy. My steps: 1) ./configure -prefix /usr/local/ -no-sse2 -no-glib do QT4 install in /usr/local and disable sse2 and GLib suport.

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

2007-12-21 Thread Den Jean
On Friday 21 December 2007 03:06:32 am [EMAIL PROTECTED] wrote: > Den, you want screenshots? Then see... thanks ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2008-01-02 Thread [EMAIL PROTECTED]
Forwarding... de [EMAIL PROTECTED] <[EMAIL PROTECTED]> para [EMAIL PROTECTED] data 29/12/2007 20:30 assunto Lazarus + Qt4 in FreeBSD Hi, I've just readed thread on fpc-pascal list, and seen your sse2 problem with qt4. I had same thing on linux (Fedora Core 3) and qt4. Just recompile your qt4 li