Important: Please read the Qt Code of Conduct -

Eclipse setup to integrate with Qt

  • I am trying to use Eclipse as my IDE to integrate with Qt5.9.2 both on macOS 10.13 and Ubuntu 16.04 LTS. I have had no luck thus far to achieve the successful creation, building and execution of a QT Application.
    Please I am seeking assistance with the specific steps to get the integration working correctly.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    IIRC, there was at some point in time a Qt Eclipse integration plugin. You should try to contact its author to see if there's still something for that.

  • AFAIK yes there was plugin for eclipse but it's not maintained anymore (for couple of years), and probably will not be. I think you should probably consider to use qtcreator. Actually it is the best option to work with Qt.

  • @SGaist Thank you for the suggestion, I tried that plugin and it is not working out too good.
    The challenge I experienced is the resolution of the #include libraries, and the build system used.

  • @tomasz3dk I have tried the Qt Creator bundled with Qt5.9.2 and it worked without issues. I was just hoping to use Eclipse since I use it for other development purposes..

  • @tloc as mentioned before, and even with you having tried it, I guess Qt Creator is your best option. And leave Eclipse open as well for your on going development :-)

    Given that said, I'd try fully installing Qt (i.e. 5.9.2) to have all the tools/libraries (not just Qt Creator, think about qmake, linguist, Qt Designer, etc) and then trying configuring Eclipse CDT, the newest guide I found is this one, although using MinGW...
    Again not sure if it's worth the effort as Qt Creator is a mature IDE

  • @Pablo-J.-Rogina
    Thanks for the suggestion and the link to the guide.
    I see that the benefits of using Qt Creator so far out weights the benefits of the eclipse integration, which at this time is not fully available. I have done a few days worth of searching online before creating this post.
    I will play around with trying to get Eclipse CDT to play nicely with Qt when I have a lull in activities.

Log in to reply