On Saturday 23 January 2010, Arno Rehn wrote: > 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_LIB > > >RA 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 You're kdelibs are not current, please update them e.g. to at least rev. 1076826 from the 4.4 branch. Let me know if yu then still have this problem (the names of the imported targets changed from Qt4__QTFOO to Qt4::QtFoo, this needed to be done before 4.4.0) Alex _______________________________________________ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team