Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Catalin Zamfir Alexandru
Ok, so how do I do to update my QT/Lazarus for the fix you just made? Oh, and by the way, when using MessageDlg (..., , [mbOK, mbCancel], ...) or any other combination, the buttons don't show, the alert box is as wide as the screen [it should be small, relative to the text as in

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Ok, so how do I do to update my QT/Lazarus for the fix you just made? To update you need to use a subversion Lazarus. http://wiki.lazarus.freepascal.org/Getting_Lazarus#Via_SVN Oh, and by the way, when using MessageDlg

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Catalin Zamfir Alexandru
Ok. I'll grab a SVN Lazarus and recompile. I'm still using the FPC 2.0.4 and corespondent Lazarus. Updating sure makes wonders ... On Sunday 24 June 2007 09:25, Felipe Monteiro de Carvalho wrote: On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Ok, so how do I do to update my

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Ok. I'll grab a SVN Lazarus and recompile. I'm still using the FPC 2.0.4 and corespondent Lazarus. Lazarus and FPC don't make releases at the same time. There is usually more then 1 Lazarus version for each FPC version. -- Felipe

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Catalin Zamfir Alexandru
I'm constantly getting this error when trying to compile the SVN Lazarus: /usr/bin/ld: cannot find -lgdk_pixbuf Ideas on how to fix it? What package am I missing? I've searched the .net, no answer ... On Sunday 24 June 2007 11:26, Felipe Monteiro de Carvalho wrote: On 6/24/07,

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: /usr/bin/ld: cannot find -lgdk_pixbuf You need libgdk-pixbuf-devel or a package with similar name. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist -

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Catalin Zamfir Alexandru
Can't find it in the Gentoo package maintainer. Damn ... On Sunday 24 June 2007 12:55, Felipe Monteiro de Carvalho wrote: libgdk-pixbuf-devel ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Can't find it in the Gentoo package maintainer. Damn ... It is a development package required to build gtk 1 applications. It must be there. If you find the gtk2 development packages but don´t find the gtk1 ones you can build your

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Catalin Zamfir Alexandru
Perfect. It compiled for GTK1 and that had big menus with big fonts, totally inesthetic. Anyway, now I have 0.9.23-beta with a SVN Revision: 11365. Is this the latest one that you modified with the Qt patch? Hope so ... :). On Sunday 24 June 2007 13:32, Felipe Monteiro de Carvalho wrote: On

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Catalin Zamfir Alexandru
Great. I've recompiled KCalculator for Qt and the menu bug is gone. Although, we have some more problems, that I'll enumerate here and hope that this feedback helps you guys fix them: 1. The menu icons don't show. In GTK2, custom [a.k.a. inserted by me .ico files] submenu icons show on every

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Felipe Monteiro de Carvalho
On 6/24/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Great. I've recompiled KCalculator for Qt and the menu bug is gone. Although, we have some more problems, that I'll enumerate here and hope that this feedback helps you guys fix them: I would say this is the perfect oportunity if

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread Catalin Zamfir Alexandru
One little question: - how do I read the Qt docs? Do I read the official one and hope that the C/C++ Qt functions have the same name in FPC? Or is there a deposit for this? - do I import the Qt units in FPC to make that program or do I use the Lazarus Source code editor without a form [visual

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-24 Thread micahel schneider
Am Sonntag 24 Juni 2007 schrieb Catalin Zamfir Alexandru: Great. I've recompiled KCalculator for Qt and the menu bug is gone. 2. The menu is higher than the normal Qt menus in all my KDE/Qt-based software. I'm comparing the menu from KMail with the one from Qt-KCalculator and KCalculator's

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
On 6/23/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: The menu problem is really wierd. On a small test app the menus show correctly, I still haven't found what makes one work and the other not. Ok, I found out, at least on my Mac. Mac programs have a different menu structure. So,

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
The menu problem is really wierd. On a small test app the menus show correctly, I still haven't found what makes one work and the other not. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
On 6/23/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: You can download KCalculator from an attachement early in this thread and compile it on a QT 4.3 Interface. If you can't find the attachement I'll make a screenshot. I have found the attachment, but I still want a

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Catalin Zamfir Alexandru
Yes, I use Linux, 2.6.18 kernel, but I really don't think that something has to do with this. Don't really think that the Mac problem repeats itself in Linux. I could try to change the About and Close captions, but really, don't think it would do any good. In any case, I'll

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Catalin Zamfir Alexandru
You're of the Lazarus/FreePascal developers? As far as this thread went, I believe you are :D. Besides this Qt error, what does a developer have to know to enter the FreePascal/Lazarus developer team? I'd like to learn and help you guys back. On Saturday 23 June 2007 16:26,

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-23 Thread Felipe Monteiro de Carvalho
Hi, I just fixed the menu bug =) I had to put a central widget, on top of which the other ones will be placed. The same thing the Gtk interface made. On 6/23/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Besides this Qt error, what does a developer have to know to enter the

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-22 Thread Felipe Monteiro de Carvalho
On 6/21/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: 1. MessageDlg function shows the text, but doesn't show the buttons [mbOK] and [mbCancel]. 2. The menu in KCalculator doesn't show. It's there, but the EditResult TEdit component along with the butons just top it, instead of sitting

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-22 Thread Catalin Zamfir Alexandru
Please point me to the FreePascal/Lazarus BugZilla. :P On Friday 22 June 2007 18:55, Felipe Monteiro de Carvalho wrote: On 6/21/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: 1. MessageDlg function shows the text, but doesn't show the buttons [mbOK] and [mbCancel]. 2. The menu in

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-22 Thread Felipe Monteiro de Carvalho
On 6/22/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Please point me to the FreePascal/Lazarus BugZilla. :P http://wiki.lazarus.freepascal.org/How_do_I_create_a_bug_report ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Felipe Monteiro de Carvalho
On 6/21/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: I have Qt 3.6 [the last in the Gentoo package]. Do I really need Qt 4.3, Yes, you really need Qt 4.3 But that's not the error message that you are receiving. V1.37?! That's the version of the bindings -- Felipe Monteiro de

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread vsnijders
- Original Message - From: Catalin Zamfir Alexandru [EMAIL PROTECTED] According to the instructions on the Qt_Interface Lazarus Wiki Page. That is what I assume you did. But to make sure you did all the required steps, I asked if you could outline them in your own words. On

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Catalin Zamfir Alexandru
Went and compiled Clean + Build on LCL, while setting the rest to None. Selected Qt as interface and the went on with the normal compilation [Build Lazarus and all, acording to the info on the Wiki]. On Thursday 21 June 2007 10:21, [EMAIL PROTECTED] wrote: - Original Message - From:

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Catalin Zamfir Alexandru
I re-re-recompiled. Now, when setting QT on my project I don't receive the can't find unit qtint error which is good, but I receive errors from: /usr/lib/libqtintf.so: different errors here from QT classes/functions. Which I asume is the fact that I don't have QT 4.3 installed. Do you guys

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Felipe Monteiro de Carvalho
I am trying here, but it's hard to install qt 4.3 on my Mandriva ... I found some pre-compiled packages, but they require that I update my glibc (and I am definetively not doing that, it's easier to reinstall the entire os) -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Den Jean
On Thursday 21 June 2007 11:32:56 am Felipe Monteiro de Carvalho wrote: I am trying here, but it's hard to install qt 4.3 on my Mandriva ... I found some pre-compiled packages, but they require that I update my glibc (and I am definetively not doing that, it's easier to reinstall the entire

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Felipe Monteiro de Carvalho
In the next few days I will add a conditional define to select if you want to work with Qt 4.3 or Qt 4.2 This should allow for more flexibility when deploying the application. bye, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist -

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Catalin Zamfir Alexandru
I may have the easiest job of them all. I'm updating my Gentoo QT to 4.3 which compiles the source, installs it and makes all necesary adjustments. Still compiling. 4 hours have passed and Qt is still compiling. Sincerely, don't know why I even bother, but once it's finished I

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Catalin Zamfir Alexandru
Ok, it works but I have problems: 1. MessageDlg function shows the text, but doesn't show the buttons [mbOK] and [mbCancel]. 2. The menu in KCalculator doesn't show. It's there, but the EditResult TEdit component along with the butons just top it, instead of sitting right below it, they float

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Daniël Mantione
Op Thu, 21 Jun 2007, schreef Catalin Zamfir Alexandru: I may have the easiest job of them all. I'm updating my Gentoo QT to 4.3 which compiles the source, installs it and makes all necesary adjustments. Still compiling. 4 hours have passed and Qt is still compiling. QT

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Den Jean
On Thursday 21 June 2007 11:58:38 am Catalin Zamfir Alexandru wrote: Still compiling. 4 hours have passed and Qt is still compiling. hehe, that is why I just bought a new computer (Core2Duo,2GB): 20 minutes now :-). But 4 hours is a lot, it did not take that long on my 2.54GHz with 256

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Felipe Monteiro de Carvalho
I just added here support for Qt 4.2 Only some ifdefs to switch between qt4 and the qt42 unit were necessary. You can turn the Qt 4.2 mode using the define USE_QT_4_2. commited on revision 11352 Unfortunately it didn't work. Compiles and links fine, but crashes at startup. Not sure what is

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Alain Michaud
Hi, I am currently running in KDE-3.4. I am going to ruin my system if I try to compile QT-4 ? thanks Alain On Thu, 2007-06-21 at 14:30 +0200, Daniël Mantione wrote: Op Thu, 21 Jun 2007, schreef Catalin Zamfir Alexandru: I may have the easiest job of them all. I'm

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: Backtrace just for the record: [EMAIL PROTECTED] test]$ ./projecttest Gleitkomma-Ausnahme Floating point exception. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Catalin Zamfir Alexandru
If you're on Gentoo and enable the qt3support flag, no, you will not. On Thursday 21 June 2007 18:32, Alain Michaud wrote: Hi, I am currently running in KDE-3.4. I am going to ruin my system if I try to compile QT-4 ? thanks Alain On Thu, 2007-06-21 at 14:30 +0200, Daniël

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-21 Thread Felipe Monteiro de Carvalho
On 6/21/07, Alain Michaud [EMAIL PROTECTED] wrote: I am currently running in KDE-3.4. I am going to ruin my system if I try to compile QT-4 ? AFAIK Qt 3 and Qt 4 can live side by side without problems, the libraries have different names, one should not interfere with the other. --

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Mattias Gaertner
On Wed, 20 Jun 2007 18:58:31 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Hello, I've made this KCalculator for KDE: http://kde-apps.org/content/show.php/KCalculator?content=60813 I want to compile the project in QT, not GTK2. How can I do that? When I try it [switching from

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
Yes, and I get a can't find unit qtint error. Why that? On Wednesday 20 June 2007 19:53, Mattias Gaertner wrote: On Wed, 20 Jun 2007 18:58:31 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Hello, I've made this KCalculator for KDE:

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Felipe Monteiro de Carvalho
On 6/20/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, and I get a can't find unit qtint error. Why that? Did you rebuild LCL for the Qt interface? You need write access to your lazarus directory to do that. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
Yes, built LCL for the Qt Interface. Compilation went great. On Wednesday 20 June 2007 23:32, Felipe Monteiro de Carvalho wrote: On 6/20/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, and I get a can't find unit qtint error. Why that? Did you rebuild LCL for the Qt interface? You

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Vincent Snijders
On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. A trick question: how did you do that exactly? Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Felipe Monteiro de Carvalho
On 6/20/07, Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. Can you put the source code somewhere so I can test? By using Qt opensource you will need to release your software under GPL anyway, so I suppose this is no problem. --

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread micahel schneider
Am Mittwoch 20 Juni 2007 schrieb Vincent Snijders: On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. Is your installed QT version the same as the version of the bindings (QT 4.3 in V1.37)?

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
According to the instructions on the Qt_Interface Lazarus Wiki Page. On Thursday 21 June 2007 00:49, Vincent Snijders wrote: On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. A trick question:

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Catalin Zamfir Alexandru
I have Qt 3.6 [the last in the Gentoo package]. Do I really need Qt 4.3, V1.37?! On Friday 22 June 2007 01:00, micahel schneider wrote: Am Mittwoch 20 Juni 2007 schrieb Vincent Snijders: On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL