Problems with Qt6.4
-
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.42- 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?
- If I download java and extract it on my home folder then point Qt to it, it works fine!
-
@Raindrop7 said in Problems with Qt6.4:
echo $QTDIR
it points to old Qt4 not the one in home/qt/6.4That 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? - If I download java and extract it on my home folder then point Qt to it, it works fine!
-
@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?