[solved]QGraphicsPolygonItem vc2010(32bit) QT5.4 crash
-
Hi
I am new guy
I try and run "diagram Scene Example" of qt demo, but I get a crash.
I guess what's wrong with this QGraphicsPolygonItem.Use vc2010 and window 7 platform and Qt 5.4.
Package : Qt 5.4.0 for Windows 32-bit (VS 2010, OpenGL, 625 MB)
Thank you for your answer
-
I try this package
Qt 5.4.0 for Android (Windows 32-bit, 935 MB) (info)and choice mingw compiler
It is fine.
-
Does anyone know what happened?
Thank you for responce -
Hi and welcome to devnet,
What does a run through the debugger tell you ?
-
I only drag and drop Conditional button into main widget, and I get a error.
"Qt Creator Debug info Screenshot ":http://f.sync.hamicloud.net/_oops/@DOCVIEW?oops_id=mmkider&oops_link=qtc&download_key=d41d8cd98f00b204e9800998ecf8427e&name=QGraphicsPolygon_Crash.png
"Qt Creator Debug info Screenshot2":http://f.sync.hamicloud.net/_oops/@DOCVIEW?oops_id=mmkider&oops_link=hrq&download_key=d41d8cd98f00b204e9800998ecf8427e&name=QGraphicsPolygon_Crash2.png
Thank you :) -
Can you describe what you do exactly to trigger the crash ?
-
Hi~
I trigger conditional button and click mouse in the main widget.
then I get the crash.Thank you :)
-
Looks like something windows specific, can't reproduce this on OS X. Do you have the latest OpenGL drivers installed for your machine ?
-
Hi
I try the latest OpenGL drivers for NVIDIA GeForce GT630M.
Package: " 347.52-notebook-win8-win7-64bit-international-whql.exe.":http://www.nvidia.com/download/driverResults.aspx/81879/en-usBut I got the same.
"Qt Creator Debug info Screenshot3":http://f.sync.hamicloud.net/_oops/@DOCVIEW?oops_id=mmkider&oops_link=rf6&download_key=d41d8cd98f00b204e9800998ecf8427e&name=QGraphicsPolygon_Crash3.pngThank you for response.
-
Are you running a release build ?
-
Hi
I try run release version,then got the same(crash)."Qt Creator Debug info Screenshot4
":http://f.sync.hamicloud.net/_oops/@DOCVIEW?oops_id=mmkider&oops_link=elc&download_key=d41d8cd98f00b204e9800998ecf8427e&name=QGraphicsPolygon_Crash4.pngThank you for response.
-
Fixed this issue at the Qt 5.4.1
version:qt-opensource-windows-x86-msvc2010_opengl-5.4.1:)
-
Good but out of curiosity: were you also starting both the debug and release version from explorer ?
-
Yes,
Release and debug version of "diagram Scene Example" work fine.:>
-
Starting an application from explorer requires the same deployment phase as you would need to distribute your application.
Qt Creator modifies the run environment so that you are sure to be using the correct Qt version when running an application you just built.
-
[quote author="SGaist" date="1424942222"]Starting an application from explorer requires the same deployment phase as you would need to distribute your application.
Qt Creator modifies the run environment so that you are sure to be using the correct Qt version when running an application you just built.
[/quote]Thank your recommend,I will use this suggest on future.
I just learning Qt now, so I remove old version(Qt 5.4), and install Qt 5.4.1。:)
9/16