Release build with of VIsual Studio Project made with CMake with Qt dependecy

0

I have made a cmake project that generates a Visual Studio project file. In our project we like to use Qt for handeling platform specific code and to reduce certain complexities to one-liners. So far everything works out pretty great in debug build, however on release build I'm hitting the following problem.

Exception thrown at 0x000000006BC2CF8A (Qt5Core.dll) in base.exe: 0xC0000005: Access violation reading location 0x0000000000000008.

I saw some forums suggesting to double check the CRT runtime settings, for debug this is on /MDd for release this was set to /MD. Both are "dll" versions. Which make sense sinse QT classes are "DLL"-Safe.

I'm having a hard time wrapping my head around what actually goes wrong, the exception is the only clue I have at this point. Would be greatly appreciated if anybody can point me in the right direction!

c++
qt
visual-c++
cmake
asked on Stack Overflow Sep 7, 2018 by Lawrence Kok

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0