Summary: | Error trying to compile a simple designer base Kde app | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Raul Moratalla <raul.moratalla> |
Component: | appwizard | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | HI | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Raul Moratalla
2004-06-11 01:37:09 UTC
I have kind of fixed this already. Sadly, i lost most of that box to a filesystem crash. So it will be a day or two until i can commit it. For other devs: It is not done by quitely changeing the $LICENSE$ to %{LICENSE} in the template. There are licenses that have no counterpart in the enum in KAboutData. This also happens with the kpartapp template. I have downloaded a new snapshot and the problem with KAboutData::License_$LICENSE$ was solved but it still remains: (C) %{YEAR} CVS commit by cunz: At least fix the remaining $LICENSE$ texts in templates I yet did not have the time to redo the stuff which should translate "GPL+Qt-Exception" into "GPL", so i cannot close this yet. Does this need to get into Beta1? I personally think that being not able to compile a KDE Application out of the box is a grave-bug for the KDE IDE. CCMAIL: 83191@bugs.kde.org CCMAIL: kdevelop-devel@kdevelop.org M +1 -1 kpartapp/main.cpp 1.5 M +1 -1 kxt/main.cpp 1.5 --- kdevelop/languages/cpp/app_templates/kpartapp/main.cpp #1.4:1.5 @@ -20,5 +20,5 @@ int main(int argc, char **argv) { KAboutData about("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description, - KAboutData::License_$LICENSE$, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}"); + KAboutData::License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}"); about.addAuthor( "%{AUTHOR}", 0, "%{EMAIL}" ); KCmdLineArgs::init(argc, argv, &about); --- kdevelop/languages/cpp/app_templates/kxt/main.cpp #1.4:1.5 @@ -20,5 +20,5 @@ int main(int argc, char **argv) { KAboutData about("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description, - KAboutData::License_$LICENSE$, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}"); + KAboutData::License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}"); about.addAuthor( "%{AUTHOR}", 0, "%{EMAIL}" ); KCmdLineArgs::init(argc, argv, &about); This is mostly fixed in both KDE_3_3_BRANCH and HEAD. The remaining issues are: - the stuff which should translate "GPL+Qt-Exception" into "GPL" - there are licenses that have no counterpart in the enum in KAboutData CVS commit by dagerbo: Bug galore! BUG: 90070 BUG: 76800 BUG: 83191 BUG: 88229 BUG: 89149 M +29 -5 appwizarddlg.cpp 1.112 M +3 -3 kdevlicense.cpp 1.3 |