Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Java project in Qt.
Forum Updated to NodeBB v4.3 + New Features

Java project in Qt.

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 4 Posters 2.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jhanvi
    wrote on last edited by
    #1

    Is it possible too execute an existing java project in Qt?

    J 1 Reply Last reply
    0
    • J Jhanvi

      Is it possible too execute an existing java project in Qt?

      J Offline
      J Offline
      Jhanvi
      wrote on last edited by
      #2

      @Jhanvi and if it is possible can anyone help me out with how to go abouy it?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        What do you mean by execute an existing java project ?

        You can use QProcess to start an external application from within your application.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        J 1 Reply Last reply
        3
        • SGaistS SGaist

          Hi,

          What do you mean by execute an existing java project ?

          You can use QProcess to start an external application from within your application.

          J Offline
          J Offline
          Jhanvi
          wrote on last edited by
          #4

          @SGaist executing a java project in Qt by that i mean does a project in "java" language can be executed ??

          J.HilkJ jsulmJ 2 Replies Last reply
          0
          • J Jhanvi

            @SGaist executing a java project in Qt by that i mean does a project in "java" language can be executed ??

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @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.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            1
            • J Jhanvi

              @SGaist executing a java project in Qt by that i mean does a project in "java" language can be executed ??

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by VRonin
              #6

              @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?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              J 1 Reply Last reply
              4
              • jsulmJ jsulm

                @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?

                J Offline
                J Offline
                Jhanvi
                wrote on last edited by
                #7

                @jsulm the second one , sorry for being so unclear , thanks a lot.

                jsulmJ 1 Reply Last reply
                0
                • J Jhanvi

                  @jsulm the second one , sorry for being so unclear , thanks a lot.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Jhanvi No, QtCreator is a C++ IDE. There are many Java IDEs.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  J 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Jhanvi No, QtCreator is a C++ IDE. There are many Java IDEs.

                    J Offline
                    J Offline
                    Jhanvi
                    wrote on last edited by
                    #9

                    @jsulm Ya that I know. Thanks a lot.

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved