Talk:Development/Tutorials/First program: Difference between revisions

From KDE TechBase
No edit summary
Line 8: Line 8:


:Well I change a little the code so it now compiles under KDE4, it seems that the constructor of KAboutDate was changed...
:Well I change a little the code so it now compiles under KDE4, it seems that the constructor of KAboutDate was changed...
== Build ==
Does the g++ command work for you as described?
I needed to add -lQtXml, lQtSvg and lQtNetwork.

Revision as of 12:40, 13 November 2007

Adding authors to wiki pages seems counterintuitive to me. The wiki is editable by everybody. Why does it matter who the author of a tutorial is? IMHO the only thing that matters is that the tutorial is kept up to date. --Mattr 03:31, 4 January 2007 (CET)

I agree with Matt. I usually add a Initial Author: at the bottom for pages from the old developer wiki code, because they wrote it with often no explicit copyright information. See also this page --Dhaumann 17:36, 4 January 2007 (CET)

‘ki18n’ was not declared in this scope

I don't know if this is the place to post this, but I tried to follow this tutorial and get an "error: ‘ki18n’ was not declared in this scope", when trying to compile using the big command gcc main.cpp ...

Well I change a little the code so it now compiles under KDE4, it seems that the constructor of KAboutDate was changed...

Build

Does the g++ command work for you as described? I needed to add -lQtXml, lQtSvg and lQtNetwork.