New Milestone for Qt C# Bindings
Monday, 5 August 2002 | Niko
Qt# 0.4 has been released! Qt# is a set of cross-platform C# bindings for Trolltech's Qt GUI toolkit that is currently targeted towards Mono and Portable.NET. Along with some initial API documentation, code samples, tutorials and bugfixes, there have been a lot of improvements over 0.3, including support for events, multiple custom slots, object tracking and even preliminary support for Microsoft.NET. Download here -- some screenshots can be found here [Ed: wow and wow], and Debian apt sources here. Interested parties should also feel free to drop by #qtcsharp on irc.OpenProjects.net.
Comments:
What's up with the Perl bindings? - Anon - 2002-08-05
I know there was work on new Perl bindings, has anything happened with those?
Re: What's up with the Perl bindings? - Rich - 2002-08-05
I'll second that - I know quite a few perl developers who aren't going to suddenly take up C#, python etc just because perl isn't flavour of the month at the moment. Come on kde folks - kde is so cool, its a crime not to have bindings for as many languages as possible :)
Re: What's up with the Perl bindings? - Rich - 2002-08-05
OK I'll reply to myself. Yeah, I know its Trolltech I should be ranting at since these are QT bindings :)
Re: What's up with the Perl bindings? - Chucky/OutMax! - 2002-08-07
In fact, the KDE bindings are built with a modified kdoc, as kdoc is already able to parse the C++ code and build a tree of it, it would have been stupid to rewrite this functionnality from scratch. This modified version of kdoc is called Kalyptus. With this tools, KDE developers (such as David Faure) were able to generate Python, Perl, Ruby, C#, C, Java, ... bindings for KDE and Qt. Just go on http://barney.cs.uni-potsdam.de/pipermail/kdevelop-devel/2002-May/007952.html , to see that I am right. As you've read it above, there are already Perl bindings for KDE and Qt, just go on http://developer.kde.org/language-bindings/index.html or http://search.cpan.org/search?dist=PerlQt. I hope I solved your problems. Have a nice day, all ! -- "As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product."
Re: What's up with the Perl bindings? - Rich - 2002-08-07
Good to see that something is there, but the most recent revision I can find on CPAN is PerlQt-2.105.tar.gz dated 7th March 2000. KDE/QT3 had been out for some time now but the KDE developer page states: "Getting your perl scripts to work with KDE. This page is not done yet, but there are Qt-2 and KDE-2 perl bindings on CPAN. There is work going on to update those to Qt3." Looks to me like perl 6 will be here before up to date QT bindings - and we all know how long that's going to take :) Anyway, thanks for the reply.
Re: What's up with the Perl bindings? - germain - 2002-08-07
QtPerl is ready. It's fully working and has a complete ui compiler for Designer files. We are now in the process of writing documentation, furbishing astounding screenshots, etc... It should be released next week. Cheers, Germain
Re: What's up with the Perl bindings? - Rich - 2002-08-08
Wonderful! I retract all my posts on this subject - you never know, might even be able to give something to KDE (perl based, of course) in the future instead of just take :) Thanks for the good news, Rich
Re: What's up with the Perl bindings? - germain - 2002-08-08
>you never know, might even be able to give something to KDE (perl based, of >course) in the future instead of just take :) Well, the initial release will only provide bindings for Qt... KDE is the next step ! (not too far, hopefully) Also -I'm really nuts- it is not QtPerl (though I like this name better) but indeed PerlQt, as it follows the naming of previous bindings for Qt 2. Cheers, G.
Re: What's up with the Perl bindings? - Rich - 2002-08-09
> Well, the initial release will only provide bindings for Qt... KDE is the next step ! (not too far, hopefully) Damn - never mind though, something's way better than nothing! I played around with perl wxWindows/GTK a bit but never really got into it - definitely prefer KDE/QT, though I appreciate the cool stuff the Gnome folks are doing with Gnome2. >Also -I'm really nuts- it is not QtPerl Can't say I noticed ;->
Mono website - AI - 2002-08-05
It would be nice if they put a link to the Qt# website as they have done with gtk# don't you think?
Re: Mono website - KDE User - 2002-08-05
Yes, they really should do this. Nobody talks about Qt over there though.
Re: Mono website - Adam Treat - 2002-08-05
To be fair, Go-Mono.org does have a link to Qt# on there resources page. Gtk# is there prefered GUI toolkit which should be of no surprise :-) I've found Miguel and the Ximian/Mono team to be nothing but entirely gracious and helpful. Cheers, Adam
Re: Mono website - KDE User - 2002-08-05
Not even a news item on their site?
Re: Mono website - AI - 2002-08-05
Go-Mono.org does have a Qt#-comment on the first page as well. Of course, it's not a surprise but must feel a little bit strange for the Qt#-team.
Re: Mono website - KDE User - 2002-08-06
Ximian is cool.
Re: Mono website - KDE Zealot - 2002-08-17
No... no... nononono. Ximian and Miguel are evil. They are not followers of the holy cause of TrollTech everywhere (tm). Ximian must die - they just use VC money to copy TheKompany and smash the benevolent Godhead of TrollTech. Shawn Gordon tells me so. You must not post nice comments about Ximian/Miguel here, it is heresy and a banning offence. Consider yourself warned.
KDE - MS Office ? - Anonymous - 2002-08-05
What does it mean? Will next MS Office releases (based on C#) integrate with KDE???? That would be great! Anhybody could explain a little bit what does Qt C# bindongs mean?
Re: KDE - MS Office ? - KDE User - 2002-08-05
There is no way the next MS Office releases will be based on C#. Just not gonna happen.
Re: KDE - MS Office ? - Rajan Rishyakaran - 2002-08-06
The next version of Office does not run under the CLR, it does however uses .NET Web Services. So in other words, it woulnd't run on Mono. It would still be a Win32 application.
What's up with Python bindings, DnD KDevelopness - Imaginative Python Lover - 2002-08-05
etc. etc. On e should be able to popup a KDevelop QtDesigner window and drag and drop a Python <---> DCOP GUI clicky controller thingy application of some sort inside 5 minutes eg: Boss: Need custom app with cool widgets for querying 4 different databases dumping into spreadsheet and doing fancy printing/faxing/PDF conversion of the resulting charts. Need it tomorrow, slave!! (boss goes off on other rant ...) Developer: [flips open laptop in boss's office opens KDevelop/QtDesigner] [Developer drag and drops some Qt<-->Python<-->DCOP querying app together with DB access widgets (built-in to Qt no??), another 3 buttons to export to KSpread via DCOP, another button to use DCOP and scripted KSpread and CUPS (which rules to world) with choices [] Fax query results to: [________] [] Create PDF [] E-Mail PDF to : [__________] Print ===== [] HQ Printer (vai IPP) [] Mail room printer [] Legal Dept. printer [] View streaming video from gym change rooms: M:[] F:[] ....] Boss: ... [finishing rant] and furthermore we will convert all DBA's KDE workstations to XP!!! Developer: Oh ... I just finished developing the application you asked for. Boss: Wah??!! Lemme see that you genius!!
when it is a pleasure to program in VB? - caoilte - 2002-08-06
When they give it up and support Python. I'll second that.
PHP Bindings? - protoman - 2002-08-06
My dream is that someday I'll be able to write QT apps in PHP. I'm learning C++, but PHP is soooooooo much nicer and easier than C++ that it would be more than welcome to being able to use QT with it. Currently Gtk works with PHP/CGI, but I'm a QT fan, so I hope it will someday work with it :)
Re: PHP Bindings? - Roberto Alsina - 2002-08-06
PHP is not easier. PHP seems easier while you learn it. PHP will be considerably harder once you start doing real world stuff.
Re: PHP Bindings? - protoman - 2002-08-06
Hummm, I tought managing databases was a real world (tm) thing. PHP is really easier than C++ and can do things that C++ code do as well as it (but losses on speed, sure). Besides, I don't said I was going to build windows or games with it. PHP is good for writting some small apps as moo/mud clients, d20 player generators, etc. And all those things are real world man :)
Re: PHP Bindings? - Roberto Alsina - 2002-08-06
PHP is simple. Simple != easy. Now, python, on the other hand, is simple AND easy ;-) PS: if it is not to build "windows", hat is the point of PHP in a qt related thread?
Re: PHP Bindings? - protoman - 2002-08-06
I metan m$ windows ;) Well, in my case I think PHP is simple and easy as you think about Phyton that I think isn't easy....so each person have it's prefereed language and let's not start a language war here :)
Re: PHP Bindings? - Chakie - 2002-08-07
Python *is* actually easier to learn that PHP. The syntax is easier, data handling (lists, maps etc) are easier to use etc. Nothing wrong with PHP, but it is harder to learn, especially for a newbie. Just think of the weird semicolons ";" you have to sprinkle all over, but not on every line.
Re: PHP Bindings? - Stof - 2002-08-07
PHP means "PHP Hypertext Preprocessor". Since when is a hypertext preprocessor considered a full programming language?
Re: PHP Bindings? - protoman - 2002-08-07
Can't a language evolves besides it's original name? Did you already see what python and perl means? Tehir names means nothing acctually, where made just to create a regular word with each letter. This means they are bad? Sure not! C means just C, the languace after A and B. C is crappy because it's name? Should it be: GLTMEOA (Great Language That Makes Everthing, Or Almost)? SURE NOT! No need for it. Now, please stop just talking bad of PHP. Seems like your guys think that if someone says PHP is good, he means "all other languages are crappy". :(
Re: PHP Bindings? - Marko Samastur - 2002-08-07
No, but that preprocessor part in a name tells you what was the purpose when it was designed and how it could likely effect the design of the language. Personally, I think PHP is (just) C with better string handling. If that's good or bad depends on person.
Re: PHP Bindings? - Stof - 2002-08-07
I'm not talking about it's name, I'm talking about it's function! It's function is exactly what the name says: to preprocess things. I have a hard time believing that a preprocessor can be used to create GUIs.
Re: PHP Bindings? - Stof - 2002-08-07
I mean: believing that a preprocessor is an effective tool to create GUIs.
Re: PHP Bindings? - Evan "JabberWokky" E. - 2002-08-07
You have no idea what PHP is. Look into the Zend VM and the PHP compiler. Yes, PHP 1.0 started out as a perl script and a small C program. Since 4, it's a powerful development environment that allows the creation of command line, ncurses and gtk applications, and has a wide library of loadable binary modules that can also be accessed via a CPAN like mechanism (called PEAR). And if you doubt that it could have turned into a nice language from such simple beginnings, consider that C++ started out as a header file with a bunch of C Preprocessor directives. -- Evan
Re: PHP Bindings? - Roberto Alsina - 2002-08-07
C++ did NOT start like that. Yes, some C++ compilers are "preprocessors" that generate C code. No, it is not the usual C preprocessor.
Re: PHP Bindings? - Evan "JabberWokky" E. - 2002-08-08
Funny, back in 1983 when Bjarne Stroustrup created CFRONT, it started out as a simple set of header files. By the time he was writing about it in Dr. Dobbs, Byte or whatever I first heard about it back when, it had a simple namespace mangler, but in introducing the new variant of C in his articles, he would say that it started out as some neat CPP hacks (I think he also mentioned its CPP heritage in the CUJ article when they were looking to finalize the language spec, or right afterwards). It wasn't until 1990 or thereabouts that "real" C++ compilers appeared. I know - I was an avid C user (to the ludicrious level of writing my own tiny C in asm) throughout the 80s, and followed all the variants and compilers very very closely. Be that as it may, C++ is not the issue here. PHP is. PHP would make a fine candidate for Qt and KDE bindings. My MP3 organizer is written in PHP, and currently uses curses. While I personally prefer Ruby or C, PHP is not a terrible language in terms of being a primarily procedural language with a slight smattering of OOP concepts. It also happens to be the universal data juncture tool, even better than perl, and with a syntax saltier than perl's syntax (a Good Thing, IMO). PHP has a very detailed and flexible library system and a CPAN like system called PEAR. No reason not to do it, and it may encourage KDE development, which is a good thing, last I checked. -- Evan
Re: PHP Bindings? - KDE Zealot - 2002-08-17
No KDE bindings for PHP, hence it is EVIL. Once bindings are written it becomes blessed and holy. Roberta knows the truth.
Re: PHP Bindings? - Roberto Alsina - 2002-08-20
Whoa. Mispelling a name so it has a different gender. What a pinnacle of wit.
Re: PHP Bindings? - troby - 2002-12-15
I am php programmer and I would thank for qt and kde bindings of php, I have a idea (might be silly) there is wrapper SMOKE on qt and kde where classes and functions and other stuff can be called from it I think a perl bindings is based on it and it is working. I hope I helped in this discussion. troby.
Re: PHP Bindings? - Roberto Alsina - 2002-08-07
Python's name is not an acronym. Python is called python. Not P.Y.T.H.O.N. Python means python. It is a hommage to monty python.
Re: PHP Bindings? - protoman - 2002-08-07
Ok, I tought I said, not let's start a war. :( I think Python is trash, junk, sh*t. Does this removes any merits of it or will stops you liking it? NOOOOOOOOOO! So why instead of saying PHP is bad MY language is better don't you people just keep quiet? If someone makes PHP bindings for QT will you people being forced to use it instead of Perl or Python? SURE NOT! C'mon!
Re: PHP Bindings? - Roberto Alsina - 2002-08-07
Relax. When someone tells you python is good, if you ask him, he CAN provide examples of software developed using it, and explain why the language has helped him being effective in the project. Python advocates can provide backup for their claims. PHP advocates, on the other hand, write "sh*t" in their responses. Go, take some linden, relax.
Re: PHP Bindings? - KDE Zealot - 2002-08-17
>PHP advocates, on the other hand, write "sh*t" in their responses. Whereas you write "sh*t" instead. Big difference zealot boi.
Re: PHP Bindings? - Roberto Alsina - 2002-08-17
Funny that you call me zealot, KDE Zealot. Does that mean we are relatives? All I meant by what you quote is that the previous poster simply called python "sh*t" without giving any argument whatsoever. On python´s behalf, I can point out coherent syntax, simple to use object orientation, rich class library, readability, a simple extension and embedding mechanism, good Qt bindings, and JYTHON (python in the JVM). In all those aspects, I think Python is a better language than PHP for real world usage. Now, anyone can call this "sh*t". But it is going to take a whole lot more than a silly dot post to make that charge stick.
Re: PHP Bindings? - Navindra Umanee - 2002-08-17
That is "wiggle" again.
Re: PHP Bindings? - KDE Zealot - 2002-08-18
Actually, it's not. Is that why you banned all Freeserve users from posting again, beause someone posted three sarcastic messages lampooning the zealot nutcases who inhabit your site? Just how stupid are you, anyway? Clue: If I wanted to play this game, I could rotate through a couple of hundreds proxies, and a dozen or so free ISPs. In fact, with a dumbass like you in charge, I could probably get most of the UK internet population banned from this site with a little effort. There are just some people who haven't the smarts or the temper to run a forum site, and you are the perfect example. Think yourself lucky that this is little more than a five minute time-wasting exercise for me.
Re: PHP Bindings? - Guillaume Laurent - 2002-08-07
Ah, well, while we're at pluggin languages : Ruby.
Re: PHP Bindings? - Roberto Alsina - 2002-08-07
Ruby is cool. I am too entrenched in what I know to switch, but should I ever feel a need to learn a new language, Ruby would be a big candidate :-)
Re: PHP Bindings? - Guillaume Laurent - 2002-08-08
If you know C++, Perl or Python, learning Ruby is a matter of a few hours. I don't think I've ever used a language which was such a delight to program with.
Re: PHP Bindings? - Roberto Alsina - 2002-08-08
Well, python does take 2 hours to learn, too. It takes a little loner to learn to use it effectively, of course. But ok, you convinced me, there goes the third sunday of August!
Re: PHP Bindings? - Kuba - 2002-08-16
Then there's Rebol ;-)
Re: PHP Bindings? - somekool - 2004-09-30
would you please define ... "PHP will be considerably harder once you start doing real world stuff."
Re: PHP Bindings? - troels - 2002-08-06
Ugh, i really hope i wont have to read the code for any QT applications written in php, or even perl. Those languages tend to promote bad code. (as in, hard to read and maintain) While i like perl and php i would never use them for gui apps.
Re: PHP Bindings? - Water - 2002-08-06
Haskell promotes good code :) KDE/Qt Bindings for Haskell, Haskell support in Guideon... that would be really nice. water
Re: PHP Bindings? - protoman - 2002-08-06
What makes bad code are bad programmers ;) Well documented code can even be bad that will work once anybody can "fix" it easily. Anyway I like the possibility to write PHP code in some ways as it let's. So you can write code similar to Perl, C, C++, etc. Just choose and make it clean and well documented.
Re: PHP Bindings? - Roberto Alsina - 2002-08-06
> What makes bad code are bad programmers ;-) I agree. However, with other languages, ONLY bad programmers write bad code ;-)
There's more demand for Java, but.... - Ulrich Kaufmann - 2002-08-06
There are literally thousands of Java applications out there that could usefully be ported to KDE. People's time would be much better spent supporting this route than fantasizing about cloning Dotnet - you really think MS is going to allow this to happen? Java/KDE bindings *have* been created, but unlike most libraries these are licensed under the GPL. This is having a most unfortunate effect. Big name semi-commercial projects such as the IBM Eclipse IDE *do* want to support KDE/Qt (Eclipse uses its own UI library called SWT) but the GPL license prevents this, since Eclipse code also appears in commercial form in the WebSphere product line. So they continue with Gtk+ and KDE stays on the back-burner. The result of this available-but-not-usable situation is that KDE is losing momentum in the key area of Java applications - the GPL libraries can only be used for the (generally small) GPL applications. Of course it would be I'd be happy if IBM were to compensate the developer of the Java/KDE binding, I hope they or some other companies do. However, at the moment, the road ahead for Java on KDE is blocked and the 'workaround' of C# is fraught with danger.
Re: There's more demand for Java, but.... - A - 2002-08-06
Do you mean that the Java-bindings for Qt are GPL:d? Only GPL? This clearly shows the problem with GPL:d libraries.
Re: There's more demand for Java, but.... - Ulrich Kaufmann - 2002-08-06
The use of the GPL (rather than LGPL) was no accident, therefore it is no more a 'problem with the GPL' than breaking the speed limit on the road is a problem with speed restriction signs.
Re: There's more demand for Java, but.... - Roberto Alsina - 2002-08-06
You could well, you know, ask the author, instead of complaining on a website. On the other hand: the Qt/Java bindings still may have some code from my old QtC, and that is ONLY available under the GPL, so remember to ask every copyright holder. On the third hand, if IBM so wants to use Qt, they can relax the license on THEIR code. After all, supposing I was the sole copyright holder (I don't even know if I am one), what has IBM done for me lately?
Re: There's more demand for Java, but.... - Ulrich Kaufmann - 2002-08-06
As it apparently wasn't obvious from my post, the author *has* already been contacted by IBM and currently is not willing to change the license. As I have said, I have no quarrel with the author - good luck to him/her/them in getting a return on their investment. It's the effect on the rest of us that's the problem. I'm afraid I'm not in a position to speculate what IBM might or might not have done for the author(s) concerned. However, IBM has contributed very significantly to Linux and open source - overall I guess some give and take would be reasonable.
Re: There's more demand for Java, but.... - Adam Treat - 2002-08-06
Uh, you do know that the person you are replying to is the original author of the QtC bindings that both qtjava and Qt# rely upon. Richard Dale extended these bindings and created qtjava. I do not think Richard would have a problem relicensing his code under LGPL or X11. I don't presume to speak for Roberto. You should also know that Qt# is licensed under the GPL, so we have the same problems with commercial applications as the other bindings. We are working to change this and as long as the Trolls agree we'll be able to develop cross-platform apps with Qt#. Of course even if Qt# were LGPL or similar license, a commercial developer wishing to link to Qt# (and thereby Qt/C++) would still need purchase a license from Trolltech.
Re: There's more demand for Java, but.... - Roberto Alsina - 2002-08-07
Just to clarify, as far as I am concerned, Richard Dale is the one who deserves all the credit, and whatever he says goes. If he was contacted and refused, he must have his reasons. I am sure IBM could convince him if they really wanted. But what is the point? To do proprietary apps, you still need to buy Qt. I suppose dual-licensing under GPL/QPL would be better, since it allows use of other licenses beyond the GPL. If Richard agrees, of course, but I am not in the business of convincing people.
Re: There's more demand for Java, but.... - Ulrich Kaufmann - 2002-08-07
If there's some special significance in the previous statement about Qt/Java from Roberto then please feel free to enlighten me, meanwhile either you or the Eclipse contributors appear to have misunderstood Richard Dale's position. Here is the discussion from the IBM Eclipse list - if a way forward can be worked out that would be very welcome news. From: David Goodenough <david.goodenough@btconnect.com> Newsgroups: eclipse.tools Subject: Re: KDE SWT binding? Date: Thu, 01 Aug 2002 11:46:01 +0100 Organization: D.G.A. Ltd Lines: 22 Message-ID: <aib3b2$psi$1@rogue.oti.com> References: <ahsd87$e1h$1@rogue.oti.com> <ahsdvt$ed5$1@rogue.oti.com> <ahsf2n$etl$1@rogue.oti.com> <aiap0f$l08$1@rogue.oti.com> NNTP-Posting-Date: Thu, 1 Aug 2002 10:42:43 +0000 (UTC) Martin Möbius wrote: > Guillermo Castro wrote: > > >> So it's a licensing issue, then... > >> I don't understand much of the licensing restrictions. I know SWT is >> under the CPL, and QT is GPL. KDE/Java binding is also GPL. Is the CPL a >> more restrictive license? where/who can clarify what would be needed to >> make eclipse run as a 'native-looking' kde app? > > Perhaps contact the author of the kde/java bindings. I assume licences can > be changed by the author, but I do no really know. > > martin I have already done so. He is unwilling to change the license because he is in the business of making money from writing JNI bindings and does not want to release these ones under LGPL to match the KDE libraries. I suppose if someone were to dangle some money under his nose he might. David
Re: There's more demand for Java, but.... - Roberto Alsina - 2002-08-07
OK, then. He doesn't want to change it. IBM can relicense eclipse just as easily as he can relicense his code. Anyway: the licensing on Qt bindings is tricky. The binding-generating tool is GPL. But what about the generated code? The generated code is a derived work of Qt, probably, since they are generated from Qt headers. As such, I don't know if Richard can change the license of that code, which may be under a dual QPL/GPL license. IBM should ask a lawyer and/or pay Richard.
Re: There's more demand for Java, but.... Really? - Chakie - 2002-08-07
How do you know that they actually want to support KDE? I find that most/all commercial companies just don't care about Qt/KDE, they all go with Gtk, which is a shame. If IBM really wanted to support KDE they probably could, but the serious will to do it is probably not there.
Re: There's more demand for Java, but.... Really? - Ralex - 2002-08-07
Hmmm... which commercial companies are all going with GTK????
Re: There's more demand for Java, but.... Really? - Stof - 2002-08-07
Ximian. But then again, TheKompany goes with Qt.
Gobe Producive - me - 2002-08-07
Gobe productive, a really great, fast, feature complete office suite is also gtk based, as is the official Yahoo instant messanger, loki games (mainly the loki installer, which will hopefully live on even now loki's dead) netscape also uses gtk(internally), and i guess even Mandrakes setup tools could be considered in this category (they're gtk, and last time i looked they weren't gpl) Openoffice is also shifting to using gnome's accessablity toolkit (but not gtk).(IBMs eclipse was also mentioned above) - So, lots (relatively). However i've also found that quite a few commercial apps still use Motif (or something that looks just as bad) examples of this are Codewarrior (which is an otherwise great IDE) realplayer, and acrobat reader.
Re: Gobe Producive - A - 2002-08-08
There are a lot of Qt based stuff. Hancom Office is Qt based. Look at trolltechs homepage. There are a lot of applications which require a strong solid base that use Qt. Mainly, the apps I've seen for gtk are smaller. Qt is the best base to build a larger project upon. Of course, for a smaller app (yahoo messenger) it might not be worth the price, but in the long run Qt is excellent.
Re: Gobe Producive - A - 2002-08-08
And then again, nothing stops you from using gtk-apps in KDE. My impression though, is that gtk is more a toy while qt is professional.
Re: Gobe Producive - Stof - 2002-08-09
That's like saying Linux/*BSD are toys and that Windows/Solaris/CommercialUnix are professional. OK, GTK+ isn't C++, but it's a very, *very* nice C-based object oriented (!) GUI tookit.
Re: Gobe Producive - Roberto Alsina - 2002-08-10
> GTK+ isn't C++, but it's a very, *very* nice C-based object oriented (!) GUI tookit. Programming GUIs in C is like being mauled by a hippopotamus. Doing it using GTK+ is like being mauled by a nice hippopotamus.
Re: Gobe Producive - A - 2002-08-12
> Programming GUIs in C is like being mauled by a hippopotamus > Doing it using GTK+ is like being mauled by a nice hippopotamus Is there even a point, now when we have Qt?
Re: Gobe Producive - fault - 2002-10-02
Yup, Gtk definatly has it's uses. It's nice in small situations (like loki's installer), when you need the library statically linked. Also, when you need to develop propreitary software and are unwilling to pay for a properitary-usage copy of Qt.
Re: There's more demand for Java, but.... Really? - Ulrich Kaufmann - 2002-08-07
Good question, particularly as the earlier posting I quoted was not from an IBM person. However, Adrian Cho is at Object Technology International, owned by IBM and the source of Visual Age, and below is a response from him. They're interested, but are "caught" by both Java/KDE and Qt licensing. From: "Adrian Cho" <adrian_cho@oti.com> Newsgroups: eclipse.tools Subject: Re: KDE SWT binding? Date: Mon, 29 Jul 2002 11:34:41 -0400 Organization: Object Technology International, Inc. NNTP-Posting-Date: Mon, 29 Jul 2002 15:33:39 +0000 (UTC) Are you talking about KDE or Qt? The OTI/IBM team has an initial port of SWT Qt but it will not be released until we complete further investigation of the legal issues due to licensing incompatibilities. GTK+ is under LGPL and hence the SWT GTK+ binding is LGPL'ed. Qt however is under the QPL and this license is problematic for us. Adrian "Guillermo Castro" <mandrake@freeshell.org> wrote in message news:ahsd87$e1h$1@rogue.oti.com... > Hi, > > I've been searching all around looking if someone is developing the KDE-SWT > binding. So far, I haven't found anything. KDE is not even mentioned on the > main SWT page as a future supported platform. > > Are there any plans to create this? If not, I would try to do it myself. > > Thanks, > > -- > Guillermo Castro > Java Developer
Re: There's more demand for Java, but.... Really? - Roberto Alsina - 2002-08-07
So, the problem is not with Richard's bindings being under the GPL, but with Qt being under the QPL? The QPL doesn't forbid much in the way of usage, as long as the code using the QPLd code is under a free license. The big exception is that the GPL collides with pretty much any other license (never legally tested, just the FSF claims). So, as an exception, Qt is also available under the GPL for that reason. Perhaps, as usual, the situation would be clearer if those actually doing the stuff talk to each other. Does this SWT binding link to Qt? I guess yes. Does it link to other code owned by IBM? I guess yes. Now, the only reason why there can be a legal prolem are: a) The binding license is incompatible with the QPL (in other words, it is not free) b) The other IBM code has a restrictive license that is incompatible with the QPL (ie: THAT code is not free) In no case is the restriction being imposed by Qt's license, but by the other code's. If IBM intends it to be free software, or open source software, they probably CAN do it. If they don't, probably they can't. But without knowing the code and the licenses involved, it is silly to efven guess.
Re: There's more demand for Java, but.... - Guillermo Castro - 2002-10-01
So, From all the posts, I haven't found anyone trying to come up with a solution. I think java developers would benefit from a java/kde binding. If the current binding has a restrictive licence, why not create a new binding with a less restricting licence, like LGPL? It has been done before, you know, and that's the beauty of OSS. Any takers?
Re: There's more demand for Java, but.... - Evan "JabberWokky" E. - 2002-10-01
http://developer.kde.org/language-bindings/java/index.html To quote: "Java support for KDE is now fairly significant, you can add applet support to your KDE applications, and with the Qt/KDE Java bindings you can even develop KDE apps in Java. Issues relating to Java support for KDE should be discussed on the kde-java mailing list (though applet issues are usually discussed on kfm-devel)". -- Evan
Re: There's more demand for Java, but.... - Guillermo Castro - 2002-10-02
I think you misunderstood me. I know there are Java Bindings for QT/KDE, but the problem is that those are under a license that doesn't allow the Eclipse team to create a SWT-KDE port. Since the binding's author doesn't want to change the license terms, there are two options now for Eclipse: 1.- Avoid porting SWT to KDE, and use GNOME and Motif for linux (which is what they're doing right now) 2.- Create a Java-KDE Binding from scratch (or let someone else do it). Since they're happy with 1 and we can't change the license, we won't see eclipse running on KDE unless we create our own binding. I hope I made myself clear now...
Does qt# integrate with KDevelop & Designer? - John Taber - 2002-08-07
the samples seem to indicate code written in Kate - does or will a developer have the ability to develop programs in the KDevelop and Designer ide using the qt# language?
Re: Does qt# integrate with KDevelop & Designer? - Adam Treat - 2002-08-07
no. not at this point anyway... a number of people have brought up the idea of integrating uic/designer with Qt# on our IRC channel. if you would like to see this then I suggest you talk with marcus on #qtcsharp or the list... Cheers, Adam
Question for Adam - KDE User - 2002-08-09
Nice work! Adam, can you get Qt# integrated as a main component into the Mono distribution?
Re: Question for Adam - Adam Treat - 2002-08-09
It is possible, but we'll have to eliminate the dependency upon libqtc first... I don't know what advantages there would be in hosting cvs under mono though. That is what you mean isn't it? Cheers, Adam
Re: Question for Adam - KDE User - 2002-08-09
I want them to promote Qt# as part of the Mono project just as much as they are promoting GTK#. Why do you have to eliminate the dependency on libqtc?
Re: Question for Adam - Adam Treat - 2002-08-09
Ximian is not in the business of developing for the KDE Desktop. They have sponsored and founded the Mono project, so wishing that they would promote Qt# as much as Gtk# is a only going to lead to frustration. They have been very gracious with there time and attention to all the questions and problems we have faced with Qt#. It has been a wonderful experience working side by side with the Ximian/Gnome developers and I wish to emphasize the positive instead of dwelling upon the differences. Besides, Qt# should work equally well with Portable.Net as well as Mono. Now, the dependency upon libqtc is a nasty one, because it prevents us from becoming a truly cross-platform lib. libqtc is licensed under the GPL which disallows linking to any other version of Qt besides Qt/X11. It is also very difficult to maintain. Hope this clears the air a bit.
Re: Question for Adam - KDE User - 2002-08-10
What is libqtc exactly and why is it needed? Qt is GPL in the first place...
Re: Question for Adam - Roberto Alsina - 2002-08-10
libqtc is a C binding for Qt. The idea is that languages link easier to C libraries than C++ ones, so libqtc works as a C buffer, and you link language->C->C++ I don't much see how C# is going to link to C++ classes without it or something similar, though, but I know nothing about C# ;-) This approach is the same used by Kylix, too. Although Qt is GPL, Qt is not ONLY GPL. Qt is also under the QPL, and under a commercial license, and under a free-as-beer-sometimes license. Since qtc is GPL, you can not use it with a Qt licensed under any of the other licenses. Here`s an idea. If IBM or Ximian or whoever pays me 2500 U$S, I promise to write a new QtC under a BSD license. Many better programmers can do a better job, but not many can do it cheaper or claim to have done it before ;-)
Qt license question - A - 2002-08-12
A small question. Is there a possibility to develop closed source freeware programs with Qt? Shareware (what's the difference anyway)?
Re: Qt license question - Roberto Alsina - 2002-08-12
Of course you can. It's gonna cost you, though.
Re: Qt license question - A - 2002-08-13
I guess that's the philosophy here. If you use open source, you support open source.
Re: Qt license question - Kuba - 2002-08-16
Although that has nothing to do with Qt, small closed-source shareware/freeware projects seem to be a waste of time in >90% of cases. The mentioned >90% of them die, and there's almost no benefit to the society (nor to the original programmers). For small projects that are meant to stay small, open source (ideally GPL) is almost always a good way to proceed. AFAIK, there are only a few relatively small "shareware" type projects that have stayed in the marketplace for a longer time and had generated useful revenue. WinZip comes to mind. There have been a beautiful shareware utilities for DOS, some of them quite worth porting to unix nowadays. Yet they have been a waste of time from *today's* perspective since there's no easy way to reuse and expand them, even if we forget about licensing problems. Even though the utilities were useful and all, they are now in bit-heaven. The companies that did them don't exist, some of the programmers that did them may have even retired or became air traffic controllers by now. And I doubt that most of these small shareware shops had short-livedness, or temporary benefit, as one of their goal. I do understand that some shareware authors might have done shareware to temporarily repair their home budgets, but that's a tiny percentage of all shareware makers. To summarize: if it's a small freeware project, there's no point in not making it opensource: freeware doesn't generate revenue. And you can always make the project double-licensed, so that all outside contributors know that their code may be used in a commercial way. After all, what is the other point of keeping freeware closed-source? The only imaginable point is to make it sell for money, and that's where double-licensing works perfectly. If it's a shareware project, the question is whether shareware is something you want to do. Yet, in many cases shareware can work anyway all right with open source and generate same or even greater revenue that it would without being open source.