Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Qt Hello World project won't compile or index on Neon
icon4.gif  Qt Hello World project won't compile or index on Neon [message #1742291] Thu, 01 September 2016 12:56 Go to next message
Devel Chip is currently offline Devel ChipFriend
Messages: 2
Registered: September 2016
Junior Member
Ubuntu 16.04, Eclipse Neon, CDT 9.0 probably.

I've installed "Qt Development Tools - Preview" from the CDT repository (releases/9.0) throuh Help -> Install new software.

When creating an example project via New C++ project -> Makefile project -> Qt5 Hello World Project, there is an error: "org.eclipse.core.runtime.CoreException: Missing Builder: org.eclipse.cdt.managedbuilder.core.genmakebuilder"

Indexer doesn't work for the Qt classes, example doesn't build.

What am I missing? Is it possible to install this builder?

update: indexing works in an ordinary project.

[Updated on: Fri, 02 September 2016 09:33]

Report message to a moderator

Re: Qt Hello World project won't compile or index on Neon [message #1742515 is a reply to message #1742291] Fri, 02 September 2016 15:02 Go to previous messageGo to next message
Doug Schaefer is currently offline Doug SchaeferFriend
Messages: 135
Registered: July 2009
Senior Member
That reminds me. I need to remove that template.

To create Qt projects now, you need to use the New Qt Project wizard in Neon, and the New C/C++ Project wizard in Neon.1 (upcoming).

Qt support is still a bit raw. I would wait until Neon.2 before using it for real work.
Re: Qt Hello World project won't compile or index on Neon [message #1743795 is a reply to message #1742515] Mon, 19 September 2016 16:22 Go to previous messageGo to next message
Jack Earley is currently offline Jack EarleyFriend
Messages: 3
Registered: September 2016
Junior Member
I am starting a Qt project using Neon - is there an update on Qt support? What iis Neon.2?
Re: Qt Hello World project won't compile or index on Neon [message #1745528 is a reply to message #1743795] Wed, 12 October 2016 06:36 Go to previous messageGo to next message
Devel Chip is currently offline Devel ChipFriend
Messages: 2
Registered: September 2016
Junior Member
Neon.2 is a minor update after Eclipse Neon.

Qt support in the indexer is good and by default.
Re: Qt Hello World project won't compile or index on Neon [message #1745852 is a reply to message #1745528] Tue, 18 October 2016 11:53 Go to previous messageGo to next message
Andrey Eremchenko is currently offline Andrey EremchenkoFriend
Messages: 8
Registered: July 2009
Junior Member
Devel Chip wrote on Wed, 12 October 2016 02:36
Qt support in the indexer is good and by default.

Not so good actually. For example content assist doesn't show signals with new Qt5 syntax for connections.
Re: Qt Hello World project won't compile or index on Neon [message #1750885 is a reply to message #1742515] Sat, 31 December 2016 02:57 Go to previous messageGo to next message
Hung-Ta Pai is currently offline Hung-Ta PaiFriend
Messages: 1
Registered: December 2016
Junior Member
I have installed Neon 2 but still have the same problem. Where can I find "New Qt Project wizard" in Neon 2?
Re: Qt Hello World project won't compile or index on Neon [message #1753067 is a reply to message #1750885] Wed, 01 February 2017 14:38 Go to previous messageGo to next message
Vincent Cook is currently offline Vincent CookFriend
Messages: 2
Registered: January 2017
Junior Member
I have the Hello World using the new QT Project Wizard in Neon.2. I do not see "Paths and Symbols" in C/C++ General Properties.

Is there another way to set Paths. The indexer is not picking up the Qt includes. Project builds fine.
Re: Qt Hello World project won't compile or index on Neon [message #1753086 is a reply to message #1753067] Wed, 01 February 2017 18:48 Go to previous messageGo to next message
Doug Schaefer is currently offline Doug SchaeferFriend
Messages: 135
Registered: July 2009
Senior Member
The Qt plugins should be able to pick up the includes from the Qt project file. Can you raise a bug and attach a simple Qt project that exhibits the behavior you see. Thanks!
Re: Qt Hello World project won't compile or index on Neon [message #1753095 is a reply to message #1753086] Wed, 01 February 2017 20:02 Go to previous message
Vincent Cook is currently offline Vincent CookFriend
Messages: 2
Registered: January 2017
Junior Member
Thanks for getting back quickly. I believe I found the problem as Bug 242107 searching Bugzilla .

My issue can be seen in the Qt Hello World Project supplied with Eclipse CDT-QT without modification.

The following were unresolved inclusions in generated *.cpp with main()...
#include <QGuiApplication>
#include <QQmlApplicationEngine>

As a side note: the older Qt Template (to be removed) at the top of this thread allowed me to update Paths to work around this problem. Am I missing something obvious in the new template other than the workarounds in the bug report?
Previous Topic:Problem with random
Next Topic:Build targets and configurations.
Goto Forum:
  


Current Time: Thu Mar 28 20:36:38 GMT 2024

Powered by FUDForum. Page generated in 0.03104 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top