Re: Hello World

David Haller <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo,

Am Son, 07 Jun 2009, Sascha 'saigkill' Manns schrieb:
>heute kam endlich mein bestelltes Buch an. KDE und QT Programmieren.
>Leider klappt das erste Listing nicht:
>// First Program
>// in QT
>#include <qapplication.h>
>#include <qlabel.h>
>
>int main(int argc, char **argv)
>{
>  QApplication app(argc, argv);
>  QLabel *myfirst = new QLabel("<H1>Hallo, Welt!</H1>", 0);
>  myfirst->show();
>  return app.exec();
>}
>
>Als Fehler kommt:
>Sagt das jemandem was?

Nein. Das nix sagt mir nix.

-dnh

PS: mit QT2 tut das Beispiel hier.

-- 
Who stole my tagline?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.