[Gambas-user] IDE improvement
I would suggest a little IDE improvement... I think that it should be useful and clearer to change the state of the cursor icon to busy then we compile a project so that the user can clearly see when the operations terminates. Now the only way to know when the operation ends is to look at the status bar in he bottom left corner and wait for the message compilation... (etc) disappears. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leona...@leonardomiliani.com Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunità italiana degli utenti di Gambas www.gambas-it.org -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
Benoît Minisini schrieb: Benoit, I trying to compile and install Gambas 3 from the svn trunk and I have the same problem like Rolf. When I start the compilation by: make= I have the same error on : cannot find -lqt-mt I tryed to compile Gambas 3 on Fedora 7 and Fedora 10, and the both case I have the same problem. I verify the library and all it's ok: on Fedora 10 [r...@linusky ~]# ls -l /usr/lib/qt-3.3/lib/ total 19380 -rw-r--r-- 1 root root 7897526 oct. 8 15:19 libdesignercore.a -rw-r--r-- 1 root root1050 oct. 8 15:18 libdesignercore.prl -rw-r--r-- 1 root root 509178 oct. 8 15:19 libeditor.a -rw-r--r-- 1 root root 956 oct. 8 15:18 libeditor.prl -rw-r--r-- 1 root root 41204 oct. 8 15:19 libqassistantclient.a -rw-r--r-- 1 root root 967 oct. 8 15:18 libqassistantclient.prl lrwxrwxrwx 1 root root 15 déc. 5 02:24 libqsa.so - libqsa.so. 1.1.4 lrwxrwxrwx 1 root root 15 déc. 5 02:20 libqsa.so.1 - libqsa.so. 1.1.4 lrwxrwxrwx 1 root root 15 déc. 5 02:20 libqsa.so.1.1 - libqsa.so.1.1.4 -rwxr-xr-x 1 root root 2106324 mars 25 2008 libqsa.so.1.1.4 -rw-r--r-- 1 root root 964 oct. 8 15:18 libqt-mt.prl lrwxrwxrwx 1 root root 17 déc. 5 13:06 libqt-mt.so - libqt- mt.so.3.3.8 lrwxrwxrwx 1 root root 17 déc. 5 12:38 libqt-mt.so.3 - libqt- mt.so.3.3.8 lrwxrwxrwx 1 root root 17 déc. 5 12:38 libqt-mt.so.3.3 - libqt- mt.so.3.3.8 -rwxr-xr-x 1 root root 8880140 oct. 8 15:19 libqt-mt.so.3.3.8 -rw-r--r-- 1 root root 852 oct. 8 15:18 libqui.prl lrwxrwxrwx 1 root root 15 déc. 5 13:06 libqui.so - libqui.so. 1.0.0 lrwxrwxrwx 1 root root 15 déc. 5 12:38 libqui.so.1 - libqui.so. 1.0.0 lrwxrwxrwx 1 root root 15 déc. 5 12:38 libqui.so.1.0 - libqui.so.1.0.0 -rwxr-xr-x 1 root root 255332 oct. 8 15:19 libqui.so.1.0.0 Olivier Cruilles Mail: linu...@club-internet.fr If Redhat puts the Qt library in a strange place, maybe the configure script cannot find it. And if nobody posts the output of configure, fixing that is hard! Benoit, I wanted to post my configure etc. output, but the list refused to publish it because it's too big, waiting for the admin... Either you pick this mail from there or I'll send it to you as PM. Please advise. Regards Rolf -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
On Wednesday 18 February 2009, Benoît Minisini wrote: Benoit, I trying to compile and install Gambas 3 from the svn trunk and I have the same problem like Rolf. When I start the compilation by: make= I have the same error on : cannot find -lqt-mt I tryed to compile Gambas 3 on Fedora 7 and Fedora 10, and the both case I have the same problem. I verify the library and all it's ok: on Fedora 10 [r...@linusky ~]# ls -l /usr/lib/qt-3.3/lib/ total 19380 -rw-r--r-- 1 root root 7897526 oct. 8 15:19 libdesignercore.a -rw-r--r-- 1 root root1050 oct. 8 15:18 libdesignercore.prl -rw-r--r-- 1 root root 509178 oct. 8 15:19 libeditor.a -rw-r--r-- 1 root root 956 oct. 8 15:18 libeditor.prl -rw-r--r-- 1 root root 41204 oct. 8 15:19 libqassistantclient.a -rw-r--r-- 1 root root 967 oct. 8 15:18 libqassistantclient.prl lrwxrwxrwx 1 root root 15 déc. 5 02:24 libqsa.so - libqsa.so. 1.1.4 lrwxrwxrwx 1 root root 15 déc. 5 02:20 libqsa.so.1 - libqsa.so. 1.1.4 lrwxrwxrwx 1 root root 15 déc. 5 02:20 libqsa.so.1.1 - libqsa.so.1.1.4 -rwxr-xr-x 1 root root 2106324 mars 25 2008 libqsa.so.1.1.4 -rw-r--r-- 1 root root 964 oct. 8 15:18 libqt-mt.prl lrwxrwxrwx 1 root root 17 déc. 5 13:06 libqt-mt.so - libqt- mt.so.3.3.8 lrwxrwxrwx 1 root root 17 déc. 5 12:38 libqt-mt.so.3 - libqt- mt.so.3.3.8 lrwxrwxrwx 1 root root 17 déc. 5 12:38 libqt-mt.so.3.3 - libqt- mt.so.3.3.8 -rwxr-xr-x 1 root root 8880140 oct. 8 15:19 libqt-mt.so.3.3.8 -rw-r--r-- 1 root root 852 oct. 8 15:18 libqui.prl lrwxrwxrwx 1 root root 15 déc. 5 13:06 libqui.so - libqui.so. 1.0.0 lrwxrwxrwx 1 root root 15 déc. 5 12:38 libqui.so.1 - libqui.so. 1.0.0 lrwxrwxrwx 1 root root 15 déc. 5 12:38 libqui.so.1.0 - libqui.so.1.0.0 -rwxr-xr-x 1 root root 255332 oct. 8 15:19 libqui.so.1.0.0 Olivier Cruilles Mail: linu...@club-internet.fr If Redhat puts the Qt library in a strange place, maybe the configure script cannot find it. And if nobody posts the output of configure, fixing that is hard! From the problems I have it did look to me something with qt was failing. In the configure there is/was no mention about qt-mt but in the log from 'make' it occurs on some parts related to gb.gt. I did give you those logs also the ones from make install with the -v flag for the gbi calls. I commented even the place in that special log where the gbi -v was aborted. Never got a hint from that action you requested me to do with -v flag. It may be not exact the same problem but strong related in my view by reading my log files line by line. The compare for diffs between kubuntu8.04 - kubuntu-8.10 and your mandrake was interesting but not effective. However we din never look to where the diffs where for the qt libs and that is interesting to. kubuntu 8.04 based on qt3 kde3 kubuntu 8.10 based on qt4 kde4 I did see in the 'make' log references for gcc for lib paths to lib/qt4 Attached the result for 'locate qt3' (removed the /user/share/doc lines) So I did give up, live goes on for you and me. r...@terminator:~$ locate libqt-mt pclinux-2007 mounted at /mnt/sda2 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.la /mnt/sda2/usr/lib/qt3/lib/libqt-mt.prl /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3.3 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3.3.8 kubuntu-8.04 /usr/lib/libqt-mt.la /usr/lib/libqt-mt.prl /usr/lib/libqt-mt.so /usr/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3.3 /usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.la /usr/share/qt3/lib/libqt-mt.prl /usr/share/qt3/lib/libqt-mt.so /usr/share/qt3/lib/libqt-mt.so.3 /usr/share/qt3/lib/libqt-mt.so.3.3 Best regards, Ron_1st -- /usr/lib/libqt-mt.la /usr/lib/libqt-mt.prl /usr/lib/libqt-mt.so /usr/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3.3 /usr/lib/libqt-mt.so.3.3.8 /usr/lib/libqthreads.so.12 /usr/lib/libqthreads.so.12.3.1 /usr/lib/libqtmcop.a /usr/lib/libqtmcop.la /usr/lib/libqtmcop.so /usr/lib/libqtmcop.so.1 /usr/lib/libqtmcop.so.1.0.0 /usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so /usr/lib/qt4/plugins/accessible/libqtaccessiblecompatwidgets.so /usr/lib/qt4/plugins/accessible/libqtaccessiblewidgets.so /usr/lib/qt4/plugins/codecs/libqtwcodecs.so /usr/lib/qt4/plugins/designer/libqt3supportwidgets.so /usr/lib/qt4/plugins/imageformats/libqtiff.so /usr/lib/qt4/plugins/script/libqtscriptdbus.so /usr/share/lintian/overrides/libqt4-assistant /usr/share/lintian/overrides/libqt4-dbus /usr/share/lintian/overrides/libqt4-designer /usr/share/lintian/overrides/libqt4-dev /usr/share/lintian/overrides/libqt4-help /usr/share/lintian/overrides/libqt4-network /usr/share/lintian/overrides/libqt4-opengl /usr/share/lintian/overrides/libqt4-qt3support /usr/share/lintian/overrides/libqt4-script /usr/share/lintian/overrides/libqt4-sql /usr/share/lintian/overrides/libqt4-svg /usr/share/lintian/overrides/libqt4-test
Re: [Gambas-user] Gambas 2 - Gambas 3
On Tuesday 17 February 2009, richard terry wrote: On Tue, 17 Feb 2009 09:42:09 pm Rolf-Werner Eilert wrote: Benoît Minisini schrieb: Good morning Benoit (and everyone) Just came about a question: When I want to bring my Gambas2 app to Gambas3, will this be as roundabout as it is from Gambas1 to Gambas2? (Creating new forms and converting the code...) Or is it more upward compatible? The reason for asking this is that you told me that you would just maintain bugfixes in Gambas2 and bring changes only to Gambas3. As I'm still maintaining some bigger Gambas1 projects, I would then migrate them to Gambas3 directly rather than having them under Gambas2 - if it's as much work again... Hope I could make clear what I mean... Regards Rolf The weirdest thing between Gambas 2 and Gambas 3 at the moment is Desktop.Scale, that is smaller in Gambas 3. Gambas 3 does a little conversion for controls whose W and H = 3 * Desktop.Scale (it adds one Desktop.Scale), but you have to update all your forms and check them one by one to redesign them. There are many other changes in instruction syntax and class interfaces, but I never note them at the moment. Hopefully, they are less changes between Gambas 3 and Gambas 2 than between Gambas 2 and Gambas 1. So please try and tell us the result! :-) LOL - ok, I will. I would. If I could. Downloaded the svn and tried to compile it, it stopps here: /usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status make[5]: *** [gb.qt.kde.html.la] Fehler 1 make[5]: Leaving directory `/home/tester/gambastest/trunk/gb.qt.kde/src/html' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/home/tester/gambastest/trunk/gb.qt.kde/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/tester/gambastest/trunk/gb.qt.kde' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/tester/gambastest/trunk/gb.qt.kde' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/tester/gambastest/trunk' make: *** [all] Fehler 2 And here I have seen the same problem but without abort. and be able to do make install and that does also not fail but gives warnings and the final result does not work. (after reading log files line by line and looks intermittent yes/no) # gambas3 Error in form.XXX Cant find 'Project file' bla bla Any idea what's wrong here? I compile the svn daily, and I had the exact same problem which appeared suddenly a month ago and my previous scripts for compiling gambas3 stopped working, despite the fact that the appropriate libraries seemed to be on my machine, and in theory the pathways were as well. Now the sad part. After days and days of searching every forum on the internet I found a solution which I can't remember. But the potential good news, its contained within my PKGBUILD file which I use to compile the package with, so I've enclosed it. I think. and not sure, that it was this line: make LDFLAGS+=-L/opt/qt/lib that I included in the script which made the difference. Hope this helps. Richard There is an older Gambas3 on my system which is running ok, should I try with that one? Don't know how old it is, but it has a Copyright until 2009 in the help... :-) Rolf So i'm not the only one that has problems. No body else did respond except charlie with a log on his system. r...@terminator:~$ locate libqtmc kubuntu 8.04 LTS (long term support) /usr/lib/libqtmcop.a /usr/lib/libqtmcop.la /usr/lib/libqtmcop.so /usr/lib/libqtmcop.so.1 /usr/lib/libqtmcop.so.1.0.0 Best regards, Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --- A: Top-posting. Q: What is the most annoying thing in e-mail? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Filename as string
I have managed to sort this out now. I am using the code; TextBox1.Text = File.Dir(Dialog.path) / File.Name(Dialog.path) But (and I don't know if I should start a new topic or not) I am curious as to how to run a command from gambas. For example, when you are installing a 'deb' file, you get a window displaying what is happening with the install rather than seeing it through the command line. richard terry-5 wrote: On Wed, 18 Feb 2009 12:30:43 am FoxIII wrote: I am very new to Gambas (and programming in general). I am trying to retrieve a filename as string from fileview so I can display it on the screen, but do not seem to be able to manage it. I know this may sound a bit of a simple request, but for a total beginner, the help files are not entirely, well, helpful. hehe If you post your code to show what you are attempting and what is failing we can better help you. Regards Richard -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- View this message in context: http://www.nabble.com/Filename-as-string-tp22057355p22077161.html Sent from the gambas-user mailing list archive at Nabble.com. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Help with some parsing
nando ha scritto: I got a chuckle from this one. A typewriter, those mechanical things that are only in black and white movies and museum actually performed CRLF using that bar to perform the line feed and carriage return. And CR LF comes from that. All the software I write for HTTP, ascii files, When reading, I only look for the LF. If I find a CR, I just ignore it. I have yet to find a case it normally doesn't work with. I agree partially with you - I don't like the CR-LF convention: I think that a single LF is enough. But your programs, even if they ignore LF when reading, still use CR-LF when writing (I hope!), otherwise they did not respect the standard. And about the standard... someone in the past said a single LF would be the line terminator. But someone else thought that CR was enough (Apple computers for example, and before, other mainframes like VAX). Then, still someone else thought that neither was good, and used CRLF. If the american DoD, from which our Internet comes, decided CR-LF was the way to go, they too had good reasons, I think, even if I don't know them. I admire so much who invented IP, TCP/IP, FTP, HTTP, that I take for good what they said: CR-LF is the right line terminator even if I don't like it. Maybe this is the reason why they decided to use CR-LF. This way, lines can be easily interpreted on Unix, Windows, and MacOS. Choosing just CR or just LF whould have done things more difficult for the two other OS. Just my 2 cents. -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] IDE improvement
I would suggest a little IDE improvement... I think that it should be useful and clearer to change the state of the cursor icon to busy then we compile a project so that the user can clearly see when the operations terminates. Now the only way to know when the operation ends is to look at the status bar in he bottom left corner and wait for the message compilation... (etc) disappears. The cursor icon *is* changed to busy when you compile the project. You don't have to wait for the message to disappear. As soon as you don't see the busy cursor anymore, the compilation is finished. Or maybe the compiler is too fast? :-) -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
On Wednesday 18 February 2009, Benoît Minisini wrote: Benoit, I trying to compile and install Gambas 3 from the svn trunk and I have the same problem like Rolf. When I start the compilation by: make= I have the same error on : cannot find -lqt-mt I tryed to compile Gambas 3 on Fedora 7 and Fedora 10, and the both case I have the same problem. I verify the library and all it's ok: on Fedora 10 [r...@linusky ~]# ls -l /usr/lib/qt-3.3/lib/ total 19380 -rw-r--r-- 1 root root 7897526 oct. 8 15:19 libdesignercore.a -rw-r--r-- 1 root root1050 oct. 8 15:18 libdesignercore.prl -rw-r--r-- 1 root root 509178 oct. 8 15:19 libeditor.a -rw-r--r-- 1 root root 956 oct. 8 15:18 libeditor.prl -rw-r--r-- 1 root root 41204 oct. 8 15:19 libqassistantclient.a -rw-r--r-- 1 root root 967 oct. 8 15:18 libqassistantclient.prl lrwxrwxrwx 1 root root 15 déc. 5 02:24 libqsa.so - libqsa.so. 1.1.4 lrwxrwxrwx 1 root root 15 déc. 5 02:20 libqsa.so.1 - libqsa.so. 1.1.4 lrwxrwxrwx 1 root root 15 déc. 5 02:20 libqsa.so.1.1 - libqsa.so.1.1.4 -rwxr-xr-x 1 root root 2106324 mars 25 2008 libqsa.so.1.1.4 -rw-r--r-- 1 root root 964 oct. 8 15:18 libqt-mt.prl lrwxrwxrwx 1 root root 17 déc. 5 13:06 libqt-mt.so - libqt- mt.so.3.3.8 lrwxrwxrwx 1 root root 17 déc. 5 12:38 libqt-mt.so.3 - libqt- mt.so.3.3.8 lrwxrwxrwx 1 root root 17 déc. 5 12:38 libqt-mt.so.3.3 - libqt- mt.so.3.3.8 -rwxr-xr-x 1 root root 8880140 oct. 8 15:19 libqt-mt.so.3.3.8 -rw-r--r-- 1 root root 852 oct. 8 15:18 libqui.prl lrwxrwxrwx 1 root root 15 déc. 5 13:06 libqui.so - libqui.so. 1.0.0 lrwxrwxrwx 1 root root 15 déc. 5 12:38 libqui.so.1 - libqui.so. 1.0.0 lrwxrwxrwx 1 root root 15 déc. 5 12:38 libqui.so.1.0 - libqui.so.1.0.0 -rwxr-xr-x 1 root root 255332 oct. 8 15:19 libqui.so.1.0.0 Olivier Cruilles Mail: linu...@club-internet.fr If Redhat puts the Qt library in a strange place, maybe the configure script cannot find it. And if nobody posts the output of configure, fixing that is hard! From the problems I have it did look to me something with qt was failing. In the configure there is/was no mention about qt-mt but in the log from 'make' it occurs on some parts related to gb.gt. I did give you those logs also the ones from make install with the -v flag for the gbi calls. I commented even the place in that special log where the gbi -v was aborted. Never got a hint from that action you requested me to do with -v flag. It may be not exact the same problem but strong related in my view by reading my log files line by line. The compare for diffs between kubuntu8.04 - kubuntu-8.10 and your mandrake was interesting but not effective. However we din never look to where the diffs where for the qt libs and that is interesting to. kubuntu 8.04 based on qt3 kde3 kubuntu 8.10 based on qt4 kde4 I did see in the 'make' log references for gcc for lib paths to lib/qt4 Attached the result for 'locate qt3' (removed the /user/share/doc lines) So I did give up, live goes on for you and me. r...@terminator:~$ locate libqt-mt pclinux-2007 mounted at /mnt/sda2 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.la /mnt/sda2/usr/lib/qt3/lib/libqt-mt.prl /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3.3 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3.3.8 kubuntu-8.04 /usr/lib/libqt-mt.la /usr/lib/libqt-mt.prl /usr/lib/libqt-mt.so /usr/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3.3 /usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.la /usr/share/qt3/lib/libqt-mt.prl /usr/share/qt3/lib/libqt-mt.so /usr/share/qt3/lib/libqt-mt.so.3 /usr/share/qt3/lib/libqt-mt.so.3.3 Best regards, Ron_1st Do you know why there is libqt-mt.so.3.* at two different places on your system? (/usr/lib and /usr/share/qt3/lib) -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
Hi, it happened to me some day ago, there is what I did to fix it. # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3.8 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so And just be aware that my system is 64 Bits. By the way, I agree with Ron. I my case Gambas 3 compiles fine, but suddenly it crash in the make process telling me the problem about qt-mt, I try to fin the lib with kfind and realize that libqt-mt was unaccessible, could be Gambas involved? Regards -- David - Original Message From: Benoît Minisini gam...@users.sourceforge.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wednesday, February 18, 2009 8:37:38 AM Subject: Re: [Gambas-user] Gambas 2 - Gambas 3 On Wednesday 18 February 2009, Benoît Minisini wrote: Benoit, I trying to compile and install Gambas 3 from the svn trunk and I have the same problem like Rolf. When I start the compilation by: make= I have the same error on : cannot find -lqt-mt I tryed to compile Gambas 3 on Fedora 7 and Fedora 10, and the both case I have the same problem. I verify the library and all it's ok: on Fedora 10 [r...@linusky ~]# ls -l /usr/lib/qt-3.3/lib/ total 19380 -rw-r--r-- 1 root root 7897526 oct. 8 15:19 libdesignercore.a -rw-r--r-- 1 root root1050 oct. 8 15:18 libdesignercore.prl -rw-r--r-- 1 root root 509178 oct. 8 15:19 libeditor.a -rw-r--r-- 1 root root 956 oct. 8 15:18 libeditor.prl -rw-r--r-- 1 root root 41204 oct. 8 15:19 libqassistantclient.a -rw-r--r-- 1 root root 967 oct. 8 15:18 libqassistantclient.prl lrwxrwxrwx 1 root root 15 déc. 5 02:24 libqsa.so - libqsa.so. 1.1.4 lrwxrwxrwx 1 root root 15 déc. 5 02:20 libqsa.so.1 - libqsa.so. 1.1.4 lrwxrwxrwx 1 root root 15 déc. 5 02:20 libqsa.so.1.1 - libqsa.so.1.1.4 -rwxr-xr-x 1 root root 2106324 mars 25 2008 libqsa.so.1.1.4 -rw-r--r-- 1 root root 964 oct. 8 15:18 libqt-mt.prl lrwxrwxrwx 1 root root 17 déc. 5 13:06 libqt-mt.so - libqt- mt.so.3.3.8 lrwxrwxrwx 1 root root 17 déc. 5 12:38 libqt-mt.so.3 - libqt- mt.so.3.3.8 lrwxrwxrwx 1 root root 17 déc. 5 12:38 libqt-mt.so.3.3 - libqt- mt.so.3.3.8 -rwxr-xr-x 1 root root 8880140 oct. 8 15:19 libqt-mt.so.3.3.8 -rw-r--r-- 1 root root 852 oct. 8 15:18 libqui.prl lrwxrwxrwx 1 root root 15 déc. 5 13:06 libqui.so - libqui.so. 1.0.0 lrwxrwxrwx 1 root root 15 déc. 5 12:38 libqui.so.1 - libqui.so. 1.0.0 lrwxrwxrwx 1 root root 15 déc. 5 12:38 libqui.so.1.0 - libqui.so.1.0.0 -rwxr-xr-x 1 root root 255332 oct. 8 15:19 libqui.so.1.0.0 Olivier Cruilles Mail: linu...@club-internet.fr If Redhat puts the Qt library in a strange place, maybe the configure script cannot find it. And if nobody posts the output of configure, fixing that is hard! From the problems I have it did look to me something with qt was failing. In the configure there is/was no mention about qt-mt but in the log from 'make' it occurs on some parts related to gb.gt. I did give you those logs also the ones from make install with the -v flag for the gbi calls. I commented even the place in that special log where the gbi -v was aborted. Never got a hint from that action you requested me to do with -v flag. It may be not exact the same problem but strong related in my view by reading my log files line by line. The compare for diffs between kubuntu8.04 - kubuntu-8.10 and your mandrake was interesting but not effective. However we din never look to where the diffs where for the qt libs and that is interesting to. kubuntu 8.04 based on qt3 kde3 kubuntu 8.10 based on qt4 kde4 I did see in the 'make' log references for gcc for lib paths to lib/qt4 Attached the result for 'locate qt3' (removed the /user/share/doc lines) So I did give up, live goes on for you and me. r...@terminator:~$ locate libqt-mt pclinux-2007 mounted at /mnt/sda2 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.la /mnt/sda2/usr/lib/qt3/lib/libqt-mt.prl /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3.3 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3.3.8 kubuntu-8.04 /usr/lib/libqt-mt.la /usr/lib/libqt-mt.prl /usr/lib/libqt-mt.so /usr/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3.3 /usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.la /usr/share/qt3/lib/libqt-mt.prl /usr/share/qt3/lib/libqt-mt.so /usr/share/qt3/lib/libqt-mt.so.3 /usr/share/qt3/lib/libqt-mt.so.3.3 Best regards, Ron_1st Do you know why there is libqt-mt.so.3.* at two different places on your system? (/usr/lib and /usr/share/qt3/lib) -- Benoît
Re: [Gambas-user] IDE improvement
Benoît Minisini ha scritto: I would suggest a little IDE improvement... I think that it should be useful and clearer to change the state of the cursor icon to busy then we compile a project so that the user can clearly see when the operations terminates. Now the only way to know when the operation ends is to look at the status bar in he bottom left corner and wait for the message compilation... (etc) disappears. The cursor icon *is* changed to busy when you compile the project. You don't have to wait for the message to disappear. As soon as you don't see the busy cursor anymore, the compilation is finished. Or maybe the compiler is too fast? :-) I see a little changing... something that I can say is less than an half a second. But only if I leave the cursor on the compile button. But the message in the status bar persists for more than 4 or 5 seconds... What do I have to think? That the compilation has been terminated when the icon backs to arrow or when the message disappears? (Ubuntu 8.10, Gnome 2.24, Gambas 2.11.1 compiled from sources). -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leona...@leonardomiliani.com Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunità italiana degli utenti di Gambas www.gambas-it.org -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
On Wednesday 18 February 2009, David Villalobos Cambronero wrote: Hi, it happened to me some day ago, there is what I did to fix it. # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3.8 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so And just be aware that my system is 64 Bits. By the way, I agree with Ron. I my case Gambas 3 compiles fine, but suddenly it crash in the make process telling me the problem about qt-mt, I try to fin the lib with kfind and realize that libqt-mt was unaccessible, could be Gambas involved? Regards -- David - Original Message From: Benoît Minisini gam...@users.sourceforge.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wednesday, February 18, 2009 8:37:38 AM Subject: Re: [Gambas-user] Gambas 2 - Gambas 3 On Wednesday 18 February 2009, Benoît Minisini wrote: Benoit, ---8 From the problems I have it did look to me something with qt was failing. In the configure there is/was no mention about qt-mt but in the log from 'make' it occurs on some parts related to gb.gt. I did give you those logs also the ones from make install with the -v flag for the gbi calls. I commented even the place in that special log where the gbi -v was aborted. Never got a hint from that action you requested me to do with -v flag. It may be not exact the same problem but strong related in my view by reading my log files line by line. The compare for diffs between kubuntu8.04 - kubuntu-8.10 and your mandrake was interesting but not effective. However we din never look to where the diffs where for the qt libs and that is interesting to. kubuntu 8.04 based on qt3 kde3 kubuntu 8.10 based on qt4 kde4 I did see in the 'make' log references for gcc for lib paths to lib/qt4 Attached the result for 'locate qt3' (removed the /user/share/doc lines) So I did give up, live goes on for you and me. r...@terminator:~$ locate libqt-mt pclinux-2007 mounted at /mnt/sda2 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.la /mnt/sda2/usr/lib/qt3/lib/libqt-mt.prl /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3.3 /mnt/sda2/usr/lib/qt3/lib/libqt-mt.so.3.3.8 kubuntu-8.04 /usr/lib/libqt-mt.la /usr/lib/libqt-mt.prl /usr/lib/libqt-mt.so /usr/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3.3 /usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.la /usr/share/qt3/lib/libqt-mt.prl /usr/share/qt3/lib/libqt-mt.so /usr/share/qt3/lib/libqt-mt.so.3 /usr/share/qt3/lib/libqt-mt.so.3.3 They are symlinked to the files in /usr/lib Best regards, Ron_1st Do you know why there is libqt-mt.so.3.* at two different places on your system? (/usr/lib and /usr/share/qt3/lib) I'm not 100% sure but it could be I have done myself like David has done. To long ago. Best regards, Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --- A: Top-posting. Q: What is the most annoying thing in e-mail? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas3
Am Sonntag, den 01.02.2009, 13:55 +0100 schrieb Charlie Reinl: ---8-- Ausgecheckt, Revision 1839. Revision 1839. * ./reconf-all * ran without Error, but a $ gambas3 gives : ERROR: #2: Cannot load class 'Project': Unable to load class file To say also, my Ubuntu is not a freshly installed Ubuntu 8.04, but an updated Ubuntu 6.06 (last LTS) Salut, coming up again with that: now for : Ausgecheckt, Revision 1878. Revision 1878. There where no ERROR's reported but a *:/opt/gambas/3$ gambas3 gives that ERROR: #2: Cannot load class 'Project': Unable to load class file I'v made nothing since 01.02.2009, 13:55 only executed my compilation-script. I have all the log if needed! -- Amicalment Charlie -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas3
On Wednesday 18 February 2009, Charlie Reinl wrote: Am Sonntag, den 01.02.2009, 13:55 +0100 schrieb Charlie Reinl: ---8-- Ausgecheckt, Revision 1839. Revision 1839. * ./reconf-all * ran without Error, but a $ gambas3 gives : ERROR: #2: Cannot load class 'Project': Unable to load class file To say also, my Ubuntu is not a freshly installed Ubuntu 8.04, but an updated Ubuntu 6.06 (last LTS) Salut, coming up again with that: now for : Ausgecheckt, Revision 1878. Revision 1878. There where no ERROR's reported but a *:/opt/gambas/3$ gambas3 gives that ERROR: #2: Cannot load class 'Project': Unable to load class file I'v made nothing since 01.02.2009, 13:55 only executed my compilation-script. I have all the log if needed! I have given up to find it. I got log files from Benoit and could destilate the diffs between his mandrake and ubuntu logs the find the diffs between kubuntu 8.04 and 8.10 I did not found real hard differences and send those back to Benoit for comment. The only thing I know for sure is during 'make install' the compiled gbi aborts his process and does not creat the .info and .list files. It is related to qt and visual controls for gambas components (sensitive is form) The error line given matche the .form file instead of the .class file, line number is the line where the first control is after { and has the control name mentioned in the error line. I think the gambas source is not direct the bad part but suspect the make/configure files and the gcc environment missing something or has changed between (k)ubuntu 8.04 and 8.10 PS I did found in the make scripts a mistake that could be the culprit but to find it back I need someting to parse those files and search for -- this is a bad script with name of awordthat fails The special sequence I need to find is -- awordthat It has a missing space after the second quote. Regexpr is not my strongest thing. Best regards, Ron_1st -- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2.11.1 Ubuntu 8.xx Socket Problem
Hello, we use a pc with ubuntu 8.10 and gambas v2.11.1. If the application just connect over a socket to a server, the CPU-usage will go up to 13% for only this one gbx2 process. So at only 8 opened applications, that will connect to a server, the CPU useage is up to 100%. The same problem appears on ubuntu 8.04. In news 29 Dec 2008 - Release of Gambas 2.10 is written Sockets will not take 100% CPU anymore., but it seems, that it already do so. Anyone has an solution? Regards A.Fröhlke I confirm. I forgot to apply the Socket fix to the ServerSocket control. This is done in revision #1879. Regards, -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
Hi, it happened to me some day ago, there is what I did to fix it. # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3.8 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so And just be aware that my system is 64 Bits. By the way, I agree with Ron. I my case Gambas 3 compiles fine, but suddenly it crash in the make process telling me the problem about qt-mt, I try to fin the lib with kfind and realize that libqt-mt was unaccessible, could be Gambas involved? I don't change anything to the libraries. Everything is done by the libtool tool. libtool works by using the contents of the *.la files to know what flags should be sent to the linker. Sometimes, the *.la files provided by the distribution are false (it happened once on an old Mandriva, and it happens recently on Ubuntu). Can you (David Ron) post the contents of your libqt-mt.la files? -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Ugly Gambas IDE in Fedora 10
Dear: I Have installed gambas 2.11 in Fedora 10 Gnome and the Ide Interface appears in old style (ugly). In Ubuntu works fine and the ide is de same as Screenshots in gambas web site. But in Fedora is ugly. Please, can you help me about I can put new beautiful ide for Gambas in a Gambas installed in Fedora 10 Gnome? Thank's Aram -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
Hi, here is mine. It is located in /usr/lib/qt3/lib64/ Regards -- David - Original Message From: Benoît Minisini gam...@users.sourceforge.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wednesday, February 18, 2009 1:00:22 PM Subject: Re: [Gambas-user] Gambas 2 - Gambas 3 Hi, it happened to me some day ago, there is what I did to fix it. # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3.8 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so And just be aware that my system is 64 Bits. By the way, I agree with Ron. I my case Gambas 3 compiles fine, but suddenly it crash in the make process telling me the problem about qt-mt, I try to fin the lib with kfind and realize that libqt-mt was unaccessible, could be Gambas involved? I don't change anything to the libraries. Everything is done by the libtool tool. libtool works by using the contents of the *.la files to know what flags should be sent to the linker. Sometimes, the *.la files provided by the distribution are false (it happened once on an old Mandriva, and it happens recently on Ubuntu). Can you (David Ron) post the contents of your libqt-mt.la files? -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user libqt-mt.la Description: Binary data -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Ugly Gambas IDE in Fedora 10
m...@monalternatiu.com schreef: Dear: I Have installed gambas 2.11 in Fedora 10 Gnome and the Ide Interface appears in old style (ugly). In Ubuntu works fine and the ide is de same as Screenshots in gambas web site. But in Fedora is ugly. Please, can you help me about I can put new beautiful ide for Gambas in a Gambas installed in Fedora 10 Gnome? Thank's Aram Aram, you can try the steps described here: http://www.domotiga.nl/projects/domotiga/wiki/Domotiga/Faq Regards, Ron_2nd. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
On Wednesday 18 February 2009, Benoît Minisini wrote: Hi, it happened to me some day ago, there is what I did to fix it. # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3.8 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so And just be aware that my system is 64 Bits. By the way, I agree with Ron. I my case Gambas 3 compiles fine, but suddenly it crash in the make process telling me the problem about qt-mt, I try to fin the lib with kfind and realize that libqt-mt was unaccessible, could be Gambas involved? I don't change anything to the libraries. Everything is done by the libtool tool. libtool works by using the contents of the *.la files to know what flags should be sent to the linker. Sometimes, the *.la files provided by the distribution are false (it happened once on an old Mandriva, and it happens recently on Ubuntu). Can you (David Ron) post the contents of your libqt-mt.la files? kubuntu-8.04 /usr/lib/libqt-mt.la /usr/lib/libqt-mt.prl /usr/lib/libqt-mt.so - libqt-mt.so.3.3.8 /usr/lib/libqt-mt.so.3 - libqt-mt.so.3.3.8 /usr/lib/libqt-mt.so.3.3 - libqt-mt.so.3.3.8 /usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.la - ../../../lib/libqt-mt.la /usr/share/qt3/lib/libqt-mt.prl- ../../../lib/libqt-mt.prl /usr/share/qt3/lib/libqt-mt.so - ../../../lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so.3 - ../../../lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so.3.3 - ../../../lib/libqt-mt.so.3.3.8 Best regards, Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --- A: Top-posting. Q: What is the most annoying thing in e-mail? # libqt-mt.la - a libtool library file # Generated by qmake/libtool (1.07a) (Qt 3.3.8b) on: Wed Apr 9 16:10:10 2008 # The name that we can dlopen(3). dlname='libqt-mt.so.3' # Names of this library. library_names='libqt-mt.so.3.3.8 libqt-mt.so.3 libqt-mt.so' # The name of the static archive. old_library='libqt-mt.a' # Libraries that this one depends upon. dependency_libs='-L/usr/X11R6/lib -lfontconfig -laudio -lXt -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread ' # Version information for libqt-mt.la current=33 age=0 revision=8 # Is this an already installed library. installed=yes # Files to dlopen/dlpreopen. dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib' # libqtmcop.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libqtmcop.so.1' # Names of this library. library_names='libqtmcop.so.1.0.0 libqtmcop.so.1 libqtmcop.so' # The name of the static archive. old_library='libqtmcop.a' # Libraries that this one depends upon. dependency_libs=' -L/usr/share/qt3/lib /usr/lib/libmcop.la -L/usr/lib /usr/lib/libgmodule-2.0.la /usr/lib/libgthread-2.0.la -lrt /usr/lib/libglib-2.0.la /usr/lib/libqt-mt.la -L/usr/X11R6/lib -laudio -lXt -ljpeg -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -ldl -lpng -lz -lXext -lX11 -lSM -lICE -lpthread' # Version information for libqtmcop. current=1 age=0 revision=0 # Is this an already installed library? installed=yes # Should we warn about portability when linking against -modules? shouldnotlink=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib' -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] IDE improvement
Benoît Minisini ha scritto: I would suggest a little IDE improvement... I think that it should be useful and clearer to change the state of the cursor icon to busy then we compile a project so that the user can clearly see when the operations terminates. Now the only way to know when the operation ends is to look at the status bar in he bottom left corner and wait for the message compilation... (etc) disappears. The cursor icon *is* changed to busy when you compile the project. You don't have to wait for the message to disappear. As soon as you don't see the busy cursor anymore, the compilation is finished. Or maybe the compiler is too fast? :-) I see a little changing... something that I can say is less than an half a second. But only if I leave the cursor on the compile button. But the message in the status bar persists for more than 4 or 5 seconds... What do I have to think? That the compilation has been terminated when the icon backs to arrow or when the message disappears? (Ubuntu 8.10, Gnome 2.24, Gambas 2.11.1 compiled from sources). As soon as you don't see the busy cursor anymore, and the GUI is usable gain, the compilation is finished. The message stays longer so that you can read it. Otherwise you wouldn't have the time. -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Filename as string
On Wed, 18 Feb 2009 11:01:48 pm FoxIII wrote: I have managed to sort this out now. I am using the code; TextBox1.Text = File.Dir(Dialog.path) / File.Name(Dialog.path) But (and I don't know if I should start a new topic or not) I am curious as to how to run a command from gambas. For example, when you are installing a 'deb' file, you get a window displaying what is happening with the install rather than seeing it through the command line. Again, I'd post this as part of your complete subroutine, if you are just trying to popup a file dialog and retrieve a path you can do this: If Dialog.OpenFile() Then Return Print Dialog.path or Textbox1.text = Dialog.path Richard richard terry-5 wrote: On Wed, 18 Feb 2009 12:30:43 am FoxIII wrote: I am very new to Gambas (and programming in general). I am trying to retrieve a filename as string from fileview so I can display it on the screen, but do not seem to be able to manage it. I know this may sound a bit of a simple request, but for a total beginner, the help files are not entirely, well, helpful. hehe If you post your code to show what you are attempting and what is failing we can better help you. Regards Richard - - Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] IDE improvement
Benoît Minisini ha scritto: As soon as you don't see the busy cursor anymore, and the GUI is usable gain, the compilation is finished. The message stays longer so that you can read it. Otherwise you wouldn't have the time. Ah, OK. I understood. I was thinking that until the message didn't disappear, the compilation wasn't finished. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leona...@leonardomiliani.com Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunità italiana degli utenti di Gambas www.gambas-it.org -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
On Wednesday 18 February 2009, Benoît Minisini wrote: Hi, it happened to me some day ago, there is what I did to fix it. # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3.8 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so.3 # ln -s /usr/lib/qt3/lib64/libqt-mt.so.3.3.8 /usr/lib64/libqt-mt.so And just be aware that my system is 64 Bits. By the way, I agree with Ron. I my case Gambas 3 compiles fine, but suddenly it crash in the make process telling me the problem about qt-mt, I try to fin the lib with kfind and realize that libqt-mt was unaccessible, could be Gambas involved? I don't change anything to the libraries. Everything is done by the libtool tool. libtool works by using the contents of the *.la files to know what flags should be sent to the linker. Sometimes, the *.la files provided by the distribution are false (it happened once on an old Mandriva, and it happens recently on Ubuntu). Can you (David Ron) post the contents of your libqt-mt.la files? kubuntu-8.04 /usr/lib/libqt-mt.la /usr/lib/libqt-mt.prl /usr/lib/libqt-mt.so - libqt-mt.so.3.3.8 /usr/lib/libqt-mt.so.3 - libqt-mt.so.3.3.8 /usr/lib/libqt-mt.so.3.3 - libqt-mt.so.3.3.8 /usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.la - ../../../lib/libqt-mt.la /usr/share/qt3/lib/libqt-mt.prl- ../../../lib/libqt-mt.prl /usr/share/qt3/lib/libqt-mt.so - ../../../lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so.3 - ../../../lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so.3.3 - ../../../lib/libqt-mt.so.3.3.8 Best regards, Ron_1st Thanks. Now I need the result of the following commands on your (David Ron) system: $ pkg-config --cflags qt-mt $ pkg-config --libs-only-l qt-mt $ pkg-config --libs-only-L qt-mt $ pkg-config --libs-only-other qt-mt If, of course, your qt development package uses the pkg-config system! Thanks in advance. Regards, -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
On Thursday 19 February 2009, Benoît Minisini wrote: $ pkg-config --cflags qt-mt $ pkg-config --libs-only-l qt-mt $ pkg-config --libs-only-L qt-mt $ pkg-config --libs-only-other qt-mt If, of course, your qt development package uses the pkg-config system! Thanks in advance. r...@terminator:~# pkg-config --cflags qt-mt -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/qt3 r...@terminator:~# pkg-config --libs-only-l qt-mt -lqt-mt -laudio -lXt -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread (^^^all on one line^^^) r...@terminator:~# pkg-config --libs-only-L qt-mt -L/usr/X11R6/lib r...@terminator:~# pkg-config --libs-only-other qt-mt (^^^ empty^^^) /usr/include/qt3 exists and contains theqt3 *.h files Best regards, Ron_1st -- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Ugly Gambas IDE in Fedora 10
-- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas 2 - Gambas 3
On Thursday 19 February 2009, Benoît Minisini wrote: $ pkg-config --cflags qt-mt $ pkg-config --libs-only-l qt-mt $ pkg-config --libs-only-L qt-mt $ pkg-config --libs-only-other qt-mt If, of course, your qt development package uses the pkg-config system! Thanks in advance. r...@terminator:~# pkg-config --cflags qt-mt -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/qt3 r...@terminator:~# pkg-config --libs-only-l qt-mt -lqt-mt -laudio -lXt -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread (^^^all on one line^^^) r...@terminator:~# pkg-config --libs-only-L qt-mt -L/usr/X11R6/lib r...@terminator:~# pkg-config --libs-only-other qt-mt (^^^ empty^^^) /usr/include/qt3 exists and contains theqt3 *.h files Best regards, Ron_1st Here is the result on my Mandriva: $ pkg-config --libs-only-L qt-mt # nothing $ pkg-config --libs-only-other qt-mt # nothing $ pkg-config --libs-only-l qt-mt -lqt-mt -lmng -ljpeg -lpng -lz -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread $ pkg-config --cflags qt-mt -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3//include There is no -L flag because on Mandriva /usr/X11R6/lib is in /etc/ld.so.conf. I'm currently downloading the Kubuntu 8.10 32 bits ISO. I will try to compile Gambas on it, thanks to VirtualBox. Regards, -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Filename as string
richard terry ha scritto: On Wed, 18 Feb 2009 11:01:48 pm FoxIII wrote: I have managed to sort this out now. I am using the code; TextBox1.Text = File.Dir(Dialog.path) / File.Name(Dialog.path) But (and I don't know if I should start a new topic or not) I am curious as to how to run a command from gambas. For example, when you are installing a 'deb' file, you get a window displaying what is happening with the install rather than seeing it through the command line. You use the SHELL instruction to execute external commands. A single string argument to SHELL is the command you want to execute, as you would type it on a bash command line. A variation of SHELL is EXEC -- see the docs. If you want to capture the output in a simple way, use the TO modifier (and WAIT). Seeing that you speak about installing deb files, things get more complicated because installing a package is a slow process, and probably you want to see intermediate results as soon as they appear... One way to do this is to use full gambas code, where you read the output from process and manage to put it on a widget. Another way, simple and quick, is to use an xterm or something similar. Try this: mrxvt -e sh -c ls |less (mrxvt is a terminal emulator like xterm or konsole or so). Another command could be: mrxvt -e sh -c ls; echo Press ENTER; read a Use something like this in the argument of a SHELL or EXEC, and have fun :-) More info if you want - regards, -- Doriano Blengino Listen twice before you speak. This is why we have two ears, but only one mouth. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user