Am 26.07.2012 05:43, schrieb Andrius da Costa Ribas: > add_definitions(${KDE4_ENABLE_EXCEPTIONS}) seems to interfere with > RC.exe when I try to add a kde4_add_app_icon. > fatal error RC1106: invalid option: -EHsc > > any hint with that?
probably this has to be set in a different way then, something like set_property(... COMPILE_FLAGS ...) or something like that. I'll try to think about a nice solution for that. regards, Patrick > > -- > Andrius. > > 2012/7/26 Andrius da Costa Ribas <andrius...@gmail.com > <mailto:andrius...@gmail.com>> > > Hello, > > In src/systemexception.h: > return m_msg.toStdString().c_str(); > ^ my Qt copy was built with no support to toStdString, please > consider changing it to: > return m_msg.toLatin1(); > > -- > Andrius. > > > 2012/7/25 Jakob Gruber <jakob.gru...@gmail.com > <mailto:jakob.gru...@gmail.com>> > > On 07/25/2012 11:44 PM, Laszlo Papp wrote: > >> KERNELBASE.dll!RaiseException() [[unknown] @ -1] at 0x75f7b727 > >> MSVCR100.dll!CxxThrowException() [[unknown] @ -1] at 0x64617819 > >> picmi.exe!Renderer::loadResources() > >> [c:\projects\picmi\src\gui\renderer.cpp @ 73] at 0xec028f > >> picmi.exe!GetCommandLineW() [[unknown] @ -1] at 0xed233d > >> picmi.exe!Renderer::Renderer() > [c:\projects\picmi\src\gui\renderer.cpp > >> @ 46] at 0xec0566 > >> picmi.exe!Renderer::instance() > [c:\projects\picmi\src\gui\renderer.cpp > > [snip] > > > > OK, this can be fixed by a proper cmake run, like "cmake > > -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_ > > PREFIX=%KDEROOT% -DCMAKE_PREFIX_PATH=%KDEROOT% ../". > > Yes, to find the resource file, picmi either needs to be > installed or > your working dir must be the project root. > > Thanks for testing! > > >