Solved Java project in Qt.
-
Is it possible too execute an existing java project in Qt?
-
@Jhanvi and if it is possible can anyone help me out with how to go abouy it?
-
Hi,
What do you mean by execute an existing java project ?
You can use QProcess to start an external application from within your application.
-
@SGaist executing a java project in Qt by that i mean does a project in "java" language can be executed ??
-
@Jhanvi
Do you mean Qt the framework or Qt the IDE ?If you mean Qt creater, than I don't think so, you can open and edit individual files wihtout a problem but as far as I know you can only integrate c /c++ compiler into QtCreator to be selected as a "kit".
But I might be wrong here, never tried it. -
@Jhanvi You should really be more clear.
What you're writing can be understood in several ways:- Execute a Java application from a Qt application in a separate process (using QProcess as @SGaist suggested)
- Use QtCreator to work on a Java project (not supported by QtCreator as it is a C++ IDE)
- Use Qt in an Java application
So, what do you really mean? Can you describe better?
-
@jsulm the second one , sorry for being so unclear , thanks a lot.
-
@Jhanvi No, QtCreator is a C++ IDE. There are many Java IDEs.
-
@jsulm Ya that I know. Thanks a lot.