Unsolved Cross platform debugger
-
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
-
@borisa
you can use QtCreator IDE on all platforms for debugging -
Hi,
I know the Qt IDE can run on win and Linux,
but i want to debug.
is it passable?thx
-
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.
-
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
-
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.
-
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?
-
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.
-
@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.