Results 1 to 5 of 5

Thread: Using compilers other than c or c++

  1. #1
    Join Date
    Dec 2015
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Using compilers other than c or c++

    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>

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,139
    Thanks
    235
    Thanked 660 Times in 650 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Using compilers other than c or c++

    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.

  3. #3
    Join Date
    Dec 2015
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Using compilers other than c or c++

    Then how is the "other compilers" menu options used?

    Thanks.

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,420
    Thanks
    37
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Using compilers other than c or c++

    Quote Originally Posted by d_stranz View Post
    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.

    Quote Originally Posted by d_stranz View Post
    You should probably investigate Eclipse or a GO-specific IDE instead.
    Agreed.

    Cheers,
    _

  5. #5
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,139
    Thanks
    235
    Thanked 660 Times in 650 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Using compilers other than c or c++

    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.

Similar Threads

  1. Replies: 6
    Last Post: 8th December 2014, 19:27
  2. Replies: 0
    Last Post: 28th August 2013, 12:59
  3. Replies: 3
    Last Post: 24th December 2012, 13:00

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.