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. Again SIGSEGV: segmetation fault error
Forum Updated to NodeBB v4.3 + New Features

Again SIGSEGV: segmetation fault error

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.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.
  • A Offline
    A Offline
    adriano_p
    wrote on last edited by
    #1

    Hi there,
    I'm new to Qt Creator but not new to C++ IDEs.
    I just installed under Win-XP-SP3 the Qt Creator 2.6.1 (Based on Qt 4.8.3 -32 bit) with Qt484 libraries and MinGW 0.5 beta (20120426) compiler.
    When I compile and run in debug mode any (untouched) example, as 'analogclock", after a successfull compilation, I always get this error when running: "SIGSEGV segmetation fault"; the source code is pointed the in-line function QBasicAtomicInt::deref in the qatimc_i386.h module.
    If I compile and run in release mode I get a system unspecified error.
    I red the forum about disabling th antivirus but the error still persists.
    Can anyone help me? Thanks, Adriano

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

      Are you using precompiled libraries with the beta MinGW? Your problem is most certainly the ABI incompatibility. You HAVE to rebuild Qt from source to use it with your compiler.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        adriano_p
        wrote on last edited by
        #3

        As I'm new to Qt world, I don't feel ready to "rebuild Qt from source", whatever you mean with "Qt".
        I would just explore the Qt and not to rebuilt Qt to be able to explore Qt... :-)
        Are somewhere already built libraries for mingw, or can I use any other C++ compiler compatible with Qt Creator and Qt 4.8.4 libraries?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mystery Keeper
          wrote on last edited by
          #4

          You can use MinGW 4.4 with corresponding Qt 4.8 libraries. It was included in Qt SDK before. Right now I guess you'll have to find it on your own. Building Qt (which means libraries, binaries, examples and documentation) is painful, but fruitful experience. If you want to use C++11 features - that's the only way for now.

          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