View Full Version : Using compilers other than c or c++
skypuppy
27th December 2015, 17:07
Specifically, the "GO" language. How do I use it in QtCreator? What flags, libraries, and etc? I'm importing a project to play with where their sources are all in the "go" language (like we needed yet another one!.) I need to be able to single step through their code to fix the bugs and create more functions.
Eventually I hope to change it over to C/C++ and use QtCreator to get exact duplication of functionality to their original, if it is worth the (unknown) amount of effort.
Thanks,
Skypupppy
<first post>
d_stranz
27th December 2015, 23:55
Qt is a set of C++ libraries. How do you expect to use that in a completely different language environment? Is there a GO to C++ interface available?
As far as I know, Qt Creator is specifically designed for compiling C / C++ code and linking it to Qt libraries. I do not think there are any provisions for using a toolchain from a different language.
You should probably investigate Eclipse or a GO-specific IDE instead.
skypuppy
28th December 2015, 01:32
Then how is the "other compilers" menu options used?
Thanks.
anda_skoa
28th December 2015, 09:11
Qt is a set of C++ libraries. How do you expect to use that in a completely different language environment? Is there a GO to C++ interface available?
Actually I think there are even Qt bindings for Go.
You should probably investigate Eclipse or a GO-specific IDE instead.
Agreed.
Cheers,
_
d_stranz
28th December 2015, 15:31
Then how is the "other compilers" menu options used?
I believe this really means "other C / C++ compilers" - so you can add cross-compile toolchains, for example, that aren't automatically picked up by Qt Creator during installation.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.