knotify4.exe won't start, might be phonon_platform "uses incompatible Qt library"
Ralf Habacker
ralf.habacker at freenet.de
Wed Nov 7 23:42:10 CET 2007
Christian Ehrlicher schrieb:
> Christian Ehrlicher schrieb:
>
>> S Page schrieb:
>>
>>> In my kdewin-installer-gui-0.8.1-2.exe installation,
>>> knotify4.exe won't start.
>>>
>>> * Explorer says:
>>> Windows cannot access the specified device, path, or file. You may
>>> not have the appropriate permissions to access the item.
>>>
>>> * Command-prompt says "Access is denied"
>>>
>>> * Running in Cygwin gdb says
>>> Error creating process /cygdrive/c/KDE4/bin/knotify4.exe, (error 5).
>>>
>>> If I copy knotify4.exe to a different filename and run that, it silently
>>> exits in Explorer and cmd.exe. But gdb reports
>>>
>>> Loaded symbols for /cygdrive/c/KDE4/bin/phonon.dll
>>> warning: ASSERT failure in class Phonon::PlatformPlugin *__thiscall
>>> Phonon::FactoryPrivate::platformPlugin(void): "The plugin
>>> 'C:/KDE4/lib/kde4/plugins/phonon_platform/kde.dll' uses incompatible Qt
>>> library. (Cannot mix debug and release libraries.)", file
>>> D:\kde-msvc\tmp\kdelibs-beta4-3.95.1.20071029\work\kdelibs\phonon\factory.cpp,
>>> line 283
>>>
>>> I see a similar message in DebugView if I configure KTeaTime to notify
>>> with a sound, yet KTeaTime starts and runs OK. So maybe the problem
>>> with knotify4 is something else.
>>>
>>>
>> I can reproduce the problem although I don't understand it. It works for
>> me in my dev environment and the same qt lib & version is used for both
>> - phonon and knotify4...
>>
>>
> ok, found it - thx for the report.
> Qt thinks that kde.dll is built as debug lib which is wrong. The problem
> is that a qt-based lib compiled in release mode needs to set
> -DQT_NO_DEBUG - otherwise qt assumes that it's a debug lib.
>
> You have to wait for the next release.
>
or someone would make a patch for this release like
kdelibs-msvc-3.95.1-<patchlevel>-patch.zip containing only the files to
be replaced.
Ralf
More information about the Kde-windows
mailing list