[Development] qmake: qmltest missing in Qt6

Arno Rehn a.rehn at menlosystems.com
Mon Aug 10 20:18:54 CEST 2020


On 10.08.20 11:29, Alexandru Croitor wrote:
>> On 9. Aug 2020, at 19:57, Arno Rehn <a.rehn at menlosystems.com> wrote:
>> 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
> 
> 
> In this scenario, are you building Qt 6 with qmake or CMake?
> 
> Running qmake tests with a CMake-built Qt is not officially supported at the moment.
> 
> I suggest trying to build both Qt and the tests with qmake for now (in case you aren't doing that).
> If you are, I can't really say why qmltest doesn't work for you.

Thanks a lot, that did it! :-)

Regards,
Arno

-- 
Arno Rehn
Tel +49 89 189 166 0
Fax +49 89 189 166 111
a.rehn at menlosystems.com
www.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