Building kdelibs against qt-embedded

James Lamanna jlamanna at ugcs.caltech.edu
Sat May 8 08:49:31 BST 2004


I'm trying to build kdelibs against qt-embedded, but I am stopped with 
the following errors listed below.
Is this even possible yet? It doesn't look like all the #ifdefs are in.
This is the latest CVS version.

Please CC me for I am not subscribed.

Thanks.
- James Lamanna

kapplication.cpp:154: error: parse error before `=' token
kapplication.cpp:155: error: syntax error before `;' token
kapplication.cpp:226: error: type specifier omitted for parameter 
`XErrorEvent'
kapplication.cpp:226: error: parse error before `*' token
kapplication.cpp: In member function `virtual bool
    KApplication::notify(QObject*, QEvent*)':
kapplication.cpp:488: error: `KStartupInfo' undeclared (first use this
    function)
kapplication.cpp:488: error: (Each undeclared identifier is reported 
only once
    for each function it appears in.)
kapplication.cpp:488: error: parse error before `::' token
kapplication.cpp:489: error: `qt_x_user_time' undeclared (first use this
    function)
kapplication.cpp:489: error: `CurrentTime' undeclared (first use this 
function)
kapplication.cpp:490: error: `qt_xdisplay' undeclared (first use this 
function)
kapplication.cpp:490: error: `XA_CARDINAL' undeclared (first use this 
function)
kapplication.cpp:491: error: `PropModeReplace' undeclared (first use this
    function)
kapplication.cpp:491: error: `XChangeProperty' undeclared (first use this
    function)
kapplication.cpp: In member function `void 
KApplication::checkAppStartedSlot()
    ':
kapplication.cpp:512: error: parse error before `::' token
kapplication.cpp: In member function `int 
KApplication::xErrhandler(Display*,
    void*)':
kapplication.cpp:682: error: `XErrorEvent' undeclared (first use this 
function)
kapplication.cpp:682: error: `err' undeclared (first use this function)
kapplication.cpp:682: error: parse error before `*' token
kapplication.cpp:681: warning: unused parameter `void*err_'
kapplication.cpp: In member function `void
    KApplication::enableSessionManagement()':
kapplication.cpp:1013: error: `mySmcConnection' undeclared (first use 
this   function)
kapplication.cpp:1014: error: `SmSaveLocal' undeclared (first use this
    function)
kapplication.cpp:1015: error: `SmInteractStyleAny' undeclared (first use 
this
    function)
kapplication.cpp:1016: error: `SmcRequestSaveYourself' undeclared (first use
    this function)
kapplication.cpp:1019: error: `SmcGetIceConnection' undeclared (first 
use this
    function)
kapplication.cpp: In member function `bool
    KApplication::requestShutDown(KApplication::ShutdownConfirm,
    KApplication::ShutdownType, KApplication::ShutdownMode)':
kapplication.cpp:1026: warning: unused parameter 
`KApplication::ShutdownConfirm
    confirm'
kapplication.cpp:1026: warning: unused parameter `KApplication::ShutdownType
    sdtype'
kapplication.cpp:1026: warning: unused parameter `KApplication::ShutdownMode
    sdmode'
kapplication.cpp: In member function `virtual void
    KApplication::saveState(QSessionManager&)':
kapplication.cpp:1165: warning: unused parameter `QSessionManager&sm'
kapplication.cpp: In destructor `virtual KApplication::~KApplication()':
kapplication.cpp:1532: error: `XSetErrorHandler' undeclared (first use this
    function)
kapplication.cpp:1534: error: `XSetIOErrorHandler' undeclared (first use 
this
    function)
kapplication.cpp: In member function `void
    KApplication::updateUserTimestamp(long unsigned int)':
kapplication.cpp:1725: warning: unused parameter `long unsigned int time'
kapplication.cpp: In static member function `static uint
    KApplication::keyboardModifiers()':
kapplication.cpp:2829: error: `Window' undeclared (first use this function)
kapplication.cpp:2829: error: parse error before `;' token
kapplication.cpp:2830: error: 'class KApplication' has no member named 
'Window'
kapplication.cpp:2833: error: `qt_xrootwin' undeclared (first use this
    function)
kapplication.cpp:2833: error: `root' undeclared (first use this function)
kapplication.cpp:2833: error: ISO C++ forbids taking the address of a bound
    member function to form a pointer to member function.  Say 
`&KApplication::
    child'
kapplication.cpp:2834: error: `XQueryPointer' undeclared (first use this
    function)
kapplication.cpp: In static member function `static uint
    KApplication::mouseState()':
kapplication.cpp:2840: error: parse error before `;' token
kapplication.cpp:2841: error: 'class KApplication' has no member named 
'Window'
kapplication.cpp:2844: error: ISO C++ forbids taking the address of a bound
    member function to form a pointer to member function.  Say 
`&KApplication::
    child'
kapplication.cpp:2845: error: `XQueryPointer' undeclared (first use this
    function)
kapplication.moc: At top level:
kapplication.cpp:142: warning: `Atom atom_DesktopWindow' defined but not 
used
kapplication.cpp:143: warning: `Atom atom_NetSupported' defined but not used
kapplication.cpp:148: warning: `Atom atom_KdeNetUserTime' defined but 
not used
kapplication.cpp:156: warning: `Atom kde_xdnd_drop' defined but not used
make[3]: *** [kapplication.lo] Error 1
make[3]: Leaving directory `/root/kde-cvs/kdelibs/kdecore'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/kde-cvs/kdelibs/kdecore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kde-cvs/kdelibs'
make: *** [all] Error 2

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list