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. QList Exception/Crash After Only Change of Compiler
Forum Updated to NodeBB v4.3 + New Features

QList Exception/Crash After Only Change of Compiler

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.4k 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
    yaseminyilmaz
    wrote on last edited by
    #1

    Hi all,

    I've firstly compiled our project with MinGW (Qt version 4.8.0). There has been no problem. Then I've configured Qt Creator to be used MSVC compiler (Qt version 4.8.2). Now the project runs successfully but the following exception has been thrown in qlist.h when I clicked a button that creates a list.

    "The inferior stopped because it triggered an exception."

    But this exception has not been thrown with the project compiled by MinGW. Is it a known problem of Qt Creator? How can this exception create when I only change the compiler?

    Thanks a lot for your helps and explanations,
    Yasemin

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      No, it is not a known issue with Creator. The fact of the matter is, that there are differences between the compiler. Most often, it happens that code is wrong but still works on one compiler (perhaps with some set of flags only), but will not work on another compiler or with another set of flags.

      However, assume that the root issue in your own code. Qt itself has been quite well tested with both compilers.

      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