[Development] qmake: qmltest missing in Qt6

Arno Rehn a.rehn at menlosystems.com
Sun Aug 9 19:57:58 CEST 2020

Hey everybody,

I'm trying to port over qtwebchannel from qmake to CMake, so we can
hopefully include it in Qt 6.1 again. The problem is that I can't get
the unit tests going with the old qmake system against current qt6 dev. 
I'd like to have something working which I can then port.

The error message from qmake is just:
> Project ERROR: Unknown module(s) in QT: qmltest

It seems to have its root in cause in mkspecs/features/qmltestcase.prf,
where it reads
> mkspecs/features/qmltestcase.prf:    QT += qml qmltest

Is this a regression? I thought that qmake should still be supported 
with Qt6, even though Qt itself has switched to CMake.
Any ideas?


Arno Rehn
Tel +49 89 189 166 0
Fax +49 89 189 166 111
a.rehn at menlosystems.com

Menlo Systems GmbH
Am Klopferspitz 19a, 82152 Martinsried, Germany
Amtsgericht München HRB 138145
Geschäftsführung: Dr. Michael Mei, Dr. Ronald Holzwarth
USt.-IdNr. DE217772017, St.-Nr. 14316170324

More information about the Development mailing list