![]() Registered Member ![]()
|
Hello!
I'm confused: Why are the KDE and Qt libs missing. The cmake file: ############################################################# # The project project(ServiceBrowser) ############################################################# # Packages find_package(KDE4 REQUIRED) ############################################################ #Include files include_directories( ${KDE4_INCLUDES} ) ############################################################ #Source files set(ServiceBrowser_SRCS main.cpp mainwindow.cpp ) ############################################################ #Executable kde4_add_executable(ServiceBrowser ${ServiceBrowser_SRCS}) target_link_libraries(ServiceBrowser ${KDE4_KDEUI_LBS}) ############################################################ #Install install(TARGETS ServiceBrowser ${INSTALL_TARGETS_DEFAULT_ARGS}) The link command line:usr/bin/c++ -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags CMakeFiles/ServiceBrowser.dir/ServiceBrowser_automoc.o CMakeFiles/ServiceBrowser.dir/main.o CMakeFiles/ServiceBrowser.dir/mainwindow.o -o ServiceBrowser -rdynamic -Wl,-rpath, As you see no KDE or Qt libs. The source code compiles just fine. /Mats |
![]() Registered Member ![]()
|
Sorry. I spotted the problem right after submitting.... A spelling mistake.
Please ignore this thread (can i kill the thread?) /Mats |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]