The worst error when compiling the Konqueror code

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The worst error when compiling the Konqueror code

keika
Hi
I got the following error when compiling the Konqueror code:

kresolver_p.h:116: error: 'QMutex' does not name a type
kresolver_p.h:167: error: 'QWaitCondition' does not name a type
kresolver_p.h:186: error: 'QWaitCondition' does not name a type
kresolver_p.h:189: error: 'QMutex' does not name a type
kresolver_p.h:328: error: expected class-name before '{' token
kresolver.cpp:67: error: 'QMutex' does not name a type
kresolver.cpp: In member function 'Q_UINT16 KNetwork::KResolverEntry::length() const':
kresolver.cpp:151: warning: conversion to 'Q_UINT16' from 'int' may alter its value
kresolver.cpp: In member function 'bool KNetwork::KResolver::wait(int)':
kresolver.cpp:470: error: 'QMutexLocker' was not declared in this scope
kresolver.cpp:470: error: expected `;' before 'locker'
kresolver.cpp:492: error: 'class KNetwork::Internal::KResolverManager' has no member named 'notifyWaiters'
kresolver.cpp:492: error: 'class KNetwork::KResolverPrivate' has no member named 'mutex'
kresolver.cpp:494: error: 'class KNetwork::Internal::KResolverManager' has no member named 'notifyWaiters'
kresolver.cpp:494: error: 'class KNetwork::KResolverPrivate' has no member named 'mutex'
kresolver.cpp: In static member function 'static QStrList KNetwork::KResolver::protocolName(int)':
kresolver.cpp:623: error: 'QMutexLocker' was not declared in this scope
kresolver.cpp:623: error: expected `;' before 'locker'
kresolver.cpp: In static member function 'static QStrList KNetwork::KResolver::protocolName(const char*)':
kresolver.cpp:669: error: 'QMutexLocker' was not declared in this scope
kresolver.cpp:669: error: expected `;' before 'locker'
kresolver.cpp: In static member function 'static int KNetwork::KResolver::protocolNumber(const char*)':
kresolver.cpp:715: error: 'QMutexLocker' was not declared in this scope
kresolver.cpp:715: error: expected `;' before 'locker'
kresolver.cpp: In static member function 'static int KNetwork::KResolver::servicePort(const char*, const char*)':
kresolver.cpp:757: error: 'QMutexLocker' was not declared in this scope
kresolver.cpp:757: error: expected `;' before 'locker'
kresolver.cpp:786: warning: conversion to 'short unsigned int' from 'int' may alter its value
kresolver.cpp:786: warning: conversion to 'short unsigned int' from 'int' may alter its value
kresolver.cpp: In static member function 'static QStrList KNetwork::KResolver::serviceName(const char*, const char*)':
kresolver.cpp:799: error: 'QMutexLocker' was not declared in this scope
kresolver.cpp:799: error: expected `;' before 'locker'
kresolver.cpp: In static member function 'static QStrList KNetwork::KResolver::serviceName(int, const char*)':
kresolver.cpp:845: error: 'QMutexLocker' was not declared in this scope
kresolver.cpp:845: error: expected `;' before 'locker'


i have gooled and searched all the similar errors but seems that nobody has resolved the error above!
I asked in the google and also nobody built the Konqueror code successfully.
I am a fraid it might be a bug to the source code.
Can you give me a clue?
I' d appreciate very much!
Thanks in advance.

Best always.
Richard


_______________________________________________
konq-e mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/konq-e
Reply | Threaded
Open this post in threaded view
|

Re: The worst error when compiling the Konqueror code

u.luckas (Bugzilla)
On Thursday, 26. February 2009, 刘富国 wrote:
> Hi
> I got the following error when compiling the Konqueror code:
>
> *kresolver_p.h:116: error: 'QMutex' does not name a type

> i have gooled and searched all the similar errors but seems that nobody has
> resolved the error above!
> I asked in the google and also nobody built the Konqueror code
> successfully. I am a fraid it might be a bug to the source code.
> Can you give me a clue?
> I' d appreciate very much!
> Thanks in advance.
It looks like your Qt does not birng thread support. Thread support is needed
for konquerror-embedded

Uli

--

------- ROAD ...the handyPC Company - - -  ) ) )

Uli Luckas
Head of Software Development

ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 62 | fax: +49 (30) 230069 - 69
url: www.road.de

Amtsgericht Charlottenburg: HRB 96688 B
Managing director: Hans-Peter Constien

_______________________________________________
konq-e mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/konq-e

signature.asc (204 bytes) Download Attachment