Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved]QGraphicsPolygonItem vc2010(32bit) QT5.4 crash
QtWS25 Last Chance

[solved]QGraphicsPolygonItem vc2010(32bit) QT5.4 crash

Scheduled Pinned Locked Moved General and Desktop
16 Posts 2 Posters 3.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mmkider
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mmkider
      wrote on last edited by
      #2

      I try this package
      Qt 5.4.0 for Android (Windows 32-bit, 935 MB) (info)

      and choice mingw compiler

      It is fine.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mmkider
        wrote on last edited by
        #3

        Does anyone know what happened?
        Thank you for responce

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          What does a run through the debugger tell you ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mmkider
            wrote on last edited by
            #5

            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 :)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Can you describe what you do exactly to trigger the crash ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mmkider
                wrote on last edited by
                #7

                Hi~

                I trigger conditional button and click mouse in the main widget.
                then I get the crash.

                Thank you :)

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Looks like something windows specific, can't reproduce this on OS X. Do you have the latest OpenGL drivers installed for your machine ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mmkider
                    wrote on last edited by
                    #9

                    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-us

                    But 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.png

                    Thank you for response.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Are you running a release build ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mmkider
                        wrote on last edited by
                        #11

                        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.png

                        Thank you for response.

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          mmkider
                          wrote on last edited by
                          #12

                          Fixed this issue at the Qt 5.4.1
                          version:qt-opensource-windows-x86-msvc2010_opengl-5.4.1

                          :)

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            Good but out of curiosity: were you also starting both the debug and release version from explorer ?

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mmkider
                              wrote on last edited by
                              #14

                              Yes,
                              Release and debug version of "diagram Scene Example" work fine.

                              :>

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                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.

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  mmkider
                                  wrote on last edited by
                                  #16

                                  [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。

                                  :)

                                  1 Reply Last reply
                                  0

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved