Results 1 to 3 of 3

Thread: Module has no public API.

  1. #1
    Join Date
    Jul 2009
    Location
    Jordan, and UAE
    Posts
    55
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Module has no public API.

    Good day

    I'm trying to compile QtJsonDb for windows from this link using Qt 5.1.1 and I'm getting this error message
    Qt Code:
    1. :-1: error: Module jsondbpartition has no public API.
    To copy to clipboard, switch view to plain text mode 

    and inside .pro file this is what you can find

    Qt Code:
    1. QT = core
    2. QT_FOR_PRIVATE = network qml jsondbpartition
    3. CONFIG += internal_module
    To copy to clipboard, switch view to plain text mode 

    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!

  2. #2
    Join Date
    Oct 2013
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Android

    Default Re: Module has no public API.

    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.

  3. #3
    Join Date
    Jul 2009
    Location
    Jordan, and UAE
    Posts
    55
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Module has no public API.

    Yes,

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

    Best regards

Similar Threads

  1. Replies: 0
    Last Post: 5th August 2012, 01:03
  2. Public routines
    By eltecprogetti in forum Qt Programming
    Replies: 10
    Last Post: 9th April 2012, 13:26
  3. Public variables
    By eltecprogetti in forum Qt Programming
    Replies: 8
    Last Post: 6th April 2012, 12:58
  4. Qt Public Repository Launched!
    By lpotter in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2009, 00:38
  5. Replies: 2
    Last Post: 14th October 2008, 09:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.