Unknown module(s) in QT: testlib

asked 2015-09-08 10:37:52 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-09-08 10:38:07 +0200

Mandrako gravatar image


I was trying to run my Sailfish project on Mac OS X 10.10.3 + Qt Creator 3.1.2 + SailfishOSSDK-Beta-1507-Qt5-mac-offline.dmg with testlib included:

QT += sql testlib

But got instead:

Project ERROR: Unknown module(s) in QT: testlib

edit retag flag offensive close delete



I didn't find the solution of this problem in QtCreator, but if you build the project manually with SailfishSDK there will be no problem with it.

Ósanwe ( 2015-09-08 11:19:41 +0200 )edit

@Ósanwe: Umm, so it seems like there is a bug in SDK? I'm almost sure that it has worked in previous versions.

Mandrako ( 2015-09-08 16:17:05 +0200 )edit

@Mandrako: I'm not sure with it but I've had the similar problem with libsocialcache and could build it only manually.

Ósanwe ( 2015-09-09 07:14:18 +0200 )edit

I have a similar problem with building the lipstick library. So two xears later, the Qt Creator still hasn't included the testlib. I think is is a configuration issue. Has someone a solution?

jsommer ( 2017-11-25 03:49:35 +0200 )edit