Reply
Thread Tools
w00t's Avatar
Posts: 1,055 | Thanked: 4,107 times | Joined on Oct 2009 @ Norway
#91
Originally Posted by javispedro View Post
Aha, a holy war!

Btw, which side do those who like C++ but dislike Qt fall on?
In the middle.

(i.e. you get hated by everyone)
__________________
i'm a Qt expert and former Jolla sailor (forever sailing, in spirit).
if you like, read more about me.
if you find me entertaining, or useful, thank me. if you don't, then tell me why.
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#92
My language is better than your language.

My IDE is better than your IDE.

My release license is better than your release license.
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
w00t's Avatar
Posts: 1,055 | Thanked: 4,107 times | Joined on Oct 2009 @ Norway
#93
Originally Posted by Texrat View Post
My language is better than your language.

My IDE is better than your IDE.

My release license is better than your release license.
My laptop is better than your laptop.

My black editor colour scheme is better than your white editor color scheme.

My mom is better than your mom.
__________________
i'm a Qt expert and former Jolla sailor (forever sailing, in spirit).
if you like, read more about me.
if you find me entertaining, or useful, thank me. if you don't, then tell me why.
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#94
Originally Posted by w00t View Post
My laptop is better than your laptop.

My black editor colour scheme is better than your white editor color scheme.

My mom is better than your mom.
Maybe, but my code is prettier!
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 

The Following User Says Thank You to Texrat For This Useful Post:
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#95
Originally Posted by Texrat View Post
Maybe, but my code is prettier!
... than his mom?
Thats just low(er case).
 

The Following 2 Users Say Thank You to uvatbc For This Useful Post:
casper27's Avatar
Posts: 844 | Thanked: 521 times | Joined on Jan 2009 @ UK southampton
#96
Originally Posted by Texrat View Post
Maybe, but my code is prettier!
But my code is longer and thicker
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#97
It's not about how big it is, but how you use it.

Wait, that actually makes sense in this context. Scratch it.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#98
Lets try to keep it on topic people - This is a holy flame war!
GTK is better because its first letter appears earlier in the alphabet.
QT is better because it has lesser characters and actually can be pronounced to form a known English word.
 
Posts: 107 | Thanked: 74 times | Joined on Jan 2010
#99
Just for those that thinks qt is not easy, this is little tool that shows how to create a button that when clicked emit a signal on the session bus.

mywidget.h
Code:
#include <QWidget>
#include <QPushButton>
#include <QVBoxLayout>
#include <QDBusConnection>

class MyWidget : public QWidget
{
  Q_OBJECT
  public:
  MyWidget() : QWidget() {
    QDBusConnection::sessionBus().registerObject("/",this,QDBusConnection::ExportAllContents);
    new QVBoxLayout(this);
    QPushButton *b = new QPushButton("emit signal",this);
    layout()->addWidget(b);
    connect(b,SIGNAL(clicked()),SIGNAL(clicked()));
    show();
  }
  signals:
    void clicked();
};
main.cpp
Code:
#include <QApplication>
#include "mywidget.h"

int main(int argc, char **argv)
{
  QApplication app(argc, argv);
  new MyWidget();
  return app.exec();
}
gui_dbus.pro
Code:
SOURCES += main.cpp
QT += gui dbus
HEADERS += mywidget.h
That's was done in 2 minutes using vi, 20 seconds of that was spent to launch "assistant", type in the search bar "registerObject", click on RegisterOptions and retrieve QDBusConnection::ExportAllContents define that I always do not remember.

Further some seconds to build and launch:

qmake; make; ./gui_dbus

tested with dbus-monitor:

signal sender=:1.223 -> dest=(null destination) serial=6 path=/; interface=local.MyWidget; member=clicked

Now convince me that is easy and fast to use gtk, dbus lib, autoscan, autoreconf, configure, pkgconfig, and so on....
 

The Following User Says Thank You to nicola.mfb For This Useful Post:
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#100
Hi Khertan,
may you motivate?
Yep ... i ... just a matter of preferences, i didn't like how qtdesigner works and how qwidget are made, i found that many widget in the qt frameworks are really too more complicated that what they should be. Also because it s tends to do some things automatically for you, but sometime you didn't want that, but you can't prevent it without using many turn around.

Both are supported under Nokia.
Qt is ... gtk noone know.
 

The Following User Says Thank You to Khertan For This Useful Post:
Reply

Tags
flamewar ftw, gtk ftw, gtk is simpler, gtk+, ide religion, maemo5, misguided rant, n gtk support, no qt, pointless, qt ftw, qt is simple, qt=not cute, stupid fud, trollparty


 
Forum Jump


All times are GMT. The time now is 10:51.