[Kde-bindings] KDE 4.4 RC1 (4.3.90) tarballs uploaded

Arno Rehn arno at arnorehn.de
Sat Jan 23 17:25:49 CET 2010


On Friday 22 January 2010 17:52:12 Alexander Neundorf wrote:
> Also make sure your FindQt4.cmake is current (i.e. at least 1076819).
> 
> > /usr/lib/libQtCore.so;_linkInterfaceLibs-NOTFOUND;-
> > lpthread;/usr/lib/libQtDBus.so;_linkInterfaceLibs-
> > NOTFOUND;/usr/lib/libQtGui.so;_linkInterfaceLibs-
> > NOTFOUND;/usr/lib/libQtNetwork.so;_linkInterfaceLibs-
> > NOTFOUND;/usr/lib/libQtOpenGL.so;_linkInterfaceLibs-
> > NOTFOUND;/usr/lib/libQtXml.so;_linkInterfaceLibs-
> > NOTFOUND;/usr/lib/libQtSvg.so;_linkInterfaceLibs-NOTFOUND
> >
> > I used this:
> >
> > include (HandleImportedTargetsInCMakeRequiredLibraries)
> > set(CMAKE_REQUIRED_INCLUDES ${CMAKE_SYSTEM_INCLUDE_PATH}
> > ${QT_INCLUDE_DIR}) set(CMAKE_REQUIRED_LIBRARIES ${QT_QTCORE_LIBRARY}
> > ${QT_QTDBUS_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY}
> > ${QT_QTOPENGL_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_LIBRARY})
> > HANDLE_IMPORTED_TARGETS_IN_CMAKE_REQUIRED_LIBRARIES(_CMAKE_REQUIRED_LIBRA
> >RI ES) message("${_CMAKE_REQUIRED_LIBRARIES}")
> >
> > What are linkInterfaceLibs? Wouldn't it be better if they weren't added
> > to the list if they don't exist?
> 
> Sure, that's what the patch mentioned above should do.
> If it doesn't let's fix it.
Ok, the macro works fine now. Next problem is the following:

Linking CXX shared library ../../lib/libsmokekdecore.so
/usr/bin/ld: cannot find -lQt4__QTDBUS
collect2: ld returned 1 exit status

the cmake code is:
target_link_libraries(smokekdecore
    ${QT_QTCORE_LIBRARY}
    ${QT_QTNETWORK_LIBRARY}
    ${QT_QTDBUS_LIBRARY}
    ${KDE4_KDECORE_LIBS}
    smokeqtcore
    smokeqtnetwork
    smokeqtdbus
)

If I comment out the KDECORE libs, the above mentioned error goes away and I 
only get a whole lot of undefined reference errors (as was to be expected). So 
I guess FindKDE4Internal.cmake is doing something wrong. I just checked for 
updates, but my cmake macros are up-to-date.

--
Arno Rehn
arno at arnorehn.de


More information about the release-team mailing list