Hi, and thanks for your answer.
Here is the Call stack (I hope it's the same as the backtrace)
QtCored4.
dll!v_clear<QList<QVariant> >
(QVariant::Private * d, QList<QVariant>
* __formal
) Line
147 C
++ QtCored4.
dll!clear
(QVariant::Private * d
) Line
214 C
++ VariousTestingd.
exe!QVariant::`scalar deleting destructor
'(unsigned int) C++ VariousTestingd.exe!QMap<QString,QVariant>::freeData(QMapData * x) Line 653 C++
VariousTestingd.exe!QMap<QString,QVariant>::~QMap<QString,QVariant>() Line 185 C++
VariousTestingd.exe!QMap<QString,QVariant>::clear() Line 447 C++
VariousTestingd.exe!main(int argc, char * * argv) Line 40 C++
VariousTestingd.exe!WinMain(HINSTANCE__ * instance, HINSTANCE__ * prevInstance, char * __formal, int cmdShow) Line 131 C++
VariousTestingd.exe!__tmainCRTStartup() Line 528 C
VariousTestingd.exe!WinMainCRTStartup() Line 377 C
kernel32.dll!75beed6c() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!774c377b() Unknown
ntdll.dll!774c374e() Unknown
QtCored4.dll!v_clear<QList<QVariant> >(QVariant::Private * d, QList<QVariant> * __formal) Line 147 C++
QtCored4.dll!clear(QVariant::Private * d) Line 214 C++
QtCored4.dll!QVariant::~QVariant() Line 1400 C++
VariousTestingd.exe!QVariant::`scalar deleting destructor'(unsigned int) C++
VariousTestingd.exe!QMap<QString,QVariant>::freeData(QMapData * x) Line 653 C++
VariousTestingd.exe!QMap<QString,QVariant>::~QMap<QString,QVariant>() Line 185 C++
VariousTestingd.exe!QMap<QString,QVariant>::clear() Line 447 C++
VariousTestingd.exe!main(int argc, char * * argv) Line 40 C++
VariousTestingd.exe!WinMain(HINSTANCE__ * instance, HINSTANCE__ * prevInstance, char * __formal, int cmdShow) Line 131 C++
VariousTestingd.exe!__tmainCRTStartup() Line 528 C
VariousTestingd.exe!WinMainCRTStartup() Line 377 C
kernel32.dll!75beed6c() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!774c377b() Unknown
ntdll.dll!774c374e() Unknown
To copy to clipboard, switch view to plain text mode
Also, I've got new inputs.
I tried compiling and debugging the previous code with Qt 4.8.2 (compiled with vs2010) under Visual c++ 2010 express edition.
No error...
I tried it before with Qt 4.8.4 and Visual studio 2012 Professional.
It means :
(1)- VS2012 isn't as permissive as the express edition
(2)- My Qt 4.8.4 built is broken
(3)- Another answer...?
I hope to think the answer is number (2).
I'm switching to the way I built my Qt library; so you can check if it sounds good to you.
1. I downloaded the last Qt sources
2. I opened a command prompt VS2012
4. I went into the created Qt folder and executed the following commands (I chose the "open license")
configure -debug-and-release -no-qt3support -no-webkit -nomake demos -nomake examples -nomake tools -platform win32-msvc2012
nmake
configure -debug-and-release -no-qt3support -no-webkit -nomake demos -nomake examples -nomake tools -platform win32-msvc2012
nmake
To copy to clipboard, switch view to plain text mode
Thanks in advance for your ideas.
Bookmarks