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. Error build simple projeto com QT 5.0.1 MINGW
Forum Updated to NodeBB v4.3 + New Features

Error build simple projeto com QT 5.0.1 MINGW

Scheduled Pinned Locked Moved General and Desktop
7 Posts 6 Posters 2.8k Views 1 Watching
  • 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.
  • F Offline
    F Offline
    flaviomarcio
    wrote on last edited by
    #1

    1-QTSDK 5.0.1 installed.
    2-installed MinGW using mingw-get-inst-20120426.exe.
    Includes 3-in PATH c: \ C: \ MinGW \ bin, C: \ qt \ Qt5.0.1 \ 5.0.1 \ mingw47_32 \ bin
    3-Create new project GUI.
    4-I build and run and not run the program.
    5-untitled.exe called manually, I received the error:

    Error:

    Could not locate the entry point of the procedure in _gxx_personality_v0 blibioteca dynamic link "libstdc + +-6.dll"

    Flavio Portela

    1 Reply Last reply
    0
    • B Offline
      B Offline
      b1gsnak3
      wrote on last edited by
      #2

      You have to add the libraries in the output folder in order to open the exe manually. If you want allways to open exe files manually you should statically link your libraries, but this requires qt to be built statically.

      1 Reply Last reply
      0
      • JeroentjehomeJ Offline
        JeroentjehomeJ Offline
        Jeroentjehome
        wrote on last edited by
        #3

        Hi,
        It might be better to use the installed MinGW compiler that is installed with the QtSDK. The development of MinGW causes minor changes in the produced output files which might cause problems when using the QtSKD MinGW compiled Qt5.0.1 with a newer MinGW compiler. You do not need to install the MinGW manually!
        Greetz

        Greetz, Jeroen

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DFileccia
          wrote on last edited by
          #4

          This is the same as what I am seeing. I cannot build ANY example in the Qt5.0.1 MinGW distribution. Using QtCreator and the supplied MinGW toolchain, all examples fail to run after being built. I cannot even put a break point in the first line of the main because it fails before it gets there.

          I am running win7 64bit
          Using Qt5.0.1-mingw
          Using QtCreator 2.6.2 that is in the tools path
          Using the mingw toolchain in the tools path
          Running from QtCreator.

          The error is too cryptic to know what it means:

          Starting D:\Qt\5.0.1\5.0.1\mingw47_32\examples\opengl\cube-build-Desktop_MinGW_4_7_32bit-Debug\debug\cube.exe...
          The program has unexpectedly finished.
          D:\Qt\5.0.1\5.0.1\mingw47_32\examples\opengl\cube-build-Desktop_MinGW_4_7_32bit-Debug\debug\cube.exe exited with code -1073741511
          Cannot retrieve debugging output.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bruceoutdoors
            wrote on last edited by
            #5

            DFileccia: same problem here. Very clueless now

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Cayan
              wrote on last edited by
              #6

              You need to set the path environment variable to your mingw installation folder.
              Solution at this topic: http://qt-project.org/forums/viewthread/25326/

              1 Reply Last reply
              0
              • B Offline
                B Offline
                bruceoutdoors
                wrote on last edited by
                #7

                Added

                @;C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin@

                to environment variables. It works! Thanks!! :D

                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