Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Cross platform debugger
Forum Updated to NodeBB v4.3 + New Features

Cross platform debugger

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 4 Posters 2.2k 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.
  • B Offline
    B Offline
    borisa
    wrote on last edited by
    #1

    Hi,

    I am pretty new in the Qt so,
    I wrote some simple program and I want to debug it.
    I wrote it in windows 7 and I want to debug it in mac and in linux.
    Is it passable? and how can I do it?

    Thx

    raven-worxR 1 Reply Last reply
    0
    • B borisa

      Hi,

      I am pretty new in the Qt so,
      I wrote some simple program and I want to debug it.
      I wrote it in windows 7 and I want to debug it in mac and in linux.
      Is it passable? and how can I do it?

      Thx

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @borisa
      you can use QtCreator IDE on all platforms for debugging

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • B Offline
        B Offline
        borisa
        wrote on last edited by
        #3

        Hi,

        I know the Qt IDE can run on win and Linux,
        but i want to debug.
        is it passable?

        thx

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

          Hi and welcome to devnet,

          Yes it is, have gdb installed on Linux and Xcode on OS X and you'll be able to debug on these platforms.

          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
          • B Offline
            B Offline
            borisa
            wrote on last edited by
            #5

            Hi,

            Can you describe what should install (on windows and on mac or linux) and is there some specific way to compile?
            And what configuration should i change in the QT creator to allow remote debug?

            Thx

            1 Reply Last reply
            0
            • jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Why do you want to do remote debugging? You can install Qt and QtCreator on OS X and Linux (SGaist already said what you have to install there: gdb on Linux and XCode on OS X) and then build and debug your application on Linux/OS X.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • B Offline
                B Offline
                borisa
                wrote on last edited by
                #7

                Because I have more then 5 Operation system, and i dont want to install the QT on them.
                I think the remote debug is the best option for me.

                What configuration I need to setup on the QT?

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

                  Except that you can't cross-compile from Windows or Linux to OS X. You can debug from these platforms to Android but it's required to have a working OS X to build/debug both OS X and iOS.

                  Note that's nothing Qt specific.

                  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
                  • B borisa

                    Because I have more then 5 Operation system, and i dont want to install the QT on them.
                    I think the remote debug is the best option for me.

                    What configuration I need to setup on the QT?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @borisa You need Qt for each platform you want to test (how should your app run without Qt?). So either you install Qt directly there or you cross compile it for each platform and copy the binaries to these platforms.

                    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