Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    General and Desktop
    3
    5
    2610
    Loading More Posts
    • 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
      Mike347 last edited by

      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 Reply Quote 0
      • dheerendra
        dheerendra Qt Champions 2022 last edited by

        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 Reply Quote 0
        • M
          Mike347 last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              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 Reply Quote 0
              • First post
                Last post