How do I develop a QT project with Eclipse CDT?

QT Eclipse Integration Plugin - Invalid.

Is there any method we can just build in a QT project inside Eclipse CDT?

Like me I got QT library and header and moc files, then if I just create GUI with code I can directly debug and compile QT project in CDT Eclipse.

Is there any solution? I see that NetBeans can do this, but it seems to be just QT4 support, but not QT5

thank.

+3


source to share


1 answer


You can simply add the Qt header and directory directories as global paths. Eclipse for C ++ includes directories for the library .

For Qt 5 is a folder include

and lib

the root Qt installation directory.



[Updated] Since you need to run qmake every time to generate the correct makefiles from the .pro file, I suggest looking at the custom build commands .

It is also not recommended here to try to do it directly.

+2


source







All Articles