Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Problems with Qt6.4
Forum Updated to NodeBB v4.3 + New Features

Problems with Qt6.4

Scheduled Pinned Locked Moved Unsolved Qt 6
6 Posts 4 Posters 1.3k Views 1 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.
  • R Offline
    R Offline
    Raindrop7
    wrote on last edited by
    #1

    Hello, I have installed Qt6.4 on my Fedora 37.
    Everything works just fine but I have two issues:

    echo $QTDIR
    it points to old Qt4 not the one in home/qt/6.4

    2- When I set up Qt for android, I have set the java folder as:
    /lib/jvm/OpenJdk19
    but the box below says:
    java path exists and writable (in red cross error).

    • If I download java and extract it on my home folder then point Qt to it, it works fine!
      So why Qt complains about java in /lib/jvm/Openjdk?
    JKSHJ 1 Reply Last reply
    1
    • R Raindrop7

      Hello, I have installed Qt6.4 on my Fedora 37.
      Everything works just fine but I have two issues:

      echo $QTDIR
      it points to old Qt4 not the one in home/qt/6.4

      2- When I set up Qt for android, I have set the java folder as:
      /lib/jvm/OpenJdk19
      but the box below says:
      java path exists and writable (in red cross error).

      • If I download java and extract it on my home folder then point Qt to it, it works fine!
        So why Qt complains about java in /lib/jvm/Openjdk?
      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @Raindrop7 said in Problems with Qt6.4:

      echo $QTDIR
      it points to old Qt4 not the one in home/qt/6.4

      That environment variable should only be set locally (e.g. in your build script). It should not be set globally.

      • If I download java and extract it on my home folder then point Qt to it, it works fine!
        So why Qt complains about java in /lib/jvm/Openjdk?

      The validation code is available at https://github.com/qt-creator/qt-creator/blob/v9.0.1/src/plugins/android/androidsettingswidget.cpp#L531-L537

      Does /lib/jvm/Openjdk exist, and does /lib/jvm/Openjdk/bin/javac exist?

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

      R 1 Reply Last reply
      1
      • JKSHJ JKSH

        @Raindrop7 said in Problems with Qt6.4:

        echo $QTDIR
        it points to old Qt4 not the one in home/qt/6.4

        That environment variable should only be set locally (e.g. in your build script). It should not be set globally.

        • If I download java and extract it on my home folder then point Qt to it, it works fine!
          So why Qt complains about java in /lib/jvm/Openjdk?

        The validation code is available at https://github.com/qt-creator/qt-creator/blob/v9.0.1/src/plugins/android/androidsettingswidget.cpp#L531-L537

        Does /lib/jvm/Openjdk exist, and does /lib/jvm/Openjdk/bin/javac exist?

        R Offline
        R Offline
        Raindrop7
        wrote on last edited by
        #3

        @JKSH it does exist however now it works fine although i see red cross on "java path exists and writable".

        JKSHJ 1 Reply Last reply
        0
        • R Raindrop7

          @JKSH it does exist however now it works fine although i see red cross on "java path exists and writable".

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

          @Raindrop7 said in Problems with Qt6.4:

          @JKSH it does exist however now it works fine although i see red cross on "java path exists and writable".

          Interesting. Does the red cross persist if you reboot your computer?

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

          M 1 Reply Last reply
          0
          • JKSHJ JKSH

            @Raindrop7 said in Problems with Qt6.4:

            @JKSH it does exist however now it works fine although i see red cross on "java path exists and writable".

            Interesting. Does the red cross persist if you reboot your computer?

            M Offline
            M Offline
            mercotui
            wrote on last edited by
            #5

            I just want to note, on my fedora 39 machine I had to install java-17-openjdk-devel,
            then reopen the qt options window and the error went away

            P 1 Reply Last reply
            1
            • M mercotui

              I just want to note, on my fedora 39 machine I had to install java-17-openjdk-devel,
              then reopen the qt options window and the error went away

              P Offline
              P Offline
              Pandanananana
              wrote on last edited by
              #6

              @mercotui Thankyou! This worked for me aswell

              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