[opensuse-packaging] Freemedforms
Repo: home:saigkill Package: Freemedforms Hello Mates, ATM i'm try to package freemedforms. I'm getting: sdk/../objects/tkGlobal.h:157: warning: type qualifiers ignored on function return type In file included from sdk/tkTheme.h:1, from objects/tkSettings.cpp:154: sdk/../objects/tkTheme.h:150: warning: type qualifiers ignored on function return type objects/tkSettings.cpp: In constructor 'tkSettings::tkSettings(QObject*, const QString&, const QString&)': objects/tkSettings.cpp:247: error: 'FMF_BIN_PATH' was not declared in this scope objects/tkSettings.cpp:248: error: 'FMF_GLOBAL_RESOURCES' was not declared in this scope The tkSettings.cpp and *.h i have attached to this Mail. Has anyone an Idea to fix the Problem? -- Sincerely yours Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
Sascha 'saigkill' Manns wrote:
Repo: home:saigkill Package: Freemedforms
Hello Mates,
ATM i'm try to package freemedforms. I'm getting: sdk/../objects/tkGlobal.h:157: warning: type qualifiers ignored on function return type In file included from sdk/tkTheme.h:1, from objects/tkSettings.cpp:154: sdk/../objects/tkTheme.h:150: warning: type qualifiers ignored on function return type objects/tkSettings.cpp: In constructor 'tkSettings::tkSettings(QObject*, const QString&, const QString&)': objects/tkSettings.cpp:247: error: 'FMF_BIN_PATH' was not declared in this scope objects/tkSettings.cpp:248: error: 'FMF_GLOBAL_RESOURCES' was not declared in this scope
The tkSettings.cpp and *.h i have attached to this Mail.
Has anyone an Idea to fix the Problem?
Hi not sure, which version are you using, maybe you should upload sources to buildservice, but I download source code from svn (see http://code.google.com/p/freemedforms/source/checkout), and from this code I see : macro FMF_BIN_PATH is defined in file config.pri (top level dir) and this config is used with qmake to generate Makefile which contain then -DFMF_BIN_PATH="..." - option for compiler which define you undefined macro :) so if your tkSettings.cpp is in freemedforms/libs/toolkit/objects directory, check if freemedforms/libs/toolkit/Makefile contain -DFMF_BIN_PATH option uploaded sources or version number would by helpful also bye -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Michal Seben
-
Sascha 'saigkill' Manns