Hi,
meanwhile I erased QT5 and QT6 using Qt Maintenance and I also deleted all the related directories. "qmake6 -set" and "qmake6 -unset"
didn't work. qmake -query QT_INSTALL_PREFIX always returned /usr.
Then I reinstalled QT6 and QT5 from https://www.qt.io/download. You have the possibility to choose Qt 6.5.0, Qt 6.4.3, Qt 5.15.2
and a few others during installation. More than one version can be selected. The version (kit) can be selected later during your development.
As I had problems with Qt 6 I successfully tried Qt 5.15.2 (desktop).
After the installation I found the complete installation directories under my local directory, including qmake. In order to be able to
call qmake directly without typing the whole path I created a symbolic link under /usr/bin that points to
/home/myname_xy/Qt/6.5.0/gcc_64/bin/qmake. "qmake -query QT_INSTALL_PREFIX" now returns /home/myname_xy/Qt/6.5.0/gcc_64.
So I was misleaded earlier when I was trying to use the installation under the root directory. The complete installation is to be found
under my local directory.
"qmake -project" and "qmake" are now working in the shell as expected.
Only "make" tells me that QApplication, QLabel and the others cannot be found.
I have no solution for that. Do you have any idea how to fix that? Has this to do
with the selected version/kit? In Creator everthing works fine when I select Qt 5.15.2 desktop.
So far it is ok.
Regards [/QUOTE]





Reply With Quote

Bookmarks