Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Quickwidgets & Webkitwidgets



  • Hi,
    I'm working on a project that needs both quickwidgets and webkitwidgets so I added these libs in the pro file and built it statically but it gives me these errors (there are no errors when I build it with shared libs) :

    WTFStubs.cpp:-1: error: multiple definition of `WTF::fastMalloc(unsigned long)'

    /run/media/shahriar/Mine/Qt-Static-5.5.1/Fedora/lib/libQt5Qml.a(WTFStubs.o):-1: In function `WTF::fastRealloc(void*, unsigned long)':

    WTFStubs.cpp:-1: error: multiple definition of `WTF::fastRealloc(void*, unsigned long)'

    And a few oher problems like this. What should I do? Am I doing anything wrong?



  • Any help would be appreciated. thanks in advance


Log in to reply