Search code examples
qtqtremoteobjects

Compile a qt project with an additional library from another qt version


I use Qt 6.8 and i would like to use the additional library called 'remote objects'. So, in my .pro file, i have :

QT       += core gui remoteobjects

But when I compile, it shows the error "Project Error : Unknown module(s) in QT : remoteobjects".

So, to fix it, i opened Qt Maintenance tool to add the installation of this additional library. Unfortunately, it doesn't appear for Qt 6.8 in the Qt Maintenance tool, but for Qt 6.7.3 or 6.8.1. I tried to install the one from 6.7.3, hoping that it will link automatically with my Qt 6.8 but it doesn't (i have the same error). I did the same after with the package from 6.8.1 and i found the same result.

Does anybody knows how to fix my problem ? Should i uninstall my whole Qt 6.8 and install 6.8.1 instead ?


Solution

  • The installation of Qt 6.8.1 instead of Qt 6.8 solves the problem. It seems that Qt doesn't support the mix of a version of Qt with an additional library from an other version (at least with this module).