Qt Creator 15 on Fedora Linux 41 can't find package LinguistTools
-
Hello, on the process of deploying my application on Linux (a Qt C++ Widget application), I installed a fresh Fedora Linux 41 on a pc, a Linux that ships with Qt 6. I installed the Qt Creator that it has on its "software store" which is 15.0 and comes with Qt 6.8.2. But when I tried to compile my project, it didn't find LinguistTools.
Here's the error message :
/home/gilboonet/Documents/dev/C++/test1/CMakeLists.txt:13: erreur : Found package configuration file: /usr/lib64/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "LinguistTools". Expected Config file at "/usr/lib64/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT exist
I added the package Qt6-linguist using command line, but I don't know how to resolve the last part, I mean create the ...cmake/Qt6LinguistToolsConfig.cmake file.
To be sure that it was not an error due to my project CMakeLists.txt, I created a new C++ Widget project and it has the same error. Then I created another one without language file, and this one compiled well. What I can do for the moment is removing language files from my project, but any hint is welcome.
-
Hi,
Did you also install the qt6-qttools-devel package ?
-
@SGaist said in Qt Creator 15 on Fedora Linux 41 can't find package LinguistTools:
Hi,
Did you also install the qt6-qttools-devel package ?
I tried but it failed :
gilboonet@fedora:~/Documents/dev/C++/Deplieur$ sudo dnf install qt6-tools-devel Mise à jour et chargement des dépôts : Dépôts chargés. Échec de la résolution de la transaction: Aucune correspondance pour l'argument : qt6-tools-devel Vous pouvez essayer d'ajouter à la ligne de commande : --skip-unavailable pour passer les paquets indisponibles
-
It's qt6-qttools-devel
-
@SGaist said in Qt Creator 15 on Fedora Linux 41 can't find package LinguistTools:
It's qt6-qttools-devel
This one is already installed :
gilboonet@fedora:~/Documents/dev/C++/Deplieur$ sudo dnf install qt6-qttools-devel Mise à jour et chargement des dépôts : Dépôts chargés. Le paquet "qt6-qttools-devel-6.8.2-1.fc41.x86_64" est déjà installé. Aucune tâche à effectuer.
-
That's surprising since it's the package that is supposed to provide that file.
-
G Gilboonet has marked this topic as solved on