no win32 application icon possible with kde4_add_kdeinit_executable
Ralf Habacker
ralf.habacker at freenet.de
Tue Nov 25 19:29:13 CET 2008
Hi,
for kwrite (kdebase/apps/kwrite) I tried to add an application icon
using the following cmake commands
kde4_add_app_icon(${kwrite_KDEINIT_SRCS} "pics/hi*-app-kwrite.png")
kde4_add_kdeinit_executable(kwrite ${kwrite_KDEINIT_SRCS})
target_link_libraries(kdeinit_kwrite ${KDE4_KTEXTEDITOR_LIBS}
${KDE4_KIO_LIBS} ${KDE4_KPARTS_LIBS})
Unfortunally the icons is not created (usually there must be a line
like those: [ 0%] Generating kwrite.ico, kwrite.rc)
[100%] Building CXX object
kwrite/CMakeFiles/kdeinit_kwrite.dir/kwrite_win32lib_dummy.obj
kwrite_win32lib_dummy.cpp
Linking CXX static library ..\bin\kdeinit4_kwrite.lib
[100%] Built target kdeinit_kwrite
Generating kwritemain.moc
[100%] Built target kwrite_automoc
[100%] Building CXX object kwrite/CMakeFiles/kwrite.dir/kwrite_automoc.obj
kwrite_automoc.cpp
[100%] Building CXX object kwrite/CMakeFiles/kwrite.dir/kwritemain.obj
kwritemain.cpp
[100%] Building CXX object kwrite/CMakeFiles/kwrite.dir/kwrite_dummy.obj
kwrite_dummy.cpp
Linking CXX executable ..\bin\kwrite.exe
LINK : ..\bin\kwrite.exe not found or not built by the last incremental
link; performing full link
Creating library ..\bin\kwrite.lib and object ..\bin\kwrite.exp
[100%] Built target kwrite
Install the project...
-- Install configuration: "Debug"
-- Installing: E:/daten/kde/emerge-msvc-root/bin/kwrite.exe
-- Installing: E:/daten/kde/emerge-msvc-root/lib/kdeinit4_kwrite.lib
-- Up-to-date:
E:/daten/kde/emerge-msvc-root/share/applications/kde4/kwrite.desktop
-- Up-to-date: E:/daten/kde/emerge-msvc-root/share/apps/kwrite/kwriteui.rc
How can I add application icons on win32 to kdeinit executable beside to
shortcut the kdeinit stuff completly ?
Regards
Ralf
More information about the Kde-buildsystem
mailing list