PDA

View Full Version : Module has no public API.



yazwas
10th September 2013, 23:23
Good day

I'm trying to compile QtJsonDb for windows (https://github.com/jameyhicks/qtjsondb-windows) from this link using Qt 5.1.1 and I'm getting this error message

:-1: error: Module jsondbpartition has no public API.


and inside .pro file this is what you can find


QT = core
QT_FOR_PRIVATE = network qml jsondbpartition
CONFIG += internal_module


The same code used to compile OK with Qt 5.0 so I'm not sure what is the problem here
What does the error message means, and if any suggestions on how to fix it.


Thanks!

Comino
14th October 2013, 10:33
Hi,

I'm having the exact same issue compiling the whole Qt 5.2.0 alpha release with all other modules, it's the only module to have the issue.

Any idea ? Is it a bug ?

Thanks.

yazwas
14th October 2013, 13:16
Yes,

I removed the CONFIG += internal_module from .pro file and then it worked (for me at least)

Best regards