Bug 185965 - cannot compile kblogger
Summary: cannot compile kblogger
Status: RESOLVED DOWNSTREAM
Alias: None
Product: unknown
Classification: Bugzilla Internals
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 16:34 UTC by Oleg
Modified: 2009-03-02 18:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg 2009-03-02 16:34:01 UTC
Version:            (using KDE 4.2.0)
Compiler:          gcc-4.1.2 
OS:                Linux
Installed from:    Gentoo Packages

I have 2 kde.
For the first user:kde-3.5.10, and for the second is kde-4.2.0.
I want to use my blog and I decided to merge kblogger-07_beta3.
And during installation I got the error:

"kbloggerconfig.cpp:7:24: error: QtCore/QFile: No such file or directory "

I thought that this is took plase because :

"checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt
checking for moc... /usr/qt/3/bin/moc
checking for uic... /usr/qt/3/bin/uic"

When I did "ln -s /usr/include/qt4/QtCore /usr/qt/3/include/QtCore "
then a got next error:

"/usr/qt/3/include/QtCore/qfile.h:55: error: 'QT_BEGIN_HEADER' does not name a type
/usr/qt/3/include/QtCore/qfile.h:64: error: invalid function declaration
/usr/qt/3/include/QtCore/qfile.h:200: error: expected constructor, destructor, or type conversion before '(' token
kbloggerconfig.cpp:16: error: expected constructor, destructor, or type conversion before '(' token
kbloggerconfig.cpp: In constructor 'KBloggerConfig::KBloggerConfig()':
kbloggerconfig.cpp:28: error: 'QLatin1String' was not declared in this scope
kbloggerconfig.cpp:30: error: 's_globalKBloggerConfig' was not declared in this scope
kbloggerconfig.cpp: In destructor 'virtual KBloggerConfig::~KBloggerConfig()':
kbloggerconfig.cpp:56: error: 's_globalKBloggerConfig' was not declared in this scope
make[2]: *** [kbloggerconfig.lo] Error 1 "

Sorry for my bad english, because I am from Russia.
Comment 1 Pino Toscano 2009-03-02 18:03:07 UTC
It seems you are trying to "emerge"ing a KDE 4 application using KDE 3 stuff.

Please report the problem to Gentoo, we do not provide distribution packages.