Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved with MinGW 4.4] Qt 4.8.3, Windows 7, QtCreator 2.6: exited with code -1073741819
Forum Updated to NodeBB v4.3 + New Features

[Solved with MinGW 4.4] Qt 4.8.3, Windows 7, QtCreator 2.6: exited with code -1073741819

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 4 Posters 7.3k 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.
  • Y Offline
    Y Offline
    yupifourbi
    wrote on last edited by
    #1

    I try to compile C:\Qt\4.8.3\examples\tutorials\gettingStarted using QtCreator 2.6
    The compile process is okay, but when part1.exe run. It exited with code -1073741819.

    I tried using http://www.dependencywalker.com/ to check part1.exe. I tried to copy from c:\windows\system32\gpsvc.dll, c:\windows\system32\sysntfy.dll, and IEShims.dll from Internet Explorer into release directory, it turned out that three DLL files is for Windows7 64bit machine.

    My question is how to compile (what flags) to be used to force QtCreator build for x86 instead x64 machine?

    Thanks in advance.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Seems that this is an access violation error. Similar topic regarding -1073741819 exists at "Qt Center":http://www.qtcentre.org/threads/34339-program-crashing-randomly-code-1073741819

      http://anavi.org/

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yupifourbi
        wrote on last edited by
        #3

        I found http://lists.qt-project.org/pipermail/development/2012-September/006627.html
        I tried to edit C:\Qt\4.8.3\mkspecs\features\device_config.pri (as suggested at https://codereview.qt-project.org/#patch,sidebyside,34507,1,mkspecs/features/device_config.prf) but still no luck. :(

        Can anyone successfully compile any demos/ examples project of Qt 4.8.3 on QtCreator 2.6?

        Thanks.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #4

          Sorry but I haven't these demos and I am still with Qt Creator 2.4.1 which was shipped with "Nokia Qt SDK":http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html.

          http://anavi.org/

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TheCorsair
            wrote on last edited by
            #5

            I am having the same problem with my own project and this is what the debugger is saying: @Starting program: C:\Users\Michael Jr\Documents\rccolumnbending-build-Desktop-De
            bug\debug\rccolumnbending.exe
            [New Thread 6040.0x14a4]

            Program received signal SIGSEGV, Segmentation fault.
            0x00405724 in QBasicAtomicInt::deref (this=0x909090c3)
            at ../../../../Qt/4.8.3/include/QtCore/../../src/corelib/arch/qatomic_i386.h
            :132
            132 : "memory");
            (gdb) bt
            #0 0x00405724 in QBasicAtomicInt::deref (this=0x909090c3)
            at ../../../../Qt/4.8.3/include/QtCore/../../src/corelib/arch/qatomic_i386.h
            :132
            #1 0x00405b99 in QString::~QString (this=0x75eab17a <realloc+109>,
            __in_chrg=<optimized out>)
            at ../../../../Qt/4.8.3/include/QtCore/../../src/corelib/tools/qstring.h:880

            #2 0x004031ab in WinMain@16 (instance=0x400000, prevInstance=0x0, cmdShow=10)
            at qtmain_win.cpp:93
            #3 0x0040624b in main ()@

            1 Reply Last reply
            0
            • Y Offline
              Y Offline
              yupifourbi
              wrote on last edited by
              #6

              Since I change my MinGW 4.4 my problem is solved.
              Qt 4.8.3 is friendly with MinGW 4.4 (2009).

              Download MinGW 4.4 at
              ftp://ftp.qt.nokia.com/misc/MinGW-gcc440_1.zip

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                Yes... programs compiled with GCC 4.7 are incompatible with programs/libraries compiled with GCC 4.4, unfortunately. And Qt 4.8.3 was compiled with GCC 4.4

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                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