Hello,

I've attached here a few patches, one for phonon to add /DQT_NO_DEBUG flag
for non debug release modes (all phonon-based apps were crashing because Qt
plugin mechanism were refusing to load phonon-vlc due to this), however I'm
not sure this is the correct way, or even if it should go into
FindKde4Internals.cmake instead. The other two patches are to fix msvc
build for amarok, I'm currently unable to run it because it issues a
generic "amarok.exe stopped working" windows message on startup, and I had
not found a way to generate a useful backtrace from it, do you know any way
to do so? In other similar occasions I've used Dr.Memory but this time it
didn't help either.

Best Regards,
Andrius.
diff -Nru -x '*~' phonon-4.7.1.orig/cmake/FindPhononInternal.cmake 
phonon-4.7.1/cmake/FindPhononInternal.cmake
--- phonon-4.7.1.orig/cmake/FindPhononInternal.cmake    2013-12-06 
08:22:44.000000000 -0200
+++ phonon-4.7.1/cmake/FindPhononInternal.cmake 2014-01-08 22:00:07.577146400 
-0200
@@ -288,6 +288,9 @@
    kde_check_flag_exists("/NODEFAULTLIB:libcmt /DEFAULTLIB:msvcrt" 
CMAKE_EXE_LINKER_FLAGS_RELEASE "release")
    kde_check_flag_exists("/NODEFAULTLIB:libcmt /DEFAULTLIB:msvcrt" 
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "release minsize")
    kde_check_flag_exists("/NODEFAULTLIB:libcmtd /DEFAULTLIB:msvcrtd" 
CMAKE_EXE_LINKER_FLAGS_DEBUG "debug")
+   kde_check_flag_exists("/DQT_NO_DEBUG" CMAKE_CXX_FLAGS_RELWITHDEBINFO 
"Release with Debug Info")
+   kde_check_flag_exists("/DQT_NO_DEBUG" CMAKE_CXX_FLAGS_RELEASE "release")
+   kde_check_flag_exists("/DQT_NO_DEBUG" CMAKE_CXX_FLAGS_MINSIZEREL "release 
minsize")
 endif(MSVC)
 
 # This macro is for internal use only

Attachment: Don-t-use-forward-declarations-when-using-templates.patch
Description: Binary data

Attachment: Fix-log2-absent-in-MSVC.patch
Description: Binary data

_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows

Reply via email to