A few patches for a quick review and help with generic error

Andrius da Costa Ribas andriusmao at gmail.com
Thu Jan 9 00:31:06 UTC 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20140108/b58ec8d2/attachment.html>
-------------- next part --------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Don-t-use-forward-declarations-when-using-templates.patch
Type: application/octet-stream
Size: 979 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20140108/b58ec8d2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix-log2-absent-in-MSVC.patch
Type: application/octet-stream
Size: 578 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20140108/b58ec8d2/attachment-0001.obj>


More information about the Kde-windows mailing list