3

The QT's Eclipse——integration plugin has been invalid.

Is there any method that we can just build a project involved QT within the Eclipse CDT?

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

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

thanks .

cyberpunker
  • 49
  • 1
  • 1
  • 7

1 Answers1

2

You can just add Qt headers and libs directories as global Eclipse paths for C++ includes directories and for libraries.

For Qt 5 it's folders include and lib in the root Qt installation folder.

[Updated] Because to generate correct makefiles from .pro file you need to run qmake everytime, I suggest to look into the direction of custom build commands.

Also here it's not recommended to try to do this directly.

Community
  • 1
  • 1
Max Go
  • 2,092
  • 1
  • 16
  • 26