Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. [SOLVED]Qt Jambi
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Qt Jambi

Scheduled Pinned Locked Moved Language Bindings
11 Posts 5 Posters 4.6k 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.
  • T Offline
    T Offline
    Tejas Virpariya
    wrote on last edited by Tejas Virpariya
    #1

    [SOLVED]Can we write java code on Qt? If yes then How? what is Qt Jambi? is it for Qt?

    -Thanks
    Tejas Patel

    1 Reply Last reply
    0
    • jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi!
      If you search for Qt Jambi then you will find this: http://qtjambi.org/
      As explained there it allows you to use Qt in Java applications.
      If you want to know how you should first look at that page for documentation and tutorials.

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

      1 Reply Last reply
      1
      • T Offline
        T Offline
        Tejas Virpariya
        wrote on last edited by
        #3

        Thanks jsulm, I want to use java programming on Qt, but didn't get documentation for this. I refereed http://qtjambi.org/. I could not get which I want. I want step by step documentation for how can I write java code on Qt? If you have any idea please share with me.

        Qt jambi documentation says that It provide qt library for java development, means we can use qt feature with Eclipse or net-beans, but it doesn't say that I can write java code on Qt. That''s way I want to conform that I am write or wrong? I think we cannot write java code on Qt? am I right?

        -Thanks
        Tejas Patel

        1 Reply Last reply
        0
        • jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          http://qtjambi.org/:
          "Qt Jambi is the Qt library made available to Java. It is an open source technology aimed at all desktop programmers wanting to write rich GUI clients using the Java language, while at the same time taking advantage of Qt’s power and efficiency." - so, you can write Java code which uses Qt.

          Check this example: http://qtjambi.org/examples/analog_clock
          There they do exactly this: they write Java code which uses Qt for UI.

          What do you mean with "we can use qt feature with Eclipse or net-beans"? You can use Qt with Java using Qt Jambi using any Java IDE or even a simple text editor. QtJambi is Java language binding for Qt, like PyQt is a language binding for Python programming language to use Qt in Python.

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

          1 Reply Last reply
          1
          • T Offline
            T Offline
            Tejas Virpariya
            wrote on last edited by
            #5

            Thanks jsulm, but still confusing, I downloaded Qt 5.4.2 and Qt creator 3.4.1, then download Qt Jambi 4.8.7, which have different Executable jar files and three folder bin, lib and plugins. Now tell me what I have to do to make new project which support JAVA on Qt? On Qt which project I have to make?

            we can use qt feature with Eclipse or net-beans, means we can add qt jambi as library in java ide and we can access feature of qt ui in java ide.

            Simple what I want, when we make new project in Qt then we get by default .cpp file inplace I want java class, so I can start edit in project easily. Currently what happen, when I start new project in Qt then I get only .cpp file and I cannot code on java. so I want simple .java to add java code.

            Can you help me to go step by step to get java support on Qt? and how to make a project in QT based on java?

            Thanks again..

            -Thanks
            Tejas Patel

            1 Reply Last reply
            0
            • jacmoeJ Offline
              jacmoeJ Offline
              jacmoe
              wrote on last edited by
              #6

              You need to be using Eclipse !!

              Get the Eclipse QTJambi integration plugin here : http://qtjambi.org/doc/eclipseintegration

              The Qt project has nothing to do with QtJambi I think. ;)

              Less noise - more signal

              1 Reply Last reply
              1
              • T Offline
                T Offline
                Tejas Virpariya
                wrote on last edited by
                #7

                Thanks jacmoe, I have same doubt, "The Qt project has nothing to do with QtJambi I think. ;)", I need surely answer related to this, because I have to give pure report to our head department, so I cannot take any risk.

                Thanks again jacmoe, please can you conform this information? its real helpful for me.
                I passed more than two days only to search, how can I use Qt Jambi with Qt?

                -Thanks
                Tejas Patel

                JKSHJ 1 Reply Last reply
                0
                • jacmoeJ Offline
                  jacmoeJ Offline
                  jacmoe
                  wrote on last edited by jacmoe
                  #8

                  You can check the project at Github : https://github.com/qtjambi/qtjambi

                  It doesn't look too bad, to be honest.
                  It depends on whether or not you need to be using Qt 5.x.
                  Edit: Qt 4.8 is rock solid. No problems there. And the project is not dead, not at all.

                  If Java is important to you and you would like to use Qt with it, then QtJambi is what you ought to be using.
                  It actually looks like Qtjambi is one of the most developed language bindings for Qt, but I could be wrong.
                  I would have no issues using QtJambi myself, provided that I needed it :)

                  Less noise - more signal

                  1 Reply Last reply
                  1
                  • T Offline
                    T Offline
                    Tejas Virpariya
                    wrote on last edited by
                    #9

                    Thanks jacmoe, are you using Qt Jambi with eclipse? or with Qt? If you use Qt jambi with qt or you have knowledge about it, please share with me.

                    -Thanks
                    Tejas Patel

                    1 Reply Last reply
                    0
                    • T Tejas Virpariya

                      Thanks jacmoe, I have same doubt, "The Qt project has nothing to do with QtJambi I think. ;)", I need surely answer related to this, because I have to give pure report to our head department, so I cannot take any risk.

                      Thanks again jacmoe, please can you conform this information? its real helpful for me.
                      I passed more than two days only to search, how can I use Qt Jambi with Qt?

                      JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by
                      #10

                      @Tejas-Virpariya said:

                      Thanks jacmoe, I have same doubt, "The Qt project has nothing to do with QtJambi I think. ;)", I need surely answer related to this, because I have to give pure report to our head department, so I cannot take any risk.

                      The Qt Project provides C++ libraries.

                      Qt Jambi is a separate project. It provides Qt bindings for Java, so that you can use Qt in Java code.

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #11

                        Keep in mind that Qt 4 has reached its end of life last december.

                        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