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. Built in Windows - Trying to compile on a Mac - Trace/BPT trap:5 error
QtWS25 Last Chance

Built in Windows - Trying to compile on a Mac - Trace/BPT trap:5 error

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.9k 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
    Mike347
    wrote on last edited by
    #1

    Hi,

    I've got a Qt project which I built on a Windows 8 machine that I'm now trying to compile on a Mac. I'm getting this error:

    :-1: error: [ui_mainwindow.h] Trace/BPT trap: 5

    Anyone able to advise on what I need to do to fix this error?

    Thanks,

    Mike

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      When you got the project to MAC, remove *.pro.user file. Remove all the debug folders After this open *.pro file. Run the qmake. Now rebuild your project. It should work.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

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

        Perfect thanks. Had to change some drivers and do a few code edits to get it to compile on OS X. My major problem now is that the application stops responding after its been compiled and I don't get as far as the GUI. This might be slightly more difficult to fix. Hrm.

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

          Hi,

          Got any message on the console ?

          By the way, what version of OS X, Xcode and Qt are you using ?

          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
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Do you get any message on the console ?

            By the way, what version of OS X, Xcode and Qt are you using ?

            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

            • Login

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